Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 108.8 kB / 17.06 MB, free: 6.137 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.001191/0.001191, allocations: 191 kB / 18 MB, free: 5.219 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.378/1.378, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1809/0.1809, allocations: 38.03 MB / 329.9 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.89 kB / 458.1 MB, free: 6.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3497, allocations: 58.05 MB / 0.5041 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003607/0.3534, allocations: 2.048 MB / 0.5061 GB, free: 6.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008091/0.3542, allocations: 0.5223 MB / 0.5066 GB, free: 6.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.215e-05/0.3543, allocations: 1.906 kB / 0.5066 GB, free: 6.082 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.3544, allocations: 9.062 kB / 0.5066 GB, free: 6.078 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.064e-05/0.3546, allocations: 26.17 kB / 0.5066 GB, free: 6.066 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003594/0.3549, allocations: 68.34 kB / 0.5067 GB, free: 6.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.3551, allocations: 58.41 kB / 0.5068 GB, free: 6.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.743e-05/0.3551, allocations: 12.03 kB / 0.5068 GB, free: 6.016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.691e-05/0.3552, allocations: 32.5 kB / 0.5068 GB, free: 6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.992e-05/0.3553, allocations: 25.56 kB / 0.5068 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.3553, allocations: 0.9375 kB / 0.5068 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.3555, allocations: 82.08 kB / 0.5069 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.499e-05/0.3556, allocations: 42.14 kB / 0.507 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.433e-05/0.3556, allocations: 42.47 kB / 0.507 GB, free: 5.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.3559, allocations: 154.7 kB / 0.5071 GB, free: 5.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3559, allocations: 1.312 kB / 0.5071 GB, free: 5.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3559, allocations: 0 / 0.5071 GB, free: 5.867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.3559, allocations: 0 / 0.5071 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.000447/0.3564, allocations: 482.3 kB / 0.5076 GB, free: 5.418 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3564, allocations: 10.72 kB / 0.5076 GB, free: 5.418 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/0.3565, allocations: 17.19 kB / 0.5076 GB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.3566, allocations: 191.3 kB / 0.5078 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.3566, allocations: 5.094 kB / 0.5078 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.3567, allocations: 1.188 kB / 0.5078 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.3569, allocations: 130.1 kB / 0.5079 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.3569, allocations: 3.938 kB / 0.5079 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.3569, allocations: 0 / 0.5079 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3569, allocations: 5.281 kB / 0.508 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.357, allocations: 89.08 kB / 0.508 GB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001473/0.3572, allocations: 212.7 kB / 0.5082 GB, free: 4.879 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.3573, allocations: 154.7 kB / 0.5084 GB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.3574, allocations: 141.4 kB / 0.5085 GB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.3575, allocations: 1.188 kB / 0.5085 GB, free: 4.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.3575, allocations: 31.31 kB / 0.5086 GB, free: 4.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.052e-06/0.3575, allocations: 5.188 kB / 0.5086 GB, free: 4.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006302/0.3581, allocations: 475 kB / 0.509 GB, free: 4.539 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.3582, allocations: 107.7 kB / 0.5091 GB, free: 4.441 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.3583, allocations: 145.5 kB / 0.5093 GB, free: 4.324 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.3583, allocations: 26.8 kB / 0.5093 GB, free: 4.293 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.527e-05/0.3584, allocations: 98.27 kB / 0.5094 GB, free: 4.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.687e-05/0.3584, allocations: 130.7 kB / 0.5095 GB, free: 4.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.3585, allocations: 32.27 kB / 0.5095 GB, free: 4.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.14e-05/0.3586, allocations: 339.7 kB / 0.5099 GB, free: 3.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.3587, allocations: 93.09 kB / 0.5099 GB, free: 3.727 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.433e-05/0.3588, allocations: 95.45 kB / 0.51 GB, free: 3.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.3591, allocations: 360 kB / 0.5104 GB, free: 3.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.3591, allocations: 4 kB / 0.5104 GB, free: 3.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003458/0.3595, allocations: 328.5 kB / 0.5107 GB, free: 3.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.985e-05/0.3596, allocations: 81.12 kB / 0.5108 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.3596, allocations: 0.5625 kB / 0.5108 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.3596, allocations: 1.062 kB / 0.5108 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.3596, allocations: 4.062 kB / 0.5108 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3596, allocations: 0.6094 kB / 0.5108 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.071e-05/0.3597, allocations: 25.12 kB / 0.5108 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.3597, allocations: 10.94 kB / 0.5108 GB, free: 3.387 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 0.0001954/0.3599, allocations: 234.8 kB / 0.511 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.36, allocations: 25.77 kB / 0.5111 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.239e-05/0.36, allocations: 11.14 kB / 0.5111 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.36, allocations: 0 / 0.5111 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.36, allocations: 0 / 0.5111 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.36, allocations: 5.906 kB / 0.5111 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.3602, allocations: 229.9 kB / 0.5113 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3602, allocations: 0 / 0.5113 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.613e-06/0.3602, allocations: 0.75 kB / 0.5113 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3602, allocations: 1.375 kB / 0.5113 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.3602, allocations: 6.344 kB / 0.5113 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.3602, allocations: 0.6562 kB / 0.5113 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3602, allocations: 1 kB / 0.5113 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.3613, allocations: 0.9101 MB / 0.5122 GB, free: 2.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-05/0.3614, allocations: 96.09 kB / 0.5123 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.3615, allocations: 6.75 kB / 0.5123 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.717e-05/0.3615, allocations: 5.344 kB / 0.5123 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.3615, allocations: 10.83 kB / 0.5123 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.3616, allocations: 7.312 kB / 0.5123 GB, free: 2.602 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.387e-05/0.3616, allocations: 118.9 kB / 0.5124 GB, free: 2.516 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3616, allocations: 0 / 0.5124 GB, free: 2.516 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003198/0.362, allocations: 62.59 kB / 0.5125 GB, free: 2.512 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.0001939/0.3622, allocations: 119.7 kB / 0.5126 GB, free: 2.418 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.3637, allocations: 1.584 MB / 0.5141 GB, free: 1.598 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3637, allocations: 0 / 0.5141 GB, free: 1.598 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.3649, allocations: 1.37 MB / 0.5155 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.3651, allocations: 27.25 kB / 0.5155 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000937/0.3661, allocations: 0.6198 MB / 0.5161 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.3664, allocations: 0.7502 MB / 0.5168 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.83e-05/0.3664, allocations: 2.406 kB / 0.5169 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.658e-05/0.3665, allocations: 9.969 kB / 0.5169 GB, free: 15.86 MB / 398.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3665, allocations: 0 / 0.5169 GB, free: 15.86 MB / 398.1 MB Notification: Performance of Templates: time 0.006616/0.3731, allocations: 2.692 MB / 0.5195 GB, free: 15.64 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1)