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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.0009123/0.0009123, allocations: 91.84 kB / 16.3 MB, free: 5.996 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.0009746/0.0009748, allocations: 187.2 kB / 17.2 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.4 MB / 223.4 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3881/0.3881, allocations: 38.05 MB / 309.7 MB, free: 9.02 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005528/0.0005531, allocations: 16 kB / 376.5 MB, free: 15.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.144, allocations: 56.33 MB / 432.8 MB, free: 6.828 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.005744/0.1498, allocations: 4.273 MB / 437.1 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003347/0.1532, allocations: 1.665 MB / 438.8 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005232/0.1537, allocations: 23.81 kB / 438.8 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.1541, allocations: 71.52 kB / 438.9 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.1552, allocations: 243.2 kB / 439.1 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008918/0.1561, allocations: 227.5 kB / 439.3 MB, free: 312 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006743/0.1568, allocations: 315.8 kB / 439.6 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008453/0.1577, allocations: 422.5 kB / 440 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005249/0.1582, allocations: 187.3 kB / 440.2 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006269/0.1589, allocations: 259.3 kB / 440.5 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.22e-05/0.159, allocations: 27.94 kB / 440.5 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004945/0.1595, allocations: 155.8 kB / 440.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002676/0.1597, allocations: 191.5 kB / 440.8 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.1599, allocations: 109.5 kB / 440.9 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006685/0.1606, allocations: 498.8 kB / 441.4 MB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.1606, allocations: 0 / 441.4 MB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1606, allocations: 0 / 441.4 MB, free: 14.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.905e-05/0.1607, allocations: 0 / 441.4 MB, free: 14.14 MB / 382.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.001598/0.1623, allocations: 0.6957 MB / 442.1 MB, free: 13.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.1623, allocations: 12.02 kB / 442.1 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007519/0.1631, allocations: 91.28 kB / 442.2 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007889/0.1639, allocations: 394.1 kB / 442.6 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.001e-05/0.1639, allocations: 28.98 kB / 442.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.1641, allocations: 47.97 kB / 442.7 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.1652, allocations: 0.6914 MB / 443.4 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.1653, allocations: 0 / 443.4 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.825e-05/0.1653, allocations: 15.98 kB / 443.4 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002157/0.1655, allocations: 76.94 kB / 443.5 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.1666, allocations: 0.6518 MB / 444.1 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003772/0.1704, allocations: 2.642 MB / 446.8 MB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005467/0.1709, allocations: 321.2 kB / 447.1 MB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4e-05/0.171, allocations: 12 kB / 447.1 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.171, allocations: 34.55 kB / 447.1 MB, free: 8.148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 2.756e-06/0.171, allocations: 3.938 kB / 447.1 MB, free: 8.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.002365/0.1734, allocations: 1.45 MB / 448.6 MB, free: 6.605 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.1735, allocations: 85.05 kB / 448.7 MB, free: 6.504 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.1738, allocations: 299.3 kB / 449 MB, free: 6.207 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.1738, allocations: 25.7 kB / 449 MB, free: 6.176 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.174, allocations: 247.7 kB / 449.2 MB, free: 5.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.1741, allocations: 138 kB / 449.4 MB, free: 5.789 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/0.1741, allocations: 12 kB / 449.4 MB, free: 5.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.1743, allocations: 338.8 kB / 449.7 MB, free: 5.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.1746, allocations: 188.9 kB / 449.9 MB, free: 5.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.1749, allocations: 325.3 kB / 450.2 MB, free: 4.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000321/0.1752, allocations: 243.8 kB / 450.4 MB, free: 4.641 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1752, allocations: 0 / 450.4 MB, free: 4.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001147/0.1764, allocations: 0.6819 MB / 451.1 MB, free: 3.945 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.1764, allocations: 8 kB / 451.1 MB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008667/0.1773, allocations: 487.5 kB / 451.6 MB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000449/0.1778, allocations: 117.8 kB / 451.7 MB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.1781, allocations: 87.88 kB / 451.8 MB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2673/0.4454, allocations: 3.046 MB / 454.9 MB, free: 50.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004462/0.4459, allocations: 24.19 kB / 454.9 MB, free: 50.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.352e-05/0.446, allocations: 18.84 kB / 454.9 MB, free: 50.46 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002903/0.4463, allocations: 217.2 kB / 455.1 MB, free: 50.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.4464, allocations: 34 kB / 455.1 MB, free: 50.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006996/0.4471, allocations: 472.2 kB / 455.6 MB, free: 50.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.4471, allocations: 10.5 kB / 455.6 MB, free: 50.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.4471, allocations: 0 / 455.6 MB, free: 50.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.4471, allocations: 6.719 kB / 455.6 MB, free: 50.31 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.4484, allocations: 1.019 MB / 456.6 MB, free: 50 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.4484, allocations: 2.297 kB / 456.6 MB, free: 50 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/0.4487, allocations: 73.33 kB / 456.7 MB, free: 50 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.4488, allocations: 0 / 456.7 MB, free: 50 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.4488, allocations: 8.75 kB / 456.7 MB, free: 50 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.4488, allocations: 3.125 kB / 456.7 MB, free: 50 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4488, allocations: 3.375 kB / 456.7 MB, free: 50 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008332/0.4497, allocations: 0.7817 MB / 457.5 MB, free: 49.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.4498, allocations: 137.8 kB / 457.6 MB, free: 49.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.4499, allocations: 6.719 kB / 457.7 MB, free: 49.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.4501, allocations: 26.02 kB / 457.7 MB, free: 49.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.4501, allocations: 19.61 kB / 457.7 MB, free: 49.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.4501, allocations: 14.19 kB / 457.7 MB, free: 49.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001633/0.4503, allocations: 199.3 kB / 457.9 MB, free: 49.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.4503, allocations: 0 / 457.9 MB, free: 49.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005295/0.4508, allocations: 114.3 kB / 458 MB, free: 49.62 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002054/0.4511, allocations: 119.8 kB / 458.1 MB, free: 49.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009241/0.452, allocations: 0.7064 MB / 458.8 MB, free: 49.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.452, allocations: 1.203 kB / 458.8 MB, free: 49.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002405/0.4522, allocations: 206.5 kB / 459 MB, free: 49.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.4526, allocations: 67.11 kB / 459.1 MB, free: 49.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.4542, allocations: 1.351 MB / 460.5 MB, free: 48.69 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.4545, allocations: 0.8818 MB / 461.3 MB, free: 48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002601/0.4548, allocations: 109.8 kB / 461.4 MB, free: 47.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.841e-05/0.4549, allocations: 26.41 kB / 461.5 MB, free: 47.98 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4549, allocations: 0 / 461.5 MB, free: 47.98 MB / 382.1 MB Notification: Performance of Templates: time 0.007524/0.4624, allocations: 3.965 MB / 465.4 MB, free: 47.75 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: