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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 123.5 kB / 18.41 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001976/0.001976, allocations: 192.3 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 222.9 MB / 247.1 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2864/0.2864, allocations: 38 MB / 337.2 MB, free: 12.93 MB / 270.1 MB " [Timeout remaining time 180] 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=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 75.83 kB / 467.5 MB, free: 27.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09951/0.1015, allocations: 58.07 MB / 0.5133 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003314/0.1048, allocations: 2.028 MB / 0.5153 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007955/0.1056, allocations: 0.5221 MB / 0.5158 GB, free: 7.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.806e-05/0.1057, allocations: 0 / 0.5158 GB, free: 7.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.1058, allocations: 15.86 kB / 0.5158 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.719e-05/0.106, allocations: 35.83 kB / 0.5158 GB, free: 7.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.1063, allocations: 55.86 kB / 0.5159 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.1064, allocations: 63.75 kB / 0.5159 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.943e-05/0.1065, allocations: 0 / 0.5159 GB, free: 7.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.27e-05/0.1065, allocations: 39.84 kB / 0.516 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.78e-05/0.1066, allocations: 27.84 kB / 0.516 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.1066, allocations: 0 / 0.516 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.1068, allocations: 75.83 kB / 0.5161 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.152e-05/0.1069, allocations: 51.84 kB / 0.5161 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.475e-05/0.1069, allocations: 39.56 kB / 0.5162 GB, free: 6.789 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.1072, allocations: 151.3 kB / 0.5163 GB, free: 6.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.1072, allocations: 4 kB / 0.5163 GB, free: 6.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1072, allocations: 0 / 0.5163 GB, free: 6.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.1072, allocations: 0 / 0.5163 GB, free: 6.637 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.000511/0.1077, allocations: 495.2 kB / 0.5168 GB, free: 6.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1077, allocations: 11.89 kB / 0.5168 GB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.1078, allocations: 16.8 kB / 0.5168 GB, free: 6.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.108, allocations: 196.7 kB / 0.517 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.108, allocations: 7.938 kB / 0.517 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.1081, allocations: 0 / 0.517 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.1082, allocations: 134.5 kB / 0.5171 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1083, allocations: 0 / 0.5171 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1083, allocations: 7.984 kB / 0.5171 GB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.1083, allocations: 0 / 0.5171 GB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.859e-05/0.1084, allocations: 92.3 kB / 0.5172 GB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001895/0.1086, allocations: 198.1 kB / 0.5174 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.1088, allocations: 158.8 kB / 0.5176 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.1089, allocations: 141.2 kB / 0.5177 GB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.1089, allocations: 4 kB / 0.5177 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.109, allocations: 38.5 kB / 0.5177 GB, free: 5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 9.32e-07/0.109, allocations: 0 / 0.5177 GB, free: 5 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0005898/0.1096, allocations: 472 kB / 0.5182 GB, free: 4.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.1096, allocations: 109.1 kB / 0.5183 GB, free: 4.402 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.1098, allocations: 154.6 kB / 0.5184 GB, free: 4.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.1098, allocations: 25.7 kB / 0.5185 GB, free: 4.207 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.1099, allocations: 100.8 kB / 0.5186 GB, free: 4.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.11, allocations: 134.8 kB / 0.5187 GB, free: 3.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.802e-05/0.11, allocations: 29.7 kB / 0.5187 GB, free: 3.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1102, allocations: 342.8 kB / 0.519 GB, free: 3.594 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.242e-05/0.1103, allocations: 87.97 kB / 0.5191 GB, free: 3.508 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.458e-05/0.1104, allocations: 96.89 kB / 0.5192 GB, free: 3.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/0.1107, allocations: 376.4 kB / 0.5196 GB, free: 3.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1107, allocations: 0 / 0.5196 GB, free: 3.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003359/0.1111, allocations: 323.1 kB / 0.5199 GB, free: 2.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.469e-05/0.1112, allocations: 81.62 kB / 0.52 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1112, allocations: 0 / 0.52 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1112, allocations: 0 / 0.52 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.1112, allocations: 0 / 0.52 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1112, allocations: 7.984 kB / 0.52 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.011e-05/0.1113, allocations: 23.84 kB / 0.52 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.1113, allocations: 4 kB / 0.52 GB, free: 2.582 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.000207/0.1115, allocations: 243.3 kB / 0.5202 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.1116, allocations: 19.91 kB / 0.5203 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.996e-05/0.1116, allocations: 9.969 kB / 0.5203 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1116, allocations: 3.938 kB / 0.5203 GB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1116, allocations: 0 / 0.5203 GB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.1116, allocations: 0 / 0.5203 GB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.1118, allocations: 233.3 kB / 0.5205 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1118, allocations: 4 kB / 0.5205 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.22e-07/0.1118, allocations: 0 / 0.5205 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.1118, allocations: 3.984 kB / 0.5205 GB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.1118, allocations: 8 kB / 0.5205 GB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1118, allocations: 3.938 kB / 0.5205 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1119, allocations: 4 kB / 0.5205 GB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009533/0.1128, allocations: 0.9043 MB / 0.5214 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.1129, allocations: 92.95 kB / 0.5215 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.1129, allocations: 4 kB / 0.5215 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.29e-05/0.113, allocations: 8 kB / 0.5215 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.113, allocations: 8 kB / 0.5215 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.113, allocations: 8.031 kB / 0.5215 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.228e-05/0.1131, allocations: 115.2 kB / 0.5216 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1131, allocations: 0 / 0.5216 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.1134, allocations: 63.94 kB / 0.5217 GB, free: 0.7461 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.0001972/0.1136, allocations: 119.1 kB / 0.5218 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.115, allocations: 1.585 MB / 0.5233 GB, free: 15.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.115, allocations: 0 / 0.5233 GB, free: 15.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.1162, allocations: 1.374 MB / 0.5247 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.1164, allocations: 20 kB / 0.5247 GB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008789/0.1173, allocations: 0.6504 MB / 0.5253 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.1177, allocations: 0.7517 MB / 0.5261 GB, free: 12.15 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.663e-05/0.1177, allocations: 11.42 kB / 0.5261 GB, free: 12.14 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1177, allocations: 3.938 kB / 0.5261 GB, free: 12.13 MB / 398.1 MB Notification: Performance of Templates: time 0.004389/0.1221, allocations: 2.315 MB / 0.5283 GB, free: 9.828 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.896188089973293] Failed to read output from testmodel.py, exit status != 0: 0.12873696791939437 0.14319194000000002 0.033195954 Calling exit ...