Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 112.2 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.001198/0.001198, 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.399/1.399, allocations: 222.9 MB / 241.1 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1867/0.1867, allocations: 38.03 MB / 329.3 MB, free: 8.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 57.16 kB / 398.1 MB, free: 34.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1278, allocations: 58.06 MB / 456.1 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.007631/0.1355, allocations: 5.057 MB / 461.2 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003277/0.1388, allocations: 1.718 MB / 462.9 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000332/0.1392, allocations: 23.88 kB / 462.9 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008625/0.1401, allocations: 263 kB / 463.2 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006187/0.1407, allocations: 262.9 kB / 463.5 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000643/0.1414, allocations: 219.6 kB / 463.7 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008813/0.1423, allocations: 0.959 MB / 464.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004241/0.1427, allocations: 215.5 kB / 464.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000319/0.143, allocations: 218.9 kB / 465.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005146/0.1436, allocations: 394.8 kB / 465.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.498e-05/0.1436, allocations: 24 kB / 465.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004726/0.1441, allocations: 239.5 kB / 465.7 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.1443, allocations: 223.4 kB / 465.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002374/0.1446, allocations: 234.8 kB / 466.1 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006291/0.1452, allocations: 0.6464 MB / 466.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1452, allocations: 0 / 466.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.1452, allocations: 0 / 466.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.592e-06/0.1452, allocations: 0 / 466.8 MB, free: 13.82 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001469/0.1467, allocations: 0.7738 MB / 467.6 MB, free: 13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1468, allocations: 8.031 kB / 467.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006374/0.1474, allocations: 92.22 kB / 467.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006012/0.148, allocations: 399.2 kB / 468.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.1481, allocations: 33.36 kB / 468.1 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.1482, allocations: 44.11 kB / 468.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009607/0.1492, allocations: 0.6954 MB / 468.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.1492, allocations: 4 kB / 468.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.115e-05/0.1493, allocations: 19.92 kB / 468.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000222/0.1495, allocations: 68.94 kB / 468.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009953/0.1505, allocations: 0.6635 MB / 469.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003474/0.154, allocations: 2.662 MB / 472.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005697/0.1546, allocations: 318.9 kB / 472.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.1549, allocations: 201.7 kB / 472.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/0.1549, allocations: 7.984 kB / 472.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.155, allocations: 46.5 kB / 472.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 4.579e-06/0.155, allocations: 0 / 472.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.00215/0.1571, allocations: 1.286 MB / 474.1 MB, free: 6.156 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.1572, allocations: 85.11 kB / 474.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.1575, allocations: 287.2 kB / 474.5 MB, free: 5.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.1575, allocations: 29.83 kB / 474.5 MB, free: 5.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.1577, allocations: 255.6 kB / 474.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.1578, allocations: 142 kB / 474.9 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.1579, allocations: 90.02 kB / 475 MB, free: 5.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1581, allocations: 342.8 kB / 475.3 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/0.1583, allocations: 196.8 kB / 475.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/0.1587, allocations: 325.3 kB / 475.8 MB, free: 4.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006676/0.1594, allocations: 0.5584 MB / 476.4 MB, free: 3.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.1594, allocations: 4 kB / 476.4 MB, free: 3.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001209/0.1606, allocations: 0.6819 MB / 477 MB, free: 3.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.1606, allocations: 7.984 kB / 477.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008145/0.1615, allocations: 483.5 kB / 477.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004411/0.1619, allocations: 117.5 kB / 477.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.1622, allocations: 88.08 kB / 477.7 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/0.1648, allocations: 3.014 MB / 480.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.1651, allocations: 19.97 kB / 480.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.454e-05/0.1652, allocations: 20 kB / 480.8 MB, free: 15 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002828/0.1654, allocations: 213.7 kB / 481 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.713e-05/0.1656, allocations: 43.45 kB / 481 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007448/0.1663, allocations: 464.7 kB / 481.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.672e-05/0.1664, allocations: 8 kB / 481.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.1664, allocations: 0 / 481.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.1664, allocations: 4.172 kB / 481.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.1678, allocations: 1.017 MB / 482.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.1679, allocations: 4 kB / 482.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/0.1682, allocations: 75.81 kB / 482.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.1682, allocations: 4 kB / 482.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/0.1683, allocations: 11.98 kB / 482.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1683, allocations: 0 / 482.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.1683, allocations: 8.062 kB / 482.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009413/0.1692, allocations: 0.7395 MB / 483.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.1694, allocations: 144.7 kB / 483.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.1694, allocations: 8 kB / 483.5 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.1697, allocations: 23.97 kB / 483.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.27e-05/0.1697, allocations: 23.92 kB / 483.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.1698, allocations: 7.984 kB / 483.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001995/0.17, allocations: 211.1 kB / 483.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.17, allocations: 0 / 483.8 MB, free: 11.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005532/0.1705, allocations: 108 kB / 483.9 MB, free: 11.78 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (30): * Single equations (assignments): 27 * Array equations: 2 * 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.0002455/0.1708, allocations: 139.1 kB / 484 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.1718, allocations: 0.7045 MB / 484.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1718, allocations: 1.125 kB / 484.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002729/0.1721, allocations: 211.9 kB / 484.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005162/0.1727, allocations: 64.62 kB / 485 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.1748, allocations: 1.299 MB / 486.3 MB, free: 9.301 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005387/0.1754, allocations: 0.8704 MB / 487.1 MB, free: 8.406 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003232/0.1757, allocations: 107.2 kB / 487.3 MB, free: 8.301 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.096e-05/0.1758, allocations: 35.42 kB / 487.3 MB, free: 8.266 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1758, allocations: 7.938 kB / 487.3 MB, free: 8.258 MB / 366.1 MB Notification: Performance of Templates: time 0.008993/0.1848, allocations: 4.046 MB / 491.3 MB, free: 4.234 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1)