Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.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.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 105 kB / 16.62 MB, free: 6.809 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.001131/0.001132, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.391/1.391, allocations: 222.9 MB / 241.2 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1725/0.1725, allocations: 38.03 MB / 329.4 MB, free: 8.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 61.23 kB / 398.3 MB, free: 34.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1321, allocations: 58.05 MB / 456.3 MB, free: 8.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.00936/0.1415, allocations: 7.357 MB / 463.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00443/0.146, allocations: 2.318 MB / 466 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005612/0.1466, allocations: 51.69 kB / 466 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.1483, allocations: 0.65 MB / 466.7 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008807/0.1492, allocations: 346.6 kB / 467 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.1504, allocations: 371.3 kB / 467.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.1515, allocations: 0.9316 MB / 468.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007632/0.1523, allocations: 0.5508 MB / 468.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005884/0.1529, allocations: 422.3 kB / 469.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006817/0.1536, allocations: 0.5764 MB / 469.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.632e-05/0.1537, allocations: 56 kB / 469.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004382/0.1542, allocations: 243.6 kB / 470.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000352/0.1545, allocations: 419 kB / 470.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003864/0.1549, allocations: 425.9 kB / 471 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009908/0.1559, allocations: 1.005 MB / 472 MB, free: 8.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.1559, allocations: 3.938 kB / 472 MB, free: 8.676 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1559, allocations: 0 / 472 MB, free: 8.676 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.156, allocations: 0 / 472 MB, free: 8.676 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001854/0.1578, allocations: 1.068 MB / 473.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.1579, allocations: 11.89 kB / 473.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007395/0.1586, allocations: 139.8 kB / 473.2 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008034/0.1594, allocations: 0.5205 MB / 473.7 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.688e-05/0.1595, allocations: 58.38 kB / 473.8 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.1596, allocations: 80.11 kB / 473.9 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.1613, allocations: 1.126 MB / 475 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/0.1613, allocations: 7.938 kB / 475 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.508e-05/0.1614, allocations: 35.98 kB / 475 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.95e-05/0.1615, allocations: 49.98 kB / 475.1 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.1628, allocations: 0.8623 MB / 475.9 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005523/0.1684, allocations: 5.071 MB / 481 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008866/0.1693, allocations: 427.7 kB / 481.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003298/0.1696, allocations: 213.7 kB / 481.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.22e-05/0.1697, allocations: 7.984 kB / 481.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.541e-05/0.1698, allocations: 38.56 kB / 481.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 3.807e-06/0.1698, allocations: 0 / 481.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.002183/0.172, allocations: 1.068 MB / 482.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.85e-05/0.172, allocations: 89.19 kB / 482.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000604/0.1727, allocations: 497.8 kB / 483.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.1727, allocations: 37.69 kB / 483.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000316/0.173, allocations: 461.6 kB / 483.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.1732, allocations: 153.8 kB / 484 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.1734, allocations: 150.5 kB / 484.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1736, allocations: 366.8 kB / 484.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.1739, allocations: 237.8 kB / 484.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006074/0.1745, allocations: 0.6132 MB / 485.3 MB, free: 10.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/0.1756, allocations: 0.9495 MB / 486.3 MB, free: 9.496 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.1757, allocations: 4 kB / 486.3 MB, free: 9.492 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001399/0.1771, allocations: 0.8957 MB / 487.2 MB, free: 8.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.1771, allocations: 12.22 kB / 487.2 MB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/0.1771, allocations: 16 kB / 487.2 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.97e-05/0.1772, allocations: 20 kB / 487.2 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007439/0.1779, allocations: 211.6 kB / 487.4 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.095e-05/0.178, allocations: 27.92 kB / 487.4 MB, free: 8.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000439/0.1784, allocations: 55.86 kB / 487.5 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.731e-05/0.1785, allocations: 40 kB / 487.5 MB, free: 8.215 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (99): * Single equations (assignments): 99 * 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 0.0004633/0.179, allocations: 313.3 kB / 487.8 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.352e-05/0.1791, allocations: 51.34 kB / 487.9 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.1801, allocations: 0.5641 MB / 488.5 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.1801, allocations: 7.938 kB / 488.5 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.1801, allocations: 0 / 488.5 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.1801, allocations: 0 / 488.5 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/0.1823, allocations: 1.34 MB / 489.8 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.1823, allocations: 4 kB / 489.8 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004235/0.1828, allocations: 107.9 kB / 489.9 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.1828, allocations: 7.938 kB / 489.9 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.1828, allocations: 8 kB / 489.9 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.1828, allocations: 4 kB / 489.9 MB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.1828, allocations: 7.938 kB / 489.9 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007918/0.1836, allocations: 0.6482 MB / 490.6 MB, free: 5.016 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.1838, allocations: 128.4 kB / 490.7 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.352e-05/0.1839, allocations: 19.94 kB / 490.7 MB, free: 4.852 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003152/0.1842, allocations: 15.98 kB / 490.8 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.769e-05/0.1842, allocations: 31.95 kB / 490.8 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.1843, allocations: 16 kB / 490.8 MB, free: 4.789 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003694/0.1847, allocations: 330.8 kB / 491.1 MB, free: 4.469 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.1847, allocations: 0 / 491.1 MB, free: 4.469 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006562/0.1853, allocations: 160 kB / 491.3 MB, free: 4.312 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (51): * Single equations (assignments): 50 * 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.0001704/0.1855, allocations: 115.1 kB / 491.4 MB, free: 4.191 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.1866, allocations: 0.6927 MB / 492.1 MB, free: 3.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1866, allocations: 0 / 492.1 MB, free: 3.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003373/0.187, allocations: 245.2 kB / 492.3 MB, free: 3.262 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007366/0.1877, allocations: 128.8 kB / 492.5 MB, free: 3.148 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.1905, allocations: 1.686 MB / 494.1 MB, free: 1.402 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007921/0.1913, allocations: 1.007 MB / 495.1 MB, free: 376 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005785/0.1919, allocations: 225 kB / 495.4 MB, free: 152 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.1921, allocations: 43.44 kB / 495.4 MB, free: 108 kB / 366.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1921, allocations: 3.938 kB / 495.4 MB, free: 104 kB / 366.1 MB Notification: Performance of Templates: time 0.01091/0.203, allocations: 5.541 MB / 0.4892 GB, free: 10.59 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1)