Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Display.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="Time|phasor_cap.i_dq.1.|phasor_cap.i_dq.2.|phasor_cap.p.1.|phasor_cap.p.2.|phasor_cap.v_dq.1.|phasor_cap.v_dq.2.|phasor_ind.i_dq.1.|phasor_ind.i_dq.2.|phasor_ind.p.1.|phasor_ind.p.2.|phasor_ind.v_dq.1.|phasor_ind.v_dq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Display") translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="Time|phasor_cap.i_dq.1.|phasor_cap.i_dq.2.|phasor_cap.p.1.|phasor_cap.p.2.|phasor_cap.v_dq.1.|phasor_cap.v_dq.2.|phasor_ind.i_dq.1.|phasor_ind.i_dq.2.|phasor_ind.p.1.|phasor_ind.p.2.|phasor_ind.v_dq.1.|phasor_ind.v_dq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Display") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 104.4 kB / 16.92 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002388/0.002388, allocations: 191.4 kB / 17.85 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 241.5 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1678/0.1678, allocations: 38.04 MB / 329.7 MB, free: 8.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 62.81 kB / 398.8 MB, free: 34.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1053, allocations: 58.06 MB / 456.9 MB, free: 8.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.00769/0.113, allocations: 6.647 MB / 463.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00315/0.1162, allocations: 2.01 MB / 465.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003967/0.1166, allocations: 23.88 kB / 465.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001797/0.1184, allocations: 0.7188 MB / 466.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.1198, allocations: 0.5716 MB / 466.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006466/0.1204, allocations: 243.5 kB / 467.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00132/0.1218, allocations: 1.149 MB / 468.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000886/0.1227, allocations: 0.5914 MB / 468.8 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009074/0.1236, allocations: 0.5136 MB / 469.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009679/0.1246, allocations: 0.6113 MB / 469.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.1247, allocations: 71.94 kB / 470 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000519/0.1252, allocations: 263.7 kB / 470.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004389/0.1257, allocations: 486.8 kB / 470.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004663/0.1262, allocations: 493.5 kB / 471.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.1272, allocations: 1.164 MB / 472.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1272, allocations: 0 / 472.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1273, allocations: 4 kB / 472.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.1273, allocations: 0 / 472.4 MB, free: 8.461 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002147/0.1294, allocations: 1.21 MB / 473.6 MB, free: 7.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.1295, allocations: 15.89 kB / 473.6 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.1309, allocations: 167.5 kB / 473.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.1324, allocations: 0.5812 MB / 474.4 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-05/0.1325, allocations: 66.36 kB / 474.4 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003615/0.1329, allocations: 104 kB / 474.5 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002661/0.1356, allocations: 1.161 MB / 475.7 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.707e-05/0.1356, allocations: 0 / 475.7 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/0.1358, allocations: 43.92 kB / 475.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002646/0.1361, allocations: 89.89 kB / 475.8 MB, free: 4.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002706/0.1388, allocations: 0.9952 MB / 476.8 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008086/0.1469, allocations: 4.37 MB / 481.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.1487, allocations: 0.6269 MB / 481.8 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007409/0.1494, allocations: 313.5 kB / 482.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.839e-05/0.1495, allocations: 8.547 kB / 482.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.1495, allocations: 39.12 kB / 482.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 4.198e-06/0.1496, allocations: 0 / 482.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=64): time 0.004695/0.1543, allocations: 1.742 MB / 483.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.1543, allocations: 89.61 kB / 484 MB, free: 12.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009117/0.1553, allocations: 0.5416 MB / 484.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.1553, allocations: 37.7 kB / 484.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/0.1556, allocations: 438.7 kB / 485 MB, free: 11.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.1558, allocations: 220.9 kB / 485.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003013/0.1561, allocations: 190.5 kB / 485.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1562, allocations: 382.8 kB / 485.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005485/0.1568, allocations: 285.8 kB / 486 MB, free: 10.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007861/0.1576, allocations: 0.6075 MB / 486.7 MB, free: 9.512 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/0.1595, allocations: 0.9691 MB / 487.6 MB, free: 8.395 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.1595, allocations: 4 kB / 487.6 MB, free: 8.391 MB / 366.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002761/0.1623, allocations: 1.176 MB / 488.8 MB, free: 7.195 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.1624, allocations: 8 kB / 488.8 MB, free: 7.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002025/0.1644, allocations: 0.7144 MB / 489.5 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.1654, allocations: 218.7 kB / 489.7 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.1666, allocations: 219.6 kB / 490 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006933/0.1735, allocations: 5.369 MB / 495.3 MB, free: 244 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007837/0.1743, allocations: 35.98 kB / 495.4 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.34e-05/0.1744, allocations: 44 kB / 495.4 MB, free: 164 kB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_cap.color_n[3],phasor_cap.color_n[1],phasor_cap.color_p[3],phasor_cap.color_p[1],phasor_ind.color_n[3],phasor_ind.color_n[1],phasor_ind.color_p[3],phasor_ind.color_p[1],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006832/0.1751, allocations: 357.7 kB / 495.7 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/0.1753, allocations: 63.16 kB / 495.8 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.1769, allocations: 0.6577 MB / 496.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.1769, allocations: 8 kB / 496.5 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1769, allocations: 0 / 496.5 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.1769, allocations: 7.922 kB / 496.5 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/0.1795, allocations: 1.535 MB / 498 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.1795, allocations: 7.984 kB / 498 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007661/0.1803, allocations: 171.8 kB / 498.2 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.1803, allocations: 4 kB / 498.2 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/0.1804, allocations: 15.94 kB / 498.2 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1804, allocations: 4 kB / 498.2 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1804, allocations: 8.156 kB / 498.2 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00138/0.1818, allocations: 1.025 MB / 499.3 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/0.182, allocations: 176.4 kB / 499.4 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.157e-05/0.1821, allocations: 19.98 kB / 499.4 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002813/0.1824, allocations: 12 kB / 499.5 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.1825, allocations: 56.42 kB / 499.5 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.518e-05/0.1825, allocations: 16 kB / 499.5 MB, free: 11.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003579/0.1829, allocations: 358.8 kB / 499.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1829, allocations: 0 / 499.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007191/0.1836, allocations: 220 kB / 0.4884 GB, free: 11.32 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (ind.i[1],ind.i[2],ind.i[3],cap.v[1],cap.v[2],cap.v[3]) * Number of discrete variables: 9 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * 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.0001353/0.1838, allocations: 131.9 kB / 0.4885 GB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001973/0.1858, allocations: 1.291 MB / 0.4898 GB, free: 9.859 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1858, allocations: 0 / 0.4898 GB, free: 9.859 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004548/0.1862, allocations: 315.3 kB / 0.4901 GB, free: 9.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007869/0.187, allocations: 154.2 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.1898, allocations: 1.941 MB / 0.4921 GB, free: 7.414 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006748/0.1905, allocations: 1.071 MB / 0.4931 GB, free: 6.316 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005616/0.1911, allocations: 229.5 kB / 0.4934 GB, free: 6.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.1912, allocations: 55.42 kB / 0.4934 GB, free: 6.035 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1912, allocations: 0 / 0.4934 GB, free: 6.035 MB / 382.1 MB Notification: Performance of Templates: time 0.01466/0.2059, allocations: 8.381 MB / 0.5016 GB, free: 13.7 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Display.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Display -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Display_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Display.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches