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.001494/0.001494, allocations: 111 kB / 16.51 MB, free: 6.715 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.001497/0.001497, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.389/1.389, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1701/0.1701, allocations: 38.03 MB / 329.3 MB, free: 9.105 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001289, allocations: 61.17 kB / 398.1 MB, free: 34.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1264, allocations: 58.06 MB / 456.2 MB, free: 8.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.009715/0.1362, allocations: 7.677 MB / 463.8 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004559/0.1408, allocations: 2.349 MB / 466.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004454/0.1413, allocations: 39.75 kB / 466.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001655/0.143, allocations: 0.6713 MB / 466.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.1442, allocations: 0.5409 MB / 467.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005188/0.1448, allocations: 211.7 kB / 467.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001513/0.1463, allocations: 1.796 MB / 469.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009054/0.1472, allocations: 0.5948 MB / 470 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006987/0.1479, allocations: 449.9 kB / 470.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009388/0.1489, allocations: 0.662 MB / 471.1 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001026/0.149, allocations: 48 kB / 471.2 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005217/0.1495, allocations: 243.7 kB / 471.4 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004646/0.15, allocations: 466.9 kB / 471.9 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004904/0.1505, allocations: 481.5 kB / 472.3 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.1516, allocations: 1.137 MB / 473.5 MB, free: 7.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1516, allocations: 0 / 473.5 MB, free: 7.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1517, allocations: 0 / 473.5 MB, free: 7.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.1517, allocations: 0 / 473.5 MB, free: 7.16 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.002346/0.154, allocations: 1.223 MB / 474.7 MB, free: 5.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.1541, allocations: 8.031 kB / 474.7 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009326/0.155, allocations: 159.6 kB / 474.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009585/0.156, allocations: 0.5889 MB / 475.5 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.186e-05/0.1561, allocations: 66.36 kB / 475.5 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/0.1563, allocations: 100.1 kB / 475.6 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.1579, allocations: 1.161 MB / 476.8 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/0.158, allocations: 11.91 kB / 476.8 MB, free: 3.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-05/0.1581, allocations: 32 kB / 476.8 MB, free: 3.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001732/0.1582, allocations: 85.89 kB / 476.9 MB, free: 3.582 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/0.1599, allocations: 0.9952 MB / 477.9 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005745/0.1656, allocations: 4.374 MB / 482.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.167, allocations: 0.6217 MB / 482.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004652/0.1674, allocations: 313.4 kB / 483.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.44e-05/0.1675, allocations: 12.5 kB / 483.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.1675, allocations: 35.12 kB / 483.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 3.377e-06/0.1675, allocations: 0 / 483.3 MB, free: 12.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=64): time 0.003105/0.1707, allocations: 1.73 MB / 485 MB, free: 11.19 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.1708, allocations: 97.72 kB / 485.1 MB, free: 11.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006347/0.1714, allocations: 0.5377 MB / 485.6 MB, free: 10.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.1715, allocations: 37.7 kB / 485.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000304/0.1718, allocations: 442.7 kB / 486.1 MB, free: 10.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.172, allocations: 224.8 kB / 486.3 MB, free: 9.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002518/0.1722, allocations: 186.5 kB / 486.5 MB, free: 9.633 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002348/0.1725, allocations: 378.8 kB / 486.9 MB, free: 9.254 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005079/0.173, allocations: 285.8 kB / 487.1 MB, free: 8.973 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006662/0.1737, allocations: 0.6191 MB / 487.8 MB, free: 8.203 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.175, allocations: 0.9692 MB / 488.7 MB, free: 7.086 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.175, allocations: 4 kB / 488.7 MB, free: 7.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002086/0.1771, allocations: 1.176 MB / 489.9 MB, free: 5.887 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.1771, allocations: 12 kB / 489.9 MB, free: 5.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001421/0.1785, allocations: 0.7105 MB / 490.6 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008603/0.1794, allocations: 226.3 kB / 490.8 MB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007278/0.1802, allocations: 215.7 kB / 491.1 MB, free: 4.715 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004896/0.1851, allocations: 4.918 MB / 496 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006611/0.1857, allocations: 39.89 kB / 496 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.813e-05/0.1858, allocations: 40 kB / 496.1 MB, free: 15.32 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.0006162/0.1865, allocations: 357.5 kB / 496.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.1866, allocations: 63.25 kB / 496.5 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.1877, allocations: 0.6537 MB / 497.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.1878, allocations: 8 kB / 497.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1878, allocations: 0 / 497.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.1878, allocations: 11.92 kB / 497.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002588/0.1904, allocations: 1.528 MB / 498.7 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1904, allocations: 160 / 498.7 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007752/0.1912, allocations: 175.8 kB / 498.8 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.1912, allocations: 4 kB / 498.8 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.234e-05/0.1912, allocations: 20 kB / 498.9 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.164e-06/0.1913, allocations: 7.984 kB / 498.9 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.1913, allocations: 8.172 kB / 498.9 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.1928, allocations: 1.018 MB / 499.9 MB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/0.1931, allocations: 184.3 kB / 0.4884 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.541e-05/0.1932, allocations: 16 kB / 0.4884 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/0.1935, allocations: 27.92 kB / 0.4884 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.1937, allocations: 44.44 kB / 0.4884 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.249e-05/0.1937, allocations: 20 kB / 0.4885 GB, free: 11.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004104/0.1941, allocations: 362.8 kB / 0.4888 GB, free: 10.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1941, allocations: 0 / 0.4888 GB, free: 10.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008954/0.195, allocations: 216 kB / 0.489 GB, free: 10.48 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.0001675/0.1952, allocations: 135.9 kB / 0.4891 GB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00182/0.197, allocations: 1.099 MB / 0.4902 GB, free: 9.203 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.1971, allocations: 0 / 0.4902 GB, free: 9.203 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004754/0.1975, allocations: 312 kB / 0.4905 GB, free: 8.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008414/0.1984, allocations: 152.8 kB / 0.4907 GB, free: 8.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/0.2018, allocations: 2.283 MB / 0.4929 GB, free: 6.422 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007274/0.2026, allocations: 1.075 MB / 0.4939 GB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006525/0.2032, allocations: 229.6 kB / 0.4942 GB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.2034, allocations: 51.44 kB / 0.4942 GB, free: 5.043 MB / 382.1 MB Notification: Performance of SimCode: time 1.232e-06/0.2034, allocations: 0 / 0.4942 GB, free: 5.043 MB / 382.1 MB Notification: Performance of Templates: time 0.01649/0.2199, allocations: 7.934 MB / 0.502 GB, free: 13.14 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