Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009716/0.0009716, allocations: 90.72 kB / 16.65 MB, free: 6.535 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.001095/0.001095, allocations: 177 kB / 17.56 MB, free: 6.18 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.476/1.476, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.181/0.181, allocations: 38.04 MB / 310.1 MB, free: 5.922 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.0005397/0.0005399, allocations: 15.12 kB / 377.2 MB, free: 2.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.265, allocations: 56.33 MB / 433.5 MB, free: 18.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.002129/0.2672, allocations: 1.75 MB / 435.2 MB, free: 16.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007553/0.268, allocations: 0.5699 MB / 435.8 MB, free: 16.36 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.691e-05/0.2681, allocations: 0 / 435.8 MB, free: 16.36 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.2682, allocations: 11.86 kB / 435.8 MB, free: 16.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.2684, allocations: 31.89 kB / 435.9 MB, free: 16.31 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.2687, allocations: 51.86 kB / 435.9 MB, free: 16.26 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.2688, allocations: 107.8 kB / 436 MB, free: 16.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.58e-05/0.2689, allocations: 4 kB / 436 MB, free: 16.15 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.591e-05/0.269, allocations: 31.84 kB / 436 MB, free: 16.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.905e-05/0.269, allocations: 35.84 kB / 436.1 MB, free: 16.09 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.378e-06/0.2691, allocations: 0 / 436.1 MB, free: 16.09 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.2692, allocations: 75.84 kB / 436.2 MB, free: 16.01 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.436e-05/0.2693, allocations: 19.92 kB / 436.2 MB, free: 15.99 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.643e-05/0.2693, allocations: 37.58 kB / 436.2 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.2695, allocations: 117.6 kB / 436.3 MB, free: 15.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2695, allocations: 0 / 436.3 MB, free: 15.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2695, allocations: 3.938 kB / 436.3 MB, free: 15.83 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.2695, allocations: 4 kB / 436.3 MB, free: 15.83 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000331/0.2699, allocations: 389 kB / 436.7 MB, free: 15.39 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.2699, allocations: 8.031 kB / 436.7 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.27, allocations: 8.844 kB / 436.7 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.2701, allocations: 188.2 kB / 436.9 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.735e-06/0.2701, allocations: 384 / 436.9 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.2701, allocations: 4.125 kB / 436.9 MB, free: 15.15 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.2703, allocations: 61.62 kB / 437 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.2703, allocations: 0 / 437 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-06/0.2703, allocations: 0 / 437 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2703, allocations: 0 / 437 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.182e-05/0.2704, allocations: 35.97 kB / 437 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.2705, allocations: 165.6 kB / 437.2 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.821e-05/0.2706, allocations: 62.56 kB / 437.2 MB, free: 14.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.151e-05/0.2706, allocations: 44.81 kB / 437.3 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.2706, allocations: 224 / 437.3 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.2707, allocations: 38.5 kB / 437.3 MB, free: 14.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.2707, allocations: 3.938 kB / 437.3 MB, free: 14.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002542/0.2709, allocations: 171.3 kB / 437.5 MB, free: 14.49 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.271, allocations: 93.12 kB / 437.6 MB, free: 14.38 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.993e-05/0.2711, allocations: 117.8 kB / 437.7 MB, free: 14.26 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.2711, allocations: 29.7 kB / 437.7 MB, free: 14.22 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.789e-05/0.2711, allocations: 96.11 kB / 437.8 MB, free: 14.12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.2712, allocations: 35.45 kB / 437.9 MB, free: 14.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-05/0.2712, allocations: 13.72 kB / 437.9 MB, free: 14.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.791e-05/0.2712, allocations: 322.8 kB / 438.2 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.652e-05/0.2713, allocations: 27.98 kB / 438.2 MB, free: 13.72 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.133e-05/0.2713, allocations: 35.7 kB / 438.2 MB, free: 13.69 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.2714, allocations: 164.1 kB / 438.4 MB, free: 13.51 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2715, allocations: 0 / 438.4 MB, free: 13.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001426/0.2716, allocations: 151.2 kB / 438.5 MB, free: 13.35 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.235e-05/0.2717, allocations: 45.69 kB / 438.6 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2717, allocations: 0 / 438.6 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.2717, allocations: 0 / 438.6 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.2717, allocations: 0 / 438.6 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2717, allocations: 0 / 438.6 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.204e-05/0.2718, allocations: 7.938 kB / 438.6 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.2718, allocations: 0 / 438.6 MB, free: 13.29 MB / 318.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 9.357e-05/0.2719, allocations: 179.5 kB / 438.8 MB, free: 13.1 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.2719, allocations: 11.84 kB / 438.8 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.233e-05/0.2719, allocations: 8.375 kB / 438.8 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2719, allocations: 0 / 438.8 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.272, allocations: 4 kB / 438.8 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.272, allocations: 0 / 438.8 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.239e-05/0.272, allocations: 177.4 kB / 439 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.2721, allocations: 4 kB / 439 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.403e-06/0.2721, allocations: 0 / 439 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2721, allocations: 3.938 kB / 439 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.2721, allocations: 8 kB / 439 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.2721, allocations: 0 / 439 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.2721, allocations: 4 kB / 439 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.2723, allocations: 278.6 kB / 439.3 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.297e-05/0.2724, allocations: 84.95 kB / 439.3 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.2724, allocations: 4 kB / 439.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.869e-05/0.2724, allocations: 0 / 439.4 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.949e-05/0.2724, allocations: 12.03 kB / 439.4 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.2724, allocations: 4 kB / 439.4 MB, free: 12.42 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.297e-05/0.2725, allocations: 91.27 kB / 439.5 MB, free: 12.33 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2725, allocations: 0 / 439.5 MB, free: 12.33 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.2727, allocations: 32 kB / 439.5 MB, free: 12.3 MB / 318.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.0001637/0.2729, allocations: 111.2 kB / 439.6 MB, free: 12.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002391/0.2732, allocations: 291.2 kB / 439.9 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2732, allocations: 4 kB / 439.9 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.2733, allocations: 227.4 kB / 440.1 MB, free: 11.64 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.2736, allocations: 19.75 kB / 440.1 MB, free: 11.62 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004092/0.274, allocations: 293 kB / 440.4 MB, free: 11.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.2742, allocations: 0.7044 MB / 441.1 MB, free: 10.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.927e-05/0.2742, allocations: 3.938 kB / 441.1 MB, free: 10.58 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.008e-05/0.2742, allocations: 7.438 kB / 441.1 MB, free: 10.57 MB / 318.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2742, allocations: 7.938 kB / 441.1 MB, free: 10.57 MB / 318.1 MB Notification: Performance of Templates: time 0.003576/0.2778, allocations: 1.192 MB / 442.3 MB, free: 9.379 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) Environment - environmentSimulation: