Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 107.9 kB / 17.74 MB, free: 5.363 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.001097/0.001097, allocations: 179.1 kB / 18.66 MB, free: 4.445 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.354/1.354, allocations: 222.9 MB / 242.4 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.1765/0.1765, allocations: 38.03 MB / 330.5 MB, free: 8.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.89 kB / 458.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3337, allocations: 58.05 MB / 0.5048 GB, free: 7.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.003205/0.337, allocations: 2.095 MB / 0.5068 GB, free: 6.297 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002814/0.3398, allocations: 2.043 MB / 0.5088 GB, free: 4.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.3399, allocations: 4 kB / 0.5088 GB, free: 4.934 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.3401, allocations: 14.5 kB / 0.5088 GB, free: 4.926 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.584e-05/0.3402, allocations: 28.17 kB / 0.5088 GB, free: 4.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.3427, allocations: 0.8357 MB / 0.5097 GB, free: 4.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.3429, allocations: 76.52 kB / 0.5097 GB, free: 4.602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.3429, allocations: 5.031 kB / 0.5097 GB, free: 4.602 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.117e-05/0.343, allocations: 36.48 kB / 0.5098 GB, free: 4.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.299e-05/0.3431, allocations: 36.44 kB / 0.5098 GB, free: 4.574 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.3431, allocations: 6.219 kB / 0.5098 GB, free: 4.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002459/0.3456, allocations: 1.403 MB / 0.5112 GB, free: 4.137 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.682e-05/0.3457, allocations: 17.34 kB / 0.5112 GB, free: 4.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.479e-05/0.3457, allocations: 29.3 kB / 0.5112 GB, free: 4.113 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002181/0.3479, allocations: 1.328 MB / 0.5125 GB, free: 3.879 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3479, allocations: 0 / 0.5125 GB, free: 3.879 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3479, allocations: 0 / 0.5125 GB, free: 3.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.348, allocations: 0 / 0.5125 GB, free: 3.879 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007342/0.3487, allocations: 0.5238 MB / 0.513 GB, free: 3.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3487, allocations: 13.64 kB / 0.5131 GB, free: 3.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/0.3488, allocations: 12.53 kB / 0.5131 GB, free: 3.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.349, allocations: 192.5 kB / 0.5132 GB, free: 3.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.349, allocations: 0 / 0.5132 GB, free: 3.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.349, allocations: 9.438 kB / 0.5133 GB, free: 3.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.3492, allocations: 64.81 kB / 0.5133 GB, free: 3.121 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3492, allocations: 0.5625 kB / 0.5133 GB, free: 3.121 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.3492, allocations: 1.219 kB / 0.5133 GB, free: 3.121 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.3492, allocations: 4 kB / 0.5133 GB, free: 3.117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.574e-05/0.3493, allocations: 31.34 kB / 0.5134 GB, free: 3.113 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/0.3494, allocations: 175.2 kB / 0.5135 GB, free: 2.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.3495, allocations: 57.78 kB / 0.5136 GB, free: 2.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.742e-05/0.3496, allocations: 55.75 kB / 0.5136 GB, free: 2.848 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.3496, allocations: 0 / 0.5136 GB, free: 2.848 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.3497, allocations: 36.91 kB / 0.5137 GB, free: 2.805 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 8.42e-07/0.3497, allocations: 0 / 0.5137 GB, free: 2.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003305/0.35, allocations: 194.3 kB / 0.5138 GB, free: 2.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.3501, allocations: 86.61 kB / 0.5139 GB, free: 2.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.529e-05/0.3502, allocations: 131.8 kB / 0.5141 GB, free: 2.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.3502, allocations: 25.7 kB / 0.5141 GB, free: 2.488 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.424e-05/0.3502, allocations: 93.8 kB / 0.5142 GB, free: 2.398 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.92e-05/0.3503, allocations: 43.16 kB / 0.5142 GB, free: 2.363 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.3503, allocations: 28.47 kB / 0.5142 GB, free: 2.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.371e-05/0.3504, allocations: 329.3 kB / 0.5146 GB, free: 2.016 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.169e-05/0.3504, allocations: 34.83 kB / 0.5146 GB, free: 2.008 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.069e-05/0.3505, allocations: 32.42 kB / 0.5146 GB, free: 2.004 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.3507, allocations: 156.9 kB / 0.5148 GB, free: 1.922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3507, allocations: 0 / 0.5148 GB, free: 1.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001935/0.3509, allocations: 157.3 kB / 0.5149 GB, free: 1.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.916e-05/0.3509, allocations: 46.48 kB / 0.515 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.351, allocations: 1.031 kB / 0.515 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.351, allocations: 0 / 0.515 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.794e-06/0.351, allocations: 5.609 kB / 0.515 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.351, allocations: 0 / 0.515 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.282e-05/0.351, allocations: 3.766 kB / 0.515 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.3511, allocations: 7.75 kB / 0.515 GB, free: 1.801 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.0001019/0.3512, allocations: 168.8 kB / 0.5151 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.3512, allocations: 15.03 kB / 0.5152 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.574e-05/0.3512, allocations: 7.781 kB / 0.5152 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3512, allocations: 1.5 kB / 0.5152 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.3512, allocations: 0 / 0.5152 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3512, allocations: 4.781 kB / 0.5152 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.149e-05/0.3513, allocations: 184.2 kB / 0.5153 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3514, allocations: 0 / 0.5153 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.523e-06/0.3514, allocations: 0.75 kB / 0.5153 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-06/0.3514, allocations: 1.062 kB / 0.5153 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.3514, allocations: 8 kB / 0.5154 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.3514, allocations: 0 / 0.5154 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3514, allocations: 4.969 kB / 0.5154 GB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.3517, allocations: 293.7 kB / 0.5156 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.348e-05/0.3518, allocations: 83.98 kB / 0.5157 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.3518, allocations: 2.656 kB / 0.5157 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.02e-05/0.3518, allocations: 2.875 kB / 0.5157 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/0.3519, allocations: 5.094 kB / 0.5157 GB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.3519, allocations: 8.219 kB / 0.5157 GB, free: 1.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.694e-05/0.3519, allocations: 108.3 kB / 0.5158 GB, free: 1.094 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3519, allocations: 1.062 kB / 0.5158 GB, free: 1.094 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001332/0.3533, allocations: 318.5 kB / 0.5161 GB, free: 1.055 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.0009632/0.3542, allocations: 373.7 kB / 0.5165 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004431/0.3547, allocations: 297.4 kB / 0.5168 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3547, allocations: 3.938 kB / 0.5168 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.3549, allocations: 224.9 kB / 0.517 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.3552, allocations: 8.656 kB / 0.517 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004816/0.3557, allocations: 341 kB / 0.5173 GB, free: 440 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.3559, allocations: 0.7017 MB / 0.518 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.102e-05/0.3559, allocations: 8.5 kB / 0.518 GB, free: 15.73 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3559, allocations: 0 / 0.518 GB, free: 15.73 MB / 398.1 MB Notification: Performance of Templates: time 0.01207/0.368, allocations: 5.936 MB / 0.5238 GB, free: 14.32 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe 2>&1)