Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Display") translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerSystems_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.001012/0.001012, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.001214/0.001215, allocations: 184.2 kB / 17.57 MB, free: 6.199 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.459/1.459, allocations: 223.3 MB / 241.6 MB, free: 112 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1871/0.1871, allocations: 38.09 MB / 330.8 MB, free: 8.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003451, allocations: 9.281 kB / 400.7 MB, free: 34.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1281, allocations: 59.17 MB / 459.9 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.009765/0.1379, allocations: 7.24 MB / 467.1 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005167/0.1431, allocations: 2.314 MB / 469.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007435/0.1439, allocations: 39.75 kB / 469.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004296/0.1444, allocations: 107.2 kB / 469.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.1459, allocations: 0.5409 MB / 470.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006918/0.1466, allocations: 215.6 kB / 470.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001883/0.1485, allocations: 1.8 MB / 472.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00161/0.1501, allocations: 0.961 MB / 473.1 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008032/0.1509, allocations: 414 kB / 473.5 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009373/0.1518, allocations: 0.6112 MB / 474.1 MB, free: 8.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.731e-05/0.1519, allocations: 36 kB / 474.1 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005157/0.1525, allocations: 223.7 kB / 474.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004304/0.1529, allocations: 454.8 kB / 474.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004868/0.1534, allocations: 475.2 kB / 475.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.1545, allocations: 1.117 MB / 476.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1545, allocations: 0 / 476.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1545, allocations: 0 / 476.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.1545, allocations: 0 / 476.4 MB, free: 6.477 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.001899/0.1565, allocations: 1.048 MB / 477.4 MB, free: 5.375 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1565, allocations: 8.031 kB / 477.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009521/0.1575, allocations: 167.6 kB / 477.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009535/0.1584, allocations: 0.5889 MB / 478.2 MB, free: 4.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.336e-05/0.1585, allocations: 70.34 kB / 478.3 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/0.1587, allocations: 100.1 kB / 478.3 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.1604, allocations: 1.157 MB / 479.5 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.1605, allocations: 3.906 kB / 479.5 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.766e-05/0.1606, allocations: 31.98 kB / 479.5 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001885/0.1608, allocations: 89.89 kB / 479.6 MB, free: 3.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001593/0.1624, allocations: 1.007 MB / 480.6 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005225/0.1676, allocations: 4.374 MB / 485 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.1688, allocations: 0.6294 MB / 485.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004412/0.1692, allocations: 305.4 kB / 485.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.1693, allocations: 12.56 kB / 485.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.1693, allocations: 43.12 kB / 486 MB, free: 12.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.134e-06/0.1693, allocations: 0 / 486 MB, free: 12.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=64): time 0.0029/0.1722, allocations: 1.734 MB / 487.7 MB, free: 10.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/0.1723, allocations: 89.73 kB / 487.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006051/0.1729, allocations: 0.5532 MB / 488.4 MB, free: 9.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.173, allocations: 33.7 kB / 488.4 MB, free: 9.941 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/0.1733, allocations: 442.8 kB / 488.8 MB, free: 9.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.1735, allocations: 220.8 kB / 489 MB, free: 9.281 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.1736, allocations: 97.66 kB / 489.1 MB, free: 9.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.1738, allocations: 374.8 kB / 489.5 MB, free: 8.805 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004814/0.1743, allocations: 285.8 kB / 489.8 MB, free: 8.527 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007088/0.175, allocations: 0.6114 MB / 490.4 MB, free: 7.766 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/0.1763, allocations: 0.9691 MB / 491.4 MB, free: 6.648 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/0.1763, allocations: 4 kB / 491.4 MB, free: 6.645 MB / 366.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00211/0.1784, allocations: 1.168 MB / 492.5 MB, free: 5.457 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.1784, allocations: 8 kB / 492.5 MB, free: 5.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001322/0.1798, allocations: 0.7184 MB / 493.3 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007226/0.1805, allocations: 218.4 kB / 493.5 MB, free: 4.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007606/0.1813, allocations: 223.6 kB / 493.7 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00464/0.1859, allocations: 4.934 MB / 498.6 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000513/0.1865, allocations: 32 kB / 498.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.508e-05/0.1865, allocations: 47.98 kB / 498.7 MB, free: 14.86 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.000521/0.1871, allocations: 349.3 kB / 499.1 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.761e-05/0.1872, allocations: 67.16 kB / 499.1 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.1883, allocations: 0.6461 MB / 499.8 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.1884, allocations: 8 kB / 499.8 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.1884, allocations: 0 / 499.8 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.1884, allocations: 7.984 kB / 499.8 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.1907, allocations: 1.539 MB / 0.4896 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.1907, allocations: 4.156 kB / 0.4896 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007778/0.1915, allocations: 171.8 kB / 0.4897 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.1915, allocations: 11.88 kB / 0.4897 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/0.1916, allocations: 15.98 kB / 0.4898 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.1916, allocations: 7.938 kB / 0.4898 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.1916, allocations: 7.938 kB / 0.4898 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.193, allocations: 1.029 MB / 0.4908 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002105/0.1932, allocations: 176.4 kB / 0.491 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.181e-05/0.1933, allocations: 16 kB / 0.491 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/0.1936, allocations: 23.89 kB / 0.491 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.1938, allocations: 52.44 kB / 0.491 GB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.761e-05/0.1938, allocations: 19.98 kB / 0.4911 GB, free: 10.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003713/0.1942, allocations: 358.8 kB / 0.4914 GB, free: 10.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1942, allocations: 0 / 0.4914 GB, free: 10.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008134/0.195, allocations: 220 kB / 0.4916 GB, free: 10.02 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.0001612/0.1952, allocations: 124 kB / 0.4917 GB, free: 9.887 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001692/0.1969, allocations: 1.103 MB / 0.4928 GB, free: 8.746 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1969, allocations: 0 / 0.4928 GB, free: 8.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004652/0.1974, allocations: 311.8 kB / 0.4931 GB, free: 8.441 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009379/0.1983, allocations: 142.5 kB / 0.4932 GB, free: 8.305 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003288/0.2016, allocations: 2.4 MB / 0.4956 GB, free: 5.859 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007459/0.2024, allocations: 1.068 MB / 0.4966 GB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006763/0.2031, allocations: 229.5 kB / 0.4968 GB, free: 4.535 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.2032, allocations: 55.42 kB / 0.4969 GB, free: 4.48 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2032, allocations: 0 / 0.4969 GB, free: 4.48 MB / 382.1 MB Notification: Performance of Templates: time 0.2602/0.4634, allocations: 7.836 MB / 0.5045 GB, free: 54.27 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Display.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Display.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Display -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Display.pipe 2>&1)