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.001191/0.001191, allocations: 104 kB / 17.59 MB, free: 5.555 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.0012/0.0012, allocations: 191.5 kB / 18.51 MB, free: 4.637 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.337/1.337, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2075/0.2075, allocations: 38.03 MB / 330.4 MB, free: 8.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 66.27 kB / 399.5 MB, free: 34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1219, allocations: 58.06 MB / 457.5 MB, free: 8.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.009683/0.1316, allocations: 6.1 MB / 463.6 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004523/0.1362, allocations: 1.943 MB / 465.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005805/0.1368, allocations: 19.88 kB / 465.6 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00222/0.1391, allocations: 0.6925 MB / 466.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.1403, allocations: 382.2 kB / 466.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.1418, allocations: 403 kB / 467 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001587/0.1434, allocations: 0.9317 MB / 468 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009905/0.1444, allocations: 0.4922 MB / 468.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009926/0.1454, allocations: 434.3 kB / 468.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.1464, allocations: 0.5296 MB / 469.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.1465, allocations: 56 kB / 469.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005589/0.1471, allocations: 239.6 kB / 469.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003619/0.1475, allocations: 407 kB / 470.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000431/0.1479, allocations: 433.9 kB / 470.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001011/0.1489, allocations: 0.9969 MB / 471.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.1489, allocations: 0 / 471.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.149, allocations: 0 / 471.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.149, allocations: 0 / 471.5 MB, free: 9.969 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.00182/0.1508, allocations: 1.075 MB / 472.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.1509, allocations: 11.89 kB / 472.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007338/0.1516, allocations: 143.8 kB / 472.8 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007705/0.1524, allocations: 0.5089 MB / 473.3 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.018e-05/0.1524, allocations: 58.38 kB / 473.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.1526, allocations: 76.12 kB / 473.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.1541, allocations: 1.134 MB / 474.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/0.1541, allocations: 4 kB / 474.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.273e-05/0.1542, allocations: 39.94 kB / 474.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.262e-05/0.1543, allocations: 53.91 kB / 474.6 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.1556, allocations: 0.8585 MB / 475.5 MB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005413/0.161, allocations: 5.067 MB / 480.5 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007094/0.1617, allocations: 423.7 kB / 481 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.1621, allocations: 217.7 kB / 481.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.1621, allocations: 4 kB / 481.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.1621, allocations: 42.55 kB / 481.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.765e-06/0.1622, allocations: 0 / 481.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.00186/0.164, allocations: 1.071 MB / 482.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.1641, allocations: 85.06 kB / 482.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005258/0.1646, allocations: 0.494 MB / 482.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.1647, allocations: 33.7 kB / 482.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002847/0.165, allocations: 461.7 kB / 483.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.1651, allocations: 149.8 kB / 483.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.1653, allocations: 158.4 kB / 483.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1655, allocations: 370.8 kB / 484 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/0.1658, allocations: 237.8 kB / 484.2 MB, free: 12.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006067/0.1664, allocations: 0.6131 MB / 484.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.1675, allocations: 0.9418 MB / 485.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.1675, allocations: 4 kB / 485.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001284/0.1688, allocations: 0.895 MB / 486.7 MB, free: 9.883 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.1688, allocations: 12.97 kB / 486.7 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.1689, allocations: 15.94 kB / 486.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.231e-05/0.1689, allocations: 20 kB / 486.7 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000727/0.1696, allocations: 215.7 kB / 487 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.619e-05/0.1697, allocations: 31.86 kB / 487 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004262/0.1701, allocations: 51.95 kB / 487 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.799e-05/0.1702, allocations: 47.98 kB / 487.1 MB, free: 9.496 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.0003716/0.1706, allocations: 305.2 kB / 487.4 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.7e-05/0.1706, allocations: 55.25 kB / 487.4 MB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009196/0.1716, allocations: 0.5603 MB / 488 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.1716, allocations: 4 kB / 488 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.1716, allocations: 0 / 488 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.497e-06/0.1716, allocations: 3.984 kB / 488 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/0.1737, allocations: 1.338 MB / 489.3 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.1737, allocations: 4 kB / 489.4 MB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005614/0.1743, allocations: 112.1 kB / 489.5 MB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.795e-05/0.1743, allocations: 7.938 kB / 489.5 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.471e-05/0.1744, allocations: 23.92 kB / 489.5 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.1744, allocations: 4 kB / 489.5 MB, free: 6.992 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.1744, allocations: 4 kB / 489.5 MB, free: 6.988 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.1755, allocations: 0.6365 MB / 490.1 MB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/0.1757, allocations: 132.3 kB / 490.3 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.1758, allocations: 19.92 kB / 490.3 MB, free: 6.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003994/0.1762, allocations: 19.98 kB / 490.3 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.537e-05/0.1763, allocations: 35.95 kB / 490.3 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/0.1763, allocations: 12 kB / 490.4 MB, free: 6.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005119/0.1769, allocations: 338.8 kB / 490.7 MB, free: 5.742 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1769, allocations: 0 / 490.7 MB, free: 5.742 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001126/0.178, allocations: 160 kB / 490.8 MB, free: 5.586 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.0001664/0.1782, allocations: 110.9 kB / 490.9 MB, free: 5.473 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.1796, allocations: 0.6958 MB / 491.6 MB, free: 4.777 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.1796, allocations: 0 / 491.6 MB, free: 4.777 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.18, allocations: 239.8 kB / 491.9 MB, free: 4.543 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000692/0.1807, allocations: 114.7 kB / 492 MB, free: 4.438 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/0.183, allocations: 1.433 MB / 493.4 MB, free: 2.938 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006098/0.1837, allocations: 1.011 MB / 494.4 MB, free: 1.898 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.1838, allocations: 59.42 kB / 494.5 MB, free: 1.84 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1838, allocations: 4 kB / 494.5 MB, free: 1.836 MB / 366.1 MB Notification: Performance of Templates: time 0.01268/0.1965, allocations: 8.188 MB / 0.4909 GB, free: 9.66 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)