Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.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.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009864/0.0009864, allocations: 93.53 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.001054/0.001054, allocations: 183.9 kB / 17.2 MB, free: 5.914 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.503/1.503, allocations: 205.4 MB / 223.4 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3496/0.3496, allocations: 38.05 MB / 309.7 MB, free: 9.004 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.0005362/0.0005362, allocations: 16 kB / 376.5 MB, free: 15.28 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.149, allocations: 56.33 MB / 432.8 MB, free: 6.844 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.005988/0.155, allocations: 4.359 MB / 437.2 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003096/0.1582, allocations: 1.669 MB / 438.8 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003234/0.1585, allocations: 23.81 kB / 438.9 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.1587, allocations: 67.5 kB / 438.9 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006949/0.1594, allocations: 263.2 kB / 439.2 MB, free: 448 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006971/0.1601, allocations: 239.5 kB / 439.4 MB, free: 208 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004728/0.1606, allocations: 359.7 kB / 439.8 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007905/0.1614, allocations: 484.2 kB / 440.3 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003159/0.1618, allocations: 211.2 kB / 440.5 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005357/0.1623, allocations: 291.1 kB / 440.7 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.218e-05/0.1624, allocations: 20 kB / 440.8 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.1626, allocations: 95.84 kB / 440.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002202/0.1628, allocations: 207.5 kB / 441.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.163, allocations: 109.5 kB / 441.2 MB, free: 14.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004894/0.1635, allocations: 494.8 kB / 441.6 MB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.1635, allocations: 0 / 441.6 MB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1635, allocations: 0 / 441.6 MB, free: 13.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.1635, allocations: 0 / 441.6 MB, free: 13.94 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001921/0.1654, allocations: 0.7931 MB / 442.4 MB, free: 13.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.1655, allocations: 16.03 kB / 442.5 MB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005928/0.1661, allocations: 95.19 kB / 442.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.1671, allocations: 478.7 kB / 443 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.925e-05/0.1671, allocations: 32.98 kB / 443 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.1673, allocations: 51.94 kB / 443.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009538/0.1683, allocations: 0.6878 MB / 443.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.1683, allocations: 0 / 443.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.835e-05/0.1683, allocations: 20 kB / 443.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/0.1685, allocations: 36.92 kB / 443.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000775/0.1692, allocations: 0.5267 MB / 444.4 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003713/0.173, allocations: 3.098 MB / 447.5 MB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005579/0.1735, allocations: 329.2 kB / 447.8 MB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.1736, allocations: 12 kB / 447.8 MB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.1736, allocations: 34.56 kB / 447.8 MB, free: 7.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=31): time 1.593e-06/0.1736, allocations: 0 / 447.8 MB, free: 7.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=32): time 0.001897/0.1755, allocations: 1.208 MB / 449 MB, free: 6.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.1756, allocations: 89.03 kB / 449.1 MB, free: 6.051 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004124/0.176, allocations: 389.5 kB / 449.5 MB, free: 5.664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.176, allocations: 33.7 kB / 449.5 MB, free: 5.625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.1762, allocations: 295.2 kB / 449.8 MB, free: 5.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.229e-05/0.1763, allocations: 114.4 kB / 449.9 MB, free: 5.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.1764, allocations: 16.12 kB / 450 MB, free: 5.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1765, allocations: 358.8 kB / 450.3 MB, free: 4.844 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.1768, allocations: 189 kB / 450.5 MB, free: 4.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/0.1772, allocations: 373.5 kB / 450.9 MB, free: 4.207 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003469/0.1776, allocations: 255.8 kB / 451.1 MB, free: 3.957 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1776, allocations: 0 / 451.1 MB, free: 3.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002007/0.1796, allocations: 0.8491 MB / 452 MB, free: 3.094 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.1796, allocations: 8 kB / 452 MB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.1796, allocations: 8 kB / 452 MB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/0.1812, allocations: 309.9 kB / 452.3 MB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000641/0.1819, allocations: 147.7 kB / 452.4 MB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2865/0.4684, allocations: 3.906 MB / 456.3 MB, free: 49.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005935/0.469, allocations: 35.17 kB / 456.4 MB, free: 49.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.022e-05/0.4691, allocations: 28.78 kB / 456.4 MB, free: 49.76 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * Array equations: 0 * 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: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003066/0.4694, allocations: 228 kB / 456.6 MB, free: 49.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.087e-05/0.4695, allocations: 38.84 kB / 456.6 MB, free: 49.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000737/0.4702, allocations: 494.7 kB / 457.1 MB, free: 49.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.4702, allocations: 9.531 kB / 457.1 MB, free: 49.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.4702, allocations: 2.781 kB / 457.1 MB, free: 49.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.4702, allocations: 3.75 kB / 457.1 MB, free: 49.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.4715, allocations: 1.02 MB / 458.2 MB, free: 49.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4715, allocations: 1.094 kB / 458.2 MB, free: 49.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004232/0.472, allocations: 95.5 kB / 458.3 MB, free: 49.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.472, allocations: 0 / 458.3 MB, free: 49.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.472, allocations: 15.84 kB / 458.3 MB, free: 49.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.472, allocations: 2.875 kB / 458.3 MB, free: 49.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.472, allocations: 3.266 kB / 458.3 MB, free: 49.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008149/0.4729, allocations: 0.7849 MB / 459.1 MB, free: 49.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.367e-05/0.473, allocations: 114.4 kB / 459.2 MB, free: 49 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.46e-05/0.473, allocations: 10.14 kB / 459.2 MB, free: 49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.4733, allocations: 16.33 kB / 459.2 MB, free: 49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.4733, allocations: 26.36 kB / 459.2 MB, free: 49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.4733, allocations: 9.562 kB / 459.2 MB, free: 49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002326/0.4736, allocations: 270.2 kB / 459.5 MB, free: 48.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4736, allocations: 0 / 459.5 MB, free: 48.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005197/0.4741, allocations: 125.9 kB / 459.6 MB, free: 48.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * 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.0001372/0.4743, allocations: 109 kB / 459.7 MB, free: 48.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.4756, allocations: 0.8052 MB / 460.5 MB, free: 48.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4756, allocations: 0 / 460.5 MB, free: 48.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002458/0.4759, allocations: 205.1 kB / 460.7 MB, free: 48.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.4763, allocations: 79.58 kB / 460.8 MB, free: 48.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.4781, allocations: 1.535 MB / 462.4 MB, free: 47.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.4785, allocations: 0.9098 MB / 463.3 MB, free: 47.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003118/0.4788, allocations: 126.8 kB / 463.4 MB, free: 47.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.4789, allocations: 39.23 kB / 463.4 MB, free: 47.11 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4789, allocations: 0 / 463.4 MB, free: 47.11 MB / 382.1 MB Notification: Performance of Templates: time 0.009732/0.4886, allocations: 5.657 MB / 469.1 MB, free: 46.79 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1) Environment - environmentSimulation: