Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001732/0.001733, allocations: 102.2 kB / 17.06 MB, free: 6.016 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.002261/0.002261, allocations: 195 kB / 18 MB, free: 5.094 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.685/1.685, allocations: 205.1 MB / 223.9 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1759/0.1759, allocations: 37.99 MB / 309.2 MB, free: 5.961 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.001432/0.001432, allocations: 75.89 kB / 431.9 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1432, allocations: 55.24 MB / 487.1 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003772/0.147, allocations: 2.048 MB / 489.2 MB, free: 6.277 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009785/0.148, allocations: 0.5698 MB / 489.7 MB, free: 5.703 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.82e-05/0.1481, allocations: 0 / 489.7 MB, free: 5.703 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.1483, allocations: 7.875 kB / 489.7 MB, free: 5.695 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.955e-05/0.1484, allocations: 35.83 kB / 489.8 MB, free: 5.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.1488, allocations: 55.84 kB / 489.8 MB, free: 5.605 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.1489, allocations: 75.69 kB / 489.9 MB, free: 5.531 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.209e-05/0.149, allocations: 0 / 489.9 MB, free: 5.531 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.84e-05/0.1491, allocations: 23.91 kB / 489.9 MB, free: 5.508 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.853e-05/0.1491, allocations: 35.86 kB / 490 MB, free: 5.473 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.1491, allocations: 0 / 490 MB, free: 5.473 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.1493, allocations: 71.89 kB / 490 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.997e-05/0.1494, allocations: 27.91 kB / 490.1 MB, free: 5.375 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.748e-05/0.1494, allocations: 35.62 kB / 490.1 MB, free: 5.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.1496, allocations: 123.6 kB / 490.2 MB, free: 5.219 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.1496, allocations: 7.922 kB / 490.2 MB, free: 5.211 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1496, allocations: 0 / 490.2 MB, free: 5.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.279e-06/0.1496, allocations: 4 kB / 490.2 MB, free: 5.207 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005436/0.1502, allocations: 428.8 kB / 490.6 MB, free: 4.734 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1502, allocations: 15.89 kB / 490.7 MB, free: 4.719 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.155e-05/0.1503, allocations: 12.75 kB / 490.7 MB, free: 4.707 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.1505, allocations: 192 kB / 490.9 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-06/0.1505, allocations: 384 / 490.9 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.1505, allocations: 12.12 kB / 490.9 MB, free: 4.469 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.1507, allocations: 85.67 kB / 491 MB, free: 4.379 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1507, allocations: 0 / 491 MB, free: 4.379 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.1507, allocations: 0 / 491 MB, free: 4.379 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1507, allocations: 0 / 491 MB, free: 4.379 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.1508, allocations: 55.98 kB / 491 MB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002915/0.1511, allocations: 189.5 kB / 491.2 MB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.1513, allocations: 98.69 kB / 491.3 MB, free: 3.984 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.1514, allocations: 89.02 kB / 491.4 MB, free: 3.895 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.99e-06/0.1514, allocations: 0 / 491.4 MB, free: 3.895 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.1514, allocations: 30.56 kB / 491.4 MB, free: 3.855 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 8.01e-07/0.1514, allocations: 0 / 491.4 MB, free: 3.855 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0005222/0.152, allocations: 303 kB / 491.7 MB, free: 3.547 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.1521, allocations: 109.1 kB / 491.8 MB, free: 3.422 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.1522, allocations: 129.8 kB / 491.9 MB, free: 3.285 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.1522, allocations: 25.7 kB / 492 MB, free: 3.254 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.732e-05/0.1523, allocations: 92.56 kB / 492.1 MB, free: 3.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.344e-05/0.1524, allocations: 78.77 kB / 492.1 MB, free: 3.082 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.1524, allocations: 25.7 kB / 492.2 MB, free: 3.051 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1526, allocations: 326.8 kB / 492.5 MB, free: 2.723 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.699e-05/0.1526, allocations: 63.97 kB / 492.5 MB, free: 2.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.734e-05/0.1527, allocations: 56.59 kB / 492.6 MB, free: 2.605 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.1529, allocations: 256 kB / 492.8 MB, free: 2.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1529, allocations: 0 / 492.8 MB, free: 2.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002276/0.1532, allocations: 219.2 kB / 493.1 MB, free: 2.113 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.915e-05/0.1532, allocations: 69.59 kB / 493.1 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1532, allocations: 0 / 493.1 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1533, allocations: 0 / 493.1 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.1533, allocations: 0 / 493.1 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1533, allocations: 0 / 493.1 MB, free: 2.039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.398e-05/0.1533, allocations: 15.97 kB / 493.1 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.1534, allocations: 8 kB / 493.2 MB, free: 2.016 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001494/0.1535, allocations: 195.4 kB / 493.3 MB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.1536, allocations: 19.8 kB / 493.4 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.631e-05/0.1536, allocations: 9.188 kB / 493.4 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.1536, allocations: 0 / 493.4 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1536, allocations: 0 / 493.4 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1536, allocations: 0 / 493.4 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.1538, allocations: 209.2 kB / 493.6 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1538, allocations: 0 / 493.6 MB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1538, allocations: 4 kB / 493.6 MB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.1538, allocations: 0 / 493.6 MB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.1538, allocations: 4 kB / 493.6 MB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.1538, allocations: 4 kB / 493.6 MB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1538, allocations: 0 / 493.6 MB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/0.1544, allocations: 0.506 MB / 494.1 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.989e-05/0.1544, allocations: 92.94 kB / 494.2 MB, free: 0.875 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.1545, allocations: 4 kB / 494.2 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.402e-05/0.1545, allocations: 8.031 kB / 494.2 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.226e-05/0.1545, allocations: 8 kB / 494.2 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.1545, allocations: 4 kB / 494.2 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.194e-05/0.1546, allocations: 103.2 kB / 494.3 MB, free: 0.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1546, allocations: 0 / 494.3 MB, free: 0.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.1549, allocations: 44 kB / 494.3 MB, free: 0.707 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0001844/0.155, allocations: 119.1 kB / 494.5 MB, free: 0.582 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.1562, allocations: 0.7139 MB / 495.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1562, allocations: 0 / 495.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005373/0.1567, allocations: 0.5657 MB / 495.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.157, allocations: 19.92 kB / 495.8 MB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006796/0.1577, allocations: 428 kB / 496.2 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.158, allocations: 0.7277 MB / 496.9 MB, free: 14.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.806e-05/0.158, allocations: 4 kB / 496.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.356e-05/0.158, allocations: 11.44 kB / 496.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.158, allocations: 0 / 496.9 MB, free: 14.04 MB / 382.1 MB Notification: Performance of Templates: time 0.004847/0.1629, allocations: 1.975 MB / 498.9 MB, free: 12.07 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1)