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.001233/0.001233, allocations: 107.3 kB / 17.69 MB, free: 5.496 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.001189/0.001189, allocations: 188.1 kB / 18.62 MB, free: 4.578 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.202/1.202, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1625/0.1625, allocations: 37.98 MB / 309.8 MB, free: 5.969 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.001328/0.001328, allocations: 64.47 kB / 432.5 MB, free: 15.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0862/0.08753, allocations: 55.24 MB / 487.7 MB, free: 8.48 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.002955/0.09053, allocations: 2.044 MB / 489.8 MB, free: 6.414 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007149/0.09126, allocations: 0.5659 MB / 490.3 MB, free: 5.844 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.776e-05/0.09131, allocations: 0 / 490.3 MB, free: 5.844 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.09144, allocations: 15.92 kB / 490.3 MB, free: 5.828 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.666e-05/0.09153, allocations: 23.84 kB / 490.4 MB, free: 5.805 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.09183, allocations: 59.84 kB / 490.4 MB, free: 5.746 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.09195, allocations: 67.7 kB / 490.5 MB, free: 5.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.807e-05/0.092, allocations: 8 kB / 490.5 MB, free: 5.672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.479e-05/0.09207, allocations: 27.91 kB / 490.5 MB, free: 5.645 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.415e-05/0.09212, allocations: 27.84 kB / 490.6 MB, free: 5.617 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.676e-06/0.09214, allocations: 0 / 490.6 MB, free: 5.617 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.09228, allocations: 79.83 kB / 490.6 MB, free: 5.539 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.7e-05/0.09234, allocations: 31.84 kB / 490.7 MB, free: 5.508 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.09238, allocations: 31.69 kB / 490.7 MB, free: 5.477 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.09255, allocations: 127.6 kB / 490.8 MB, free: 5.352 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.09256, allocations: 3.938 kB / 490.8 MB, free: 5.348 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.09257, allocations: 0 / 490.8 MB, free: 5.348 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.09258, allocations: 4 kB / 490.8 MB, free: 5.344 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.0003896/0.09297, allocations: 432.8 kB / 491.3 MB, free: 4.867 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.09301, allocations: 15.89 kB / 491.3 MB, free: 4.852 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.09305, allocations: 12.75 kB / 491.3 MB, free: 4.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.09321, allocations: 184.2 kB / 491.5 MB, free: 4.621 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.09323, allocations: 384 / 491.5 MB, free: 4.621 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.09324, allocations: 4.125 kB / 491.5 MB, free: 4.617 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.09337, allocations: 89.67 kB / 491.6 MB, free: 4.523 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.09339, allocations: 0 / 491.6 MB, free: 4.523 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.0934, allocations: 4 kB / 491.6 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.09341, allocations: 0 / 491.6 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.252e-05/0.0935, allocations: 63.91 kB / 491.6 MB, free: 4.457 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.09365, allocations: 177.5 kB / 491.8 MB, free: 4.234 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.883e-05/0.09376, allocations: 98.77 kB / 491.9 MB, free: 4.129 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.939e-05/0.09384, allocations: 89 kB / 492 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.936e-06/0.09386, allocations: 4 kB / 492 MB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.09389, allocations: 38.56 kB / 492 MB, free: 3.988 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.133e-06/0.09389, allocations: 0 / 492 MB, free: 3.988 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0003417/0.09424, allocations: 302.9 kB / 492.3 MB, free: 3.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.0943, allocations: 93.11 kB / 492.4 MB, free: 3.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.488e-05/0.0944, allocations: 141.7 kB / 492.5 MB, free: 3.422 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.09441, allocations: 25.7 kB / 492.6 MB, free: 3.391 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.09447, allocations: 92.58 kB / 492.7 MB, free: 3.297 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.301e-05/0.09454, allocations: 82.73 kB / 492.7 MB, free: 3.215 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.09458, allocations: 33.73 kB / 492.8 MB, free: 3.176 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.09469, allocations: 326.8 kB / 493.1 MB, free: 2.848 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.437e-05/0.09475, allocations: 55.98 kB / 493.1 MB, free: 2.793 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.184e-05/0.0948, allocations: 56.58 kB / 493.2 MB, free: 2.738 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.095, allocations: 248.1 kB / 493.4 MB, free: 2.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.09501, allocations: 0 / 493.4 MB, free: 2.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002018/0.09521, allocations: 227.1 kB / 493.7 MB, free: 2.246 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.39e-05/0.09528, allocations: 61.67 kB / 493.7 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.09529, allocations: 0 / 493.7 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.09532, allocations: 8.047 kB / 493.7 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.09532, allocations: 0 / 493.7 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.09533, allocations: 7.984 kB / 493.7 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.239e-05/0.09537, allocations: 11.91 kB / 493.8 MB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.0954, allocations: 7.938 kB / 493.8 MB, free: 2.145 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.0001384/0.09554, allocations: 195.4 kB / 494 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.09557, allocations: 15.81 kB / 494 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.384e-05/0.09558, allocations: 9.188 kB / 494 MB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.09559, allocations: 4 kB / 494 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.0956, allocations: 7.984 kB / 494 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.09561, allocations: 0 / 494 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.09574, allocations: 205.2 kB / 494.2 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.09575, allocations: 0 / 494.2 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.09575, allocations: 0 / 494.2 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.09576, allocations: 0 / 494.2 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.09578, allocations: 4 kB / 494.2 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.09578, allocations: 0 / 494.2 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.09579, allocations: 0 / 494.2 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004929/0.09628, allocations: 0.5177 MB / 494.7 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.09633, allocations: 88.95 kB / 494.8 MB, free: 1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.09636, allocations: 4 kB / 494.8 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.448e-05/0.09639, allocations: 4 kB / 494.8 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.845e-05/0.09641, allocations: 3.984 kB / 494.8 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.09643, allocations: 4 kB / 494.8 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.499e-05/0.09648, allocations: 103.3 kB / 494.9 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09649, allocations: 0 / 494.9 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002206/0.09671, allocations: 48 kB / 495 MB, free: 0.8359 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.0001604/0.09688, allocations: 119.1 kB / 495.1 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006131/0.0975, allocations: 0.7022 MB / 495.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.09752, allocations: 4 kB / 495.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004035/0.09792, allocations: 0.5695 MB / 496.4 MB, free: 15.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.09814, allocations: 23.94 kB / 496.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/0.0987, allocations: 457.8 kB / 496.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.09896, allocations: 0.7237 MB / 497.5 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.163e-05/0.09897, allocations: 7.438 kB / 497.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.09898, allocations: 0 / 497.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of Templates: time 0.002903/0.1019, allocations: 1.714 MB / 499.3 MB, free: 12.43 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)