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.001445/0.001445, allocations: 111.2 kB / 17.28 MB, free: 6.199 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.001342/0.001342, allocations: 193.3 kB / 18.21 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.183/2.183, allocations: 222.9 MB / 241.9 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3995/0.3995, allocations: 38.03 MB / 330.1 MB, free: 9.02 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002406/0.002406, allocations: 57.92 kB / 398.9 MB, free: 34.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2269, allocations: 58.07 MB / 457 MB, free: 8.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.02188/0.2489, allocations: 7.677 MB / 464.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01243/0.2614, allocations: 2.325 MB / 467 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.2628, allocations: 43.69 kB / 467 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003483/0.2663, allocations: 0.6724 MB / 467.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003102/0.2694, allocations: 0.5291 MB / 468.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.2709, allocations: 223.7 kB / 468.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002233/0.2731, allocations: 1.145 MB / 469.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/0.2748, allocations: 0.646 MB / 470.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.2759, allocations: 0.5213 MB / 470.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.2774, allocations: 0.662 MB / 471.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000182/0.2776, allocations: 68 kB / 471.5 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005055/0.2827, allocations: 263.7 kB / 471.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009288/0.2837, allocations: 490.8 kB / 472.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009178/0.2846, allocations: 0.4897 MB / 472.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00169/0.2863, allocations: 0.9043 MB / 473.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.2864, allocations: 0 / 473.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.2864, allocations: 0 / 473.6 MB, free: 7.711 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.578e-05/0.2864, allocations: 0 / 473.6 MB, free: 7.711 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.003754/0.2902, allocations: 1.219 MB / 474.9 MB, free: 6.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.055e-05/0.2903, allocations: 11.89 kB / 474.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001896/0.2922, allocations: 167.6 kB / 475 MB, free: 6.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/0.2942, allocations: 0.585 MB / 475.6 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.2944, allocations: 74.34 kB / 475.7 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004176/0.2948, allocations: 96.09 kB / 475.8 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003327/0.2981, allocations: 1.149 MB / 476.9 MB, free: 4.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.347e-05/0.2982, allocations: 15.84 kB / 477 MB, free: 4.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.2984, allocations: 31.98 kB / 477 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003156/0.2987, allocations: 81.95 kB / 477.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003242/0.302, allocations: 1.011 MB / 478.1 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01612/0.3181, allocations: 4.366 MB / 482.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002226/0.3204, allocations: 0.6217 MB / 483.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009159/0.3214, allocations: 309.4 kB / 483.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.486e-05/0.3215, allocations: 16.48 kB / 483.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.865e-05/0.3215, allocations: 39.06 kB / 483.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 4.177e-06/0.3215, allocations: 4 kB / 483.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=64): time 0.01009/0.3316, allocations: 1.73 MB / 485.2 MB, free: 11.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.89e-05/0.3318, allocations: 89.61 kB / 485.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.333, allocations: 0.5455 MB / 485.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.146e-05/0.3331, allocations: 37.7 kB / 485.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005092/0.3337, allocations: 442.7 kB / 486.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003546/0.3341, allocations: 221 kB / 486.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004426/0.3345, allocations: 190.5 kB / 486.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002514/0.3348, allocations: 378.8 kB / 487 MB, free: 9.797 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009233/0.3357, allocations: 285.8 kB / 487.3 MB, free: 9.516 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001281/0.337, allocations: 0.6153 MB / 487.9 MB, free: 8.754 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002438/0.3395, allocations: 0.9614 MB / 488.9 MB, free: 7.645 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.615e-05/0.3395, allocations: 11.94 kB / 488.9 MB, free: 7.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004383/0.3439, allocations: 1.168 MB / 490.1 MB, free: 6.445 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/0.344, allocations: 12 kB / 490.1 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002795/0.3468, allocations: 0.715 MB / 490.8 MB, free: 5.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001512/0.3484, allocations: 214.4 kB / 491 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/0.35, allocations: 223.6 kB / 491.2 MB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009188/0.3593, allocations: 5.373 MB / 496.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.3605, allocations: 43.95 kB / 496.6 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/0.3607, allocations: 36 kB / 496.7 MB, free: 15.4 MB / 382.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.001028/0.3618, allocations: 349.6 kB / 497 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002827/0.3621, allocations: 67.19 kB / 497.1 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/0.3642, allocations: 0.6615 MB / 497.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.3643, allocations: 4 kB / 497.7 MB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.3643, allocations: 4 kB / 497.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667e-05/0.3643, allocations: 3.984 kB / 497.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005065/0.3694, allocations: 1.535 MB / 499.3 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.3694, allocations: 7.875 kB / 499.3 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/0.3711, allocations: 167.8 kB / 499.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.756e-05/0.3712, allocations: 4.156 kB / 499.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.998e-05/0.3713, allocations: 24 kB / 499.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-05/0.3713, allocations: 7.938 kB / 499.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.3713, allocations: 3.984 kB / 499.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/0.3735, allocations: 1.022 MB / 0.4888 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004225/0.374, allocations: 184.2 kB / 0.489 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.3742, allocations: 15.98 kB / 0.489 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000565/0.3748, allocations: 23.92 kB / 0.489 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.375, allocations: 48.44 kB / 0.489 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-05/0.375, allocations: 20 kB / 0.4891 GB, free: 11.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007984/0.3758, allocations: 362.8 kB / 0.4894 GB, free: 10.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3759, allocations: 0 / 0.4894 GB, free: 10.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001502/0.3774, allocations: 216 kB / 0.4896 GB, free: 10.55 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.0002451/0.3776, allocations: 127.9 kB / 0.4897 GB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003612/0.3813, allocations: 1.285 MB / 0.491 GB, free: 9.098 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.3813, allocations: 4.125 kB / 0.491 GB, free: 9.094 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007866/0.3821, allocations: 315 kB / 0.4913 GB, free: 8.785 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/0.3838, allocations: 152.7 kB / 0.4914 GB, free: 8.641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.3941, allocations: 2.379 MB / 0.4938 GB, free: 6.211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/0.3954, allocations: 1.071 MB / 0.4948 GB, free: 5.113 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/0.3958, allocations: 63.42 kB / 0.4949 GB, free: 5.051 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3958, allocations: 0 / 0.4949 GB, free: 5.051 MB / 382.1 MB Notification: Performance of Templates: time 0.05073/0.4466, allocations: 14 MB / 0.5085 GB, free: 7.051 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Display.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches