Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 106.5 kB / 16.51 MB, free: 6.707 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.001384/0.001384, 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.513/1.513, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1762/0.1762, allocations: 38.03 MB / 329.3 MB, free: 8.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 66.61 kB / 398.1 MB, free: 34.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1417, allocations: 58.06 MB / 456.1 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.00752/0.1492, allocations: 4.85 MB / 461 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.1512, allocations: 1.126 MB / 462.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.1515, allocations: 23.81 kB / 462.1 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.1518, allocations: 43.69 kB / 462.2 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004835/0.1523, allocations: 187.1 kB / 462.4 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.1525, allocations: 83.91 kB / 462.5 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000635/0.1531, allocations: 0.627 MB / 463.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000255/0.1534, allocations: 131.3 kB / 463.2 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002742/0.1536, allocations: 183.2 kB / 463.4 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004156/0.1541, allocations: 255.1 kB / 463.6 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.699e-05/0.1541, allocations: 16 kB / 463.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.715e-05/0.1542, allocations: 16 kB / 463.7 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.1543, allocations: 115.6 kB / 463.8 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.1545, allocations: 163.1 kB / 463.9 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.1549, allocations: 362.7 kB / 464.3 MB, free: 332 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1549, allocations: 4 kB / 464.3 MB, free: 328 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1549, allocations: 0 / 464.3 MB, free: 328 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.155, allocations: 0 / 464.3 MB, free: 328 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001541/0.1565, allocations: 0.6984 MB / 465 MB, free: 15.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.1566, allocations: 8.031 kB / 465 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.479e-05/0.1567, allocations: 44.45 kB / 465 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006392/0.1573, allocations: 379.1 kB / 465.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.1573, allocations: 16.56 kB / 465.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/0.1574, allocations: 28 kB / 465.5 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005372/0.1579, allocations: 360.7 kB / 465.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.158, allocations: 3.938 kB / 465.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/0.158, allocations: 12 kB / 465.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.158, allocations: 8 kB / 465.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000406/0.1584, allocations: 250 kB / 466.1 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.1602, allocations: 1.454 MB / 467.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.1605, allocations: 153 kB / 467.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.1606, allocations: 85.73 kB / 467.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.1607, allocations: 7.938 kB / 467.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.1607, allocations: 42.48 kB / 467.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.724e-06/0.1607, allocations: 0 / 467.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001217/0.1619, allocations: 0.673 MB / 468.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.162, allocations: 81.11 kB / 468.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000358/0.1624, allocations: 312.5 kB / 468.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.1624, allocations: 25.7 kB / 468.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.1626, allocations: 219.6 kB / 469.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.644e-05/0.1627, allocations: 51.27 kB / 469.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-05/0.1628, allocations: 53.61 kB / 469.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1629, allocations: 342.8 kB / 469.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.1631, allocations: 59.95 kB / 469.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.1633, allocations: 172.8 kB / 469.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.1636, allocations: 256.6 kB / 470 MB, free: 10.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.1636, allocations: 0 / 470 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004229/0.1641, allocations: 288.2 kB / 470.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.1641, allocations: 4 kB / 470.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.1641, allocations: 4 kB / 470.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.1642, allocations: 11.94 kB / 470.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.1644, allocations: 55.91 kB / 470.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/0.1645, allocations: 11.98 kB / 470.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.1646, allocations: 4 kB / 470.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.1647, allocations: 19.98 kB / 470.4 MB, free: 9.742 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 29 * 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.0001778/0.1648, allocations: 170 kB / 470.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.251e-05/0.1649, allocations: 31.56 kB / 470.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004062/0.1653, allocations: 235.5 kB / 470.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.177e-06/0.1653, allocations: 0 / 470.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.1654, allocations: 4 kB / 470.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.1654, allocations: 7.984 kB / 470.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007748/0.1662, allocations: 0.6201 MB / 471.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.1662, allocations: 7.922 kB / 471.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.1664, allocations: 35.97 kB / 471.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.1664, allocations: 4 kB / 471.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.1664, allocations: 4 kB / 471.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1664, allocations: 7.938 kB / 471.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1664, allocations: 0 / 471.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000568/0.167, allocations: 424.6 kB / 472 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.028e-05/0.1671, allocations: 112.8 kB / 472.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.1671, allocations: 0 / 472.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.1673, allocations: 11.98 kB / 472.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.1673, allocations: 11.98 kB / 472.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.1674, allocations: 8 kB / 472.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002085/0.1676, allocations: 211 kB / 472.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1676, allocations: 0 / 472.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003399/0.1679, allocations: 64.06 kB / 472.4 MB, free: 7.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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.0001208/0.1681, allocations: 114.7 kB / 472.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000315/0.1684, allocations: 182.5 kB / 472.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1684, allocations: 0 / 472.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.1685, allocations: 91.27 kB / 472.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.1691, allocations: 68.67 kB / 472.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.1702, allocations: 0.764 MB / 473.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/0.1707, allocations: 0.8107 MB / 474.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002022/0.1709, allocations: 50.94 kB / 474.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.97e-05/0.171, allocations: 27.38 kB / 474.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.171, allocations: 4 kB / 474.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of Templates: time 0.006059/0.1771, allocations: 2.842 MB / 477.3 MB, free: 2.703 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1)