Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001968/0.001968, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9525/0.9525, allocations: 177.1 MB / 206.1 MB, free: 4.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1329/0.1329, allocations: 29.44 MB / 292 MB, free: 2.617 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.523e-05, allocations: 2.312 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.003704/0.003729, allocations: 4.014 MB / 374.9 MB, free: 28.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.004935, allocations: 0.9508 MB / 375.9 MB, free: 27.31 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.005103, allocations: 19.81 kB / 375.9 MB, free: 27.29 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.005289, allocations: 47.55 kB / 375.9 MB, free: 27.25 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003967/0.005686, allocations: 218.6 kB / 376.1 MB, free: 27.03 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.005835, allocations: 103.8 kB / 376.2 MB, free: 26.93 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003441/0.006179, allocations: 498.1 kB / 376.7 MB, free: 26.44 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.006368, allocations: 92.27 kB / 376.8 MB, free: 26.35 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003471/0.006715, allocations: 323.2 kB / 377.1 MB, free: 26.04 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.006929, allocations: 215.3 kB / 377.3 MB, free: 25.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.092e-05/0.00697, allocations: 28 kB / 377.4 MB, free: 25.8 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.884e-05/0.007039, allocations: 28 kB / 377.4 MB, free: 25.77 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.993e-05/0.007129, allocations: 127.6 kB / 377.5 MB, free: 25.64 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.215e-05/0.007211, allocations: 123.7 kB / 377.6 MB, free: 25.52 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.007476, allocations: 279 kB / 377.9 MB, free: 25.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.007479, allocations: 0 / 377.9 MB, free: 25.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.00748, allocations: 3.938 kB / 377.9 MB, free: 25.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.007485, allocations: 4 kB / 377.9 MB, free: 25.24 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0006816/0.008167, allocations: 0.6873 MB / 378.6 MB, free: 24.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.008204, allocations: 8.031 kB / 378.6 MB, free: 24.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.008347, allocations: 68.69 kB / 378.7 MB, free: 24.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.008632, allocations: 305.8 kB / 379 MB, free: 24.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.008649, allocations: 24.78 kB / 379 MB, free: 24.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.008683, allocations: 27.95 kB / 379 MB, free: 24.06 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.008888, allocations: 268.5 kB / 379.3 MB, free: 23.76 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.008898, allocations: 0 / 379.3 MB, free: 23.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.008915, allocations: 8 kB / 379.3 MB, free: 23.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.008921, allocations: 8 kB / 379.3 MB, free: 23.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.009021, allocations: 91.3 kB / 379.4 MB, free: 23.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008477/0.009869, allocations: 1.56 MB / 381 MB, free: 22.01 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.009993, allocations: 114 kB / 381.1 MB, free: 21.87 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.717e-05/0.01003, allocations: 35.42 kB / 381.1 MB, free: 21.83 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.01005, allocations: 4 kB / 381.1 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.01007, allocations: 41.39 kB / 381.2 MB, free: 21.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 1.383e-06/0.01007, allocations: 0 / 381.2 MB, free: 21.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005667/0.01064, allocations: 367.3 kB / 381.5 MB, free: 21.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.01067, allocations: 85.05 kB / 381.6 MB, free: 21.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.01081, allocations: 330.1 kB / 381.9 MB, free: 20.94 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.01082, allocations: 29.7 kB / 381.9 MB, free: 20.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.912e-05/0.0109, allocations: 270.7 kB / 382.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.01093, allocations: 63.5 kB / 382.3 MB, free: 20.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.01098, allocations: 55.3 kB / 382.3 MB, free: 20.51 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.66e-05/0.01103, allocations: 0.5157 MB / 382.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.328e-05/0.01107, allocations: 23.97 kB / 382.9 MB, free: 19.96 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.296e-05/0.01114, allocations: 159.7 kB / 383 MB, free: 19.74 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.01126, allocations: 219.1 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.01127, allocations: 0 / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001805/0.01145, allocations: 197.1 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.01146, allocations: 4.438 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.01147, allocations: 8 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.01148, allocations: 8 kB / 383.4 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.01162, allocations: 59.84 kB / 383.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.01163, allocations: 7.938 kB / 383.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.149e-05/0.01171, allocations: 8 kB / 383.5 MB, free: 19.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.01172, allocations: 11.98 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.051e-05/0.01181, allocations: 180.4 kB / 383.7 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.01185, allocations: 31.81 kB / 383.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002102/0.01206, allocations: 150.3 kB / 383.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.01207, allocations: 7.984 kB / 383.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.01207, allocations: 3.938 kB / 383.9 MB, free: 18.78 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.01208, allocations: 7.938 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.01247, allocations: 447.7 kB / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.01247, allocations: 0 / 384.3 MB, free: 18.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.01258, allocations: 39.92 kB / 384.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.01259, allocations: 0 / 384.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.0126, allocations: 4 kB / 384.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.01261, allocations: 7.938 kB / 384.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.01261, allocations: 0 / 384.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.01286, allocations: 339 kB / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.93e-05/0.01289, allocations: 23.81 kB / 384.7 MB, free: 17.87 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.01292, allocations: 15.92 kB / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.665e-05/0.01298, allocations: 0 / 384.8 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.01301, allocations: 15.98 kB / 384.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.01302, allocations: 0 / 384.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.371e-05/0.01309, allocations: 214.9 kB / 385 MB, free: 17.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01309, allocations: 4 kB / 385 MB, free: 17.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002123/0.0133, allocations: 56 kB / 385 MB, free: 17.57 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001005/0.0134, allocations: 103.2 kB / 385.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001568/0.01356, allocations: 114.6 kB / 385.3 MB, free: 17.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.01356, allocations: 3.938 kB / 385.3 MB, free: 17.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.73e-05/0.01362, allocations: 59.58 kB / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.01398, allocations: 74.7 kB / 385.4 MB, free: 17.21 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008751/0.01485, allocations: 0.5969 MB / 386 MB, free: 16.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.239e-05/0.01491, allocations: 112.3 kB / 386.1 MB, free: 16.44 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.918e-05/0.01501, allocations: 38.94 kB / 386.1 MB, free: 16.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.01513, allocations: 126.2 kB / 386.3 MB, free: 16.28 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01513, allocations: 4 kB / 386.3 MB, free: 16.28 MB / 314.7 MB Notification: Performance of Templates: time 0.00536/0.02049, allocations: 3.37 MB / 389.6 MB, free: 12.99 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:Time,meter.i,meter.p,meter.v Variables in the result:meter.I_base,meter.S_nom,meter.V_base,meter.V_nom,meter.av,meter.i,meter.p,meter.puUnits,meter.tcst,meter.v,system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.omega_nom,system.refType,system.synRef,system.w_nom,time,transPh.a_end,transPh.a_start,transPh.coef,transPh.n,transPh.ph_end,transPh.ph_start,transPh.t_change,transPh.t_duration,trsSignal[1].coef,trsSignal[1].s_end,trsSignal[1].s_start,trsSignal[1].t_change,trsSignal[1].t_duration,trsSignal[2].coef,trsSignal[2].s_end,trsSignal[2].s_start,trsSignal[2].t_change,trsSignal[2].t_duration,voltage.S_nom,voltage.V_base,voltage.V_nom,voltage.alpha0,voltage.f,voltage.fType,voltage.pol,voltage.puUnits,voltage.use_vPhasor_in,voltage.v0eff,zLoadAC.S_base,zLoadAC.S_nom,zLoadAC.V2_nom,zLoadAC.V_nom,zLoadAC.Z_start[1],zLoadAC.Z_start[2],zLoadAC.dynType,zLoadAC.i_start,zLoadAC.pq0[1],zLoadAC.pq0[2],zLoadAC.psi_start,zLoadAC.puUnits,zLoadAC.use_pq_in,zLoadAC.v_start filterSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.diff.mat", vars={"meter.p"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.diff.ref.mat", vars={"meter.p"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.2876499127596617]