Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.001313/0.001313, 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.00132/0.00132, 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.417/1.417, allocations: 222.9 MB / 247.1 MB, free: 4.207 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.3041/0.3041, allocations: 37.99 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_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.33 kB / 467.5 MB, free: 27.53 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09856/0.1005, allocations: 58.07 MB / 0.5133 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003463/0.104, allocations: 2.039 MB / 0.5153 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008092/0.1049, allocations: 0.5221 MB / 0.5158 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.238e-05/0.1049, allocations: 0 / 0.5158 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.105, allocations: 15.92 kB / 0.5158 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.165e-05/0.1051, allocations: 23.84 kB / 0.5158 GB, free: 7.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.1055, allocations: 59.84 kB / 0.5159 GB, free: 7.086 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.1056, allocations: 63.75 kB / 0.5159 GB, free: 7.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.1057, allocations: 8 kB / 0.5159 GB, free: 7.016 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.884e-05/0.1058, allocations: 23.92 kB / 0.516 GB, free: 6.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.205e-05/0.1058, allocations: 35.78 kB / 0.516 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.616e-06/0.1058, allocations: 0 / 0.516 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.106, allocations: 79.88 kB / 0.5161 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.336e-05/0.1061, allocations: 27.92 kB / 0.5161 GB, free: 6.852 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.1061, allocations: 31.69 kB / 0.5161 GB, free: 6.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.1063, allocations: 135.4 kB / 0.5163 GB, free: 6.688 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1063, allocations: 0 / 0.5163 GB, free: 6.688 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1064, allocations: 0 / 0.5163 GB, free: 6.688 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1064, allocations: 0 / 0.5163 GB, free: 6.688 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004826/0.1069, allocations: 444.5 kB / 0.5167 GB, free: 6.199 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.1069, allocations: 15.89 kB / 0.5167 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.107, allocations: 12.84 kB / 0.5167 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.1072, allocations: 192.1 kB / 0.5169 GB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.1072, allocations: 384 / 0.5169 GB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.1072, allocations: 4.125 kB / 0.5169 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.1074, allocations: 89.67 kB / 0.517 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.1074, allocations: 0 / 0.517 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.1074, allocations: 0 / 0.517 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1074, allocations: 0 / 0.517 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.153e-05/0.1075, allocations: 63.84 kB / 0.5171 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.1077, allocations: 177.5 kB / 0.5172 GB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.1078, allocations: 102.5 kB / 0.5173 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.951e-05/0.1079, allocations: 92.8 kB / 0.5174 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.1079, allocations: 0 / 0.5174 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.1079, allocations: 38.56 kB / 0.5174 GB, free: 5.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 8.02e-07/0.108, allocations: 0 / 0.5174 GB, free: 5.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004287/0.1084, allocations: 296.2 kB / 0.5177 GB, free: 5.008 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/0.1085, allocations: 101 kB / 0.5178 GB, free: 4.891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.1086, allocations: 136.3 kB / 0.518 GB, free: 4.75 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.1086, allocations: 25.7 kB / 0.518 GB, free: 4.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.1087, allocations: 96.56 kB / 0.5181 GB, free: 4.621 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.581e-05/0.1088, allocations: 83.2 kB / 0.5181 GB, free: 4.539 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.1088, allocations: 25.72 kB / 0.5182 GB, free: 4.508 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.109, allocations: 326.8 kB / 0.5185 GB, free: 4.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.116e-05/0.1091, allocations: 63.88 kB / 0.5185 GB, free: 4.117 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.251e-05/0.1091, allocations: 59.83 kB / 0.5186 GB, free: 4.059 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.1094, allocations: 240.2 kB / 0.5188 GB, free: 3.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1094, allocations: 0 / 0.5188 GB, free: 3.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002578/0.1097, allocations: 227 kB / 0.519 GB, free: 3.574 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.456e-05/0.1097, allocations: 65.66 kB / 0.5191 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1097, allocations: 3.938 kB / 0.5191 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1098, allocations: 0 / 0.5191 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.615e-06/0.1098, allocations: 0 / 0.5191 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1098, allocations: 7.938 kB / 0.5191 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.68e-05/0.1098, allocations: 16 kB / 0.5191 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.1099, allocations: 4 kB / 0.5191 GB, free: 3.473 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.0001723/0.11, allocations: 199.4 kB / 0.5193 GB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.1101, allocations: 15.91 kB / 0.5193 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.687e-05/0.1101, allocations: 9.188 kB / 0.5194 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.1101, allocations: 0 / 0.5194 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1101, allocations: 4 kB / 0.5194 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1101, allocations: 0 / 0.5194 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.1103, allocations: 197.5 kB / 0.5195 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.1103, allocations: 4 kB / 0.5196 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.1103, allocations: 0 / 0.5196 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.1103, allocations: 0 / 0.5196 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1103, allocations: 4 kB / 0.5196 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.1103, allocations: 0 / 0.5196 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1103, allocations: 3.984 kB / 0.5196 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005967/0.1109, allocations: 0.5102 MB / 0.5201 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.506e-05/0.111, allocations: 92.95 kB / 0.5201 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.111, allocations: 8.031 kB / 0.5202 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.368e-05/0.1111, allocations: 4 kB / 0.5202 GB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/0.1111, allocations: 0 / 0.5202 GB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.1111, allocations: 4 kB / 0.5202 GB, free: 2.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.618e-05/0.1112, allocations: 107.2 kB / 0.5203 GB, free: 2.211 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1112, allocations: 0 / 0.5203 GB, free: 2.211 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.1114, allocations: 47.94 kB / 0.5203 GB, free: 2.164 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.0001932/0.1116, allocations: 115.2 kB / 0.5204 GB, free: 2.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007389/0.1124, allocations: 0.71 MB / 0.5211 GB, free: 1.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1124, allocations: 4 kB / 0.5211 GB, free: 1.316 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005085/0.1129, allocations: 0.5618 MB / 0.5217 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.1132, allocations: 41.28 kB / 0.5217 GB, free: 0.707 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006514/0.1138, allocations: 461.3 kB / 0.5221 GB, free: 228 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.1142, allocations: 0.724 MB / 0.5229 GB, free: 15.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.178e-05/0.1142, allocations: 7.438 kB / 0.5229 GB, free: 15.46 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1142, allocations: 0 / 0.5229 GB, free: 15.46 MB / 398.1 MB Notification: Performance of Templates: time 0.003664/0.1179, allocations: 1.698 MB / 0.5245 GB, free: 13.77 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.695975963026285] Failed to read output from testmodel.py, exit status != 0: 0.12472787196747959 0.13828073200000002 0.029366032 Calling exit ...