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.001223/0.001223, allocations: 108.3 kB / 17.7 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.001215/0.001215, allocations: 187.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.222/1.222, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1641/0.1641, allocations: 37.99 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.001387/0.001387, allocations: 64.28 kB / 432.5 MB, free: 15.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08924/0.09064, allocations: 55.24 MB / 487.7 MB, free: 8.375 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003106/0.09379, allocations: 2.052 MB / 489.8 MB, free: 6.301 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007286/0.09454, allocations: 0.5698 MB / 490.3 MB, free: 5.727 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.0946, allocations: 0 / 490.3 MB, free: 5.727 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.09473, allocations: 7.922 kB / 490.3 MB, free: 5.719 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.09486, allocations: 23.91 kB / 490.4 MB, free: 5.695 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.09515, allocations: 71.77 kB / 490.4 MB, free: 5.625 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.09527, allocations: 63.77 kB / 490.5 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.141e-05/0.09532, allocations: 8 kB / 490.5 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.327e-05/0.0954, allocations: 31.78 kB / 490.5 MB, free: 5.523 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.617e-05/0.09545, allocations: 27.91 kB / 490.6 MB, free: 5.496 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.885e-06/0.09547, allocations: 0 / 490.6 MB, free: 5.496 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.09563, allocations: 75.83 kB / 490.6 MB, free: 5.422 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.649e-05/0.09568, allocations: 19.92 kB / 490.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.09571, allocations: 15.81 kB / 490.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.09588, allocations: 111.6 kB / 490.8 MB, free: 5.277 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.09589, allocations: 0 / 490.8 MB, free: 5.277 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.0959, allocations: 0 / 490.8 MB, free: 5.277 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.09591, allocations: 0 / 490.8 MB, free: 5.277 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003576/0.09627, allocations: 405 kB / 491.2 MB, free: 4.828 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.09631, allocations: 11.89 kB / 491.2 MB, free: 4.816 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.09635, allocations: 8.844 kB / 491.2 MB, free: 4.809 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.0965, allocations: 180.3 kB / 491.4 MB, free: 4.594 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-06/0.09651, allocations: 384 / 491.4 MB, free: 4.594 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.09653, allocations: 4.125 kB / 491.4 MB, free: 4.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.09665, allocations: 61.69 kB / 491.4 MB, free: 4.523 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.09666, allocations: 3.938 kB / 491.4 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.09668, allocations: 3.938 kB / 491.5 MB, free: 4.516 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.09669, allocations: 7.984 kB / 491.5 MB, free: 4.508 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.036e-05/0.09673, allocations: 28 kB / 491.5 MB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.09687, allocations: 169.6 kB / 491.7 MB, free: 4.266 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.843e-05/0.09695, allocations: 54.56 kB / 491.7 MB, free: 4.203 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.633e-05/0.097, allocations: 48.81 kB / 491.8 MB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.826e-06/0.09702, allocations: 0 / 491.8 MB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.09704, allocations: 34.56 kB / 491.8 MB, free: 4.109 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.924e-06/0.09705, allocations: 0 / 491.8 MB, free: 4.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002476/0.0973, allocations: 187.2 kB / 492 MB, free: 3.914 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.09736, allocations: 85.11 kB / 492.1 MB, free: 3.812 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.091e-05/0.09745, allocations: 121.8 kB / 492.2 MB, free: 3.684 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.09747, allocations: 25.92 kB / 492.2 MB, free: 3.652 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.09751, allocations: 84.14 kB / 492.3 MB, free: 3.566 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.532e-05/0.09756, allocations: 47.3 kB / 492.3 MB, free: 3.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.0976, allocations: 13.72 kB / 492.3 MB, free: 3.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.0977, allocations: 326.9 kB / 492.7 MB, free: 3.172 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.788e-05/0.09775, allocations: 27.98 kB / 492.7 MB, free: 3.145 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.918e-05/0.09778, allocations: 27.98 kB / 492.7 MB, free: 3.117 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.09791, allocations: 161 kB / 492.9 MB, free: 2.945 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.09792, allocations: 0 / 492.9 MB, free: 2.945 MB / 366.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001489/0.09807, allocations: 151.1 kB / 493 MB, free: 2.785 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.467e-05/0.09813, allocations: 49.69 kB / 493.1 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.09814, allocations: 3.984 kB / 493.1 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.09816, allocations: 3.938 kB / 493.1 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.09816, allocations: 4.062 kB / 493.1 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.09817, allocations: 0 / 493.1 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.712e-05/0.0982, allocations: 7.938 kB / 493.1 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.09822, allocations: 3.938 kB / 493.1 MB, free: 2.707 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.0001057/0.09834, allocations: 167.5 kB / 493.3 MB, free: 2.527 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.09836, allocations: 11.84 kB / 493.3 MB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.193e-05/0.09838, allocations: 4.375 kB / 493.3 MB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.09838, allocations: 0 / 493.3 MB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.09839, allocations: 4 kB / 493.3 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.09841, allocations: 7.984 kB / 493.3 MB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.09852, allocations: 177.5 kB / 493.5 MB, free: 2.277 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.09853, allocations: 8 kB / 493.5 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-06/0.09853, allocations: 0 / 493.5 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.09854, allocations: 3.938 kB / 493.5 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.09855, allocations: 3.984 kB / 493.5 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.09856, allocations: 4 kB / 493.5 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.09856, allocations: 0 / 493.5 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.09884, allocations: 278.6 kB / 493.7 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.09889, allocations: 81.02 kB / 493.8 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.09891, allocations: 4 kB / 493.8 MB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.682e-05/0.09893, allocations: 0 / 493.8 MB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.09895, allocations: 4 kB / 493.8 MB, free: 1.855 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.09896, allocations: 7.984 kB / 493.8 MB, free: 1.848 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.43e-05/0.09901, allocations: 95.2 kB / 493.9 MB, free: 1.754 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09902, allocations: 0 / 493.9 MB, free: 1.754 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002107/0.09923, allocations: 35.94 kB / 494 MB, free: 1.719 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.0001574/0.0994, allocations: 115.3 kB / 494.1 MB, free: 1.598 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000294/0.0997, allocations: 291.2 kB / 494.4 MB, free: 1.301 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.09971, allocations: 4 kB / 494.4 MB, free: 1.297 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.09988, allocations: 215.3 kB / 494.6 MB, free: 1.074 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.1001, allocations: 19.92 kB / 494.6 MB, free: 1.055 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.1006, allocations: 292.9 kB / 494.9 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.1008, allocations: 0.6963 MB / 495.6 MB, free: 12 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.226e-05/0.1008, allocations: 7.438 kB / 495.6 MB, free: 4 kB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1008, allocations: 0 / 495.6 MB, free: 4 kB / 366.1 MB Notification: Performance of Templates: time 0.002622/0.1035, allocations: 1.261 MB / 496.8 MB, free: 14.74 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile (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)