Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 113.9 kB / 17.07 MB, free: 5.988 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.001167/0.001167, allocations: 196 kB / 18.01 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1767/0.1767, allocations: 38.03 MB / 329.9 MB, free: 8.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 59.91 kB / 458.1 MB, free: 6.809 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3663, allocations: 58.06 MB / 0.5041 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.002813/0.3691, allocations: 2.04 MB / 0.5061 GB, free: 6.383 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007158/0.3699, allocations: 0.5241 MB / 0.5066 GB, free: 6.031 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.43e-05/0.3699, allocations: 0 / 0.5066 GB, free: 6.031 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.3701, allocations: 10.92 kB / 0.5066 GB, free: 6.027 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.601e-05/0.3702, allocations: 29.11 kB / 0.5066 GB, free: 6.012 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.3705, allocations: 71.2 kB / 0.5067 GB, free: 5.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.3707, allocations: 56.3 kB / 0.5068 GB, free: 5.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.409e-05/0.3707, allocations: 6.875 kB / 0.5068 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.939e-05/0.3708, allocations: 37.62 kB / 0.5068 GB, free: 5.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.001e-05/0.3708, allocations: 30.19 kB / 0.5068 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.937e-06/0.3709, allocations: 1.219 kB / 0.5068 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.371, allocations: 75.02 kB / 0.5069 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.986e-05/0.3711, allocations: 11.66 kB / 0.5069 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.3711, allocations: 17 kB / 0.5069 GB, free: 5.891 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.3713, allocations: 95.5 kB / 0.507 GB, free: 5.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3713, allocations: 4 kB / 0.507 GB, free: 5.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3713, allocations: 1.094 kB / 0.507 GB, free: 5.867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3714, allocations: 0 / 0.507 GB, free: 5.867 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00035/0.3717, allocations: 386.3 kB / 0.5074 GB, free: 5.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3718, allocations: 14.55 kB / 0.5074 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.3718, allocations: 11.28 kB / 0.5074 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.3719, allocations: 179.5 kB / 0.5076 GB, free: 5.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3719, allocations: 1.438 kB / 0.5076 GB, free: 5.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.3719, allocations: 5.469 kB / 0.5076 GB, free: 5.246 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.3721, allocations: 59.31 kB / 0.5077 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.3721, allocations: 0 / 0.5077 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3721, allocations: 2.016 kB / 0.5077 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3721, allocations: 0 / 0.5077 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.847e-05/0.3721, allocations: 17.83 kB / 0.5077 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001/0.3722, allocations: 168.6 kB / 0.5078 GB, free: 5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.37e-05/0.3723, allocations: 43.14 kB / 0.5079 GB, free: 4.969 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.3724, allocations: 37.69 kB / 0.5079 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.3724, allocations: 4.609 kB / 0.5079 GB, free: 4.945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.3724, allocations: 34.5 kB / 0.508 GB, free: 4.902 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.3724, allocations: 0 / 0.508 GB, free: 4.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002192/0.3726, allocations: 136.5 kB / 0.5081 GB, free: 4.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.3727, allocations: 84.42 kB / 0.5082 GB, free: 4.738 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.104e-05/0.3728, allocations: 116.1 kB / 0.5083 GB, free: 4.633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.3728, allocations: 27.17 kB / 0.5083 GB, free: 4.602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.313e-05/0.3728, allocations: 86.61 kB / 0.5084 GB, free: 4.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.3729, allocations: 29.33 kB / 0.5084 GB, free: 4.492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.3729, allocations: 21.73 kB / 0.5084 GB, free: 4.473 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.806e-05/0.373, allocations: 318.7 kB / 0.5087 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.007e-05/0.373, allocations: 20.92 kB / 0.5088 GB, free: 4.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.923e-05/0.373, allocations: 21.77 kB / 0.5088 GB, free: 4.148 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.3731, allocations: 127 kB / 0.5089 GB, free: 4.066 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3731, allocations: 384 / 0.5089 GB, free: 4.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001287/0.3733, allocations: 124.6 kB / 0.509 GB, free: 3.988 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4e-05/0.3733, allocations: 46.05 kB / 0.5091 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3733, allocations: 3.938 kB / 0.5091 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.3734, allocations: 3.938 kB / 0.5091 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.387e-06/0.3734, allocations: 1.969 kB / 0.5091 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3734, allocations: 0 / 0.5091 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.351e-05/0.3734, allocations: 1.469 kB / 0.5091 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.3734, allocations: 3.375 kB / 0.5091 GB, free: 3.945 MB / 382.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 8.415e-05/0.3735, allocations: 164.5 kB / 0.5092 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.3735, allocations: 8.312 kB / 0.5092 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.368e-05/0.3736, allocations: 10.17 kB / 0.5093 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3736, allocations: 1.766 kB / 0.5093 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3736, allocations: 0 / 0.5093 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3736, allocations: 0 / 0.5093 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.368e-05/0.3737, allocations: 174.2 kB / 0.5094 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3737, allocations: 0 / 0.5094 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.3737, allocations: 0 / 0.5094 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3737, allocations: 1.609 kB / 0.5094 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.3737, allocations: 2.875 kB / 0.5094 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.3737, allocations: 0 / 0.5094 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3737, allocations: 1.062 kB / 0.5094 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.3739, allocations: 220.1 kB / 0.5096 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.3739, allocations: 80.09 kB / 0.5097 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.374, allocations: 2.188 kB / 0.5097 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.694e-05/0.374, allocations: 1.828 kB / 0.5097 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.374, allocations: 2.375 kB / 0.5097 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.374, allocations: 3.219 kB / 0.5097 GB, free: 3.355 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.414e-05/0.3741, allocations: 94.91 kB / 0.5098 GB, free: 3.273 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3741, allocations: 4.031 kB / 0.5098 GB, free: 3.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002212/0.3743, allocations: 27.19 kB / 0.5098 GB, free: 3.266 MB / 382.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.0001413/0.3744, allocations: 112.1 kB / 0.51 GB, free: 3.176 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002612/0.3747, allocations: 202.6 kB / 0.5101 GB, free: 3.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3747, allocations: 0 / 0.5101 GB, free: 3.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.3748, allocations: 148.1 kB / 0.5103 GB, free: 2.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.3751, allocations: 15.91 kB / 0.5103 GB, free: 2.973 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003454/0.3754, allocations: 228 kB / 0.5105 GB, free: 2.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.3755, allocations: 0.695 MB / 0.5112 GB, free: 2.121 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.257e-05/0.3755, allocations: 5.938 kB / 0.5112 GB, free: 2.117 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.768e-06/0.3756, allocations: 8.5 kB / 0.5112 GB, free: 2.109 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3756, allocations: 0 / 0.5112 GB, free: 2.109 MB / 382.1 MB Notification: Performance of Templates: time 0.003356/0.3789, allocations: 1.067 MB / 0.5123 GB, free: 2.004 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1)