Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.001263/0.001263, 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.001291/0.001291, 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.395/1.395, allocations: 222.9 MB / 247 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 179] 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.2972/0.2972, allocations: 38 MB / 337.2 MB, free: 12.87 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.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 75.89 kB / 467.5 MB, free: 27.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09987/0.1018, allocations: 58.07 MB / 0.5133 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.003513/0.1054, allocations: 2.145 MB / 0.5154 GB, free: 7.547 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.1071, allocations: 1.072 MB / 0.5164 GB, free: 6.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.141e-05/0.1071, allocations: 0 / 0.5164 GB, free: 6.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.1073, allocations: 11.92 kB / 0.5164 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001193/0.1074, allocations: 55.73 kB / 0.5165 GB, free: 6.406 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008453/0.1082, allocations: 287.2 kB / 0.5168 GB, free: 6.125 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.1084, allocations: 115.6 kB / 0.5169 GB, free: 6.012 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.1085, allocations: 3.984 kB / 0.5169 GB, free: 6.008 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.4e-05/0.1086, allocations: 47.83 kB / 0.5169 GB, free: 5.957 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.1087, allocations: 67.73 kB / 0.517 GB, free: 5.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.1087, allocations: 4 kB / 0.517 GB, free: 5.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006624/0.1094, allocations: 419.1 kB / 0.5174 GB, free: 5.477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.1095, allocations: 39.89 kB / 0.5174 GB, free: 5.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.607e-05/0.1095, allocations: 35.75 kB / 0.5175 GB, free: 5.402 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006495/0.1102, allocations: 0.5142 MB / 0.518 GB, free: 4.887 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1102, allocations: 0 / 0.518 GB, free: 4.887 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.171e-06/0.1102, allocations: 0 / 0.518 GB, free: 4.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1102, allocations: 3.938 kB / 0.518 GB, free: 4.883 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005463/0.1108, allocations: 480.2 kB / 0.5184 GB, free: 4.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.1108, allocations: 11.89 kB / 0.5184 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.984e-05/0.1108, allocations: 12.84 kB / 0.5185 GB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.1111, allocations: 184.3 kB / 0.5186 GB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.931e-06/0.1111, allocations: 384 / 0.5186 GB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.1111, allocations: 4.125 kB / 0.5186 GB, free: 4.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.1113, allocations: 104.3 kB / 0.5187 GB, free: 4.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1113, allocations: 0 / 0.5187 GB, free: 4.008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1113, allocations: 4 kB / 0.5187 GB, free: 4.004 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.1113, allocations: 0 / 0.5187 GB, free: 4.004 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.756e-05/0.1114, allocations: 63.91 kB / 0.5188 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.1116, allocations: 169.7 kB / 0.519 GB, free: 3.727 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.1118, allocations: 126.7 kB / 0.5191 GB, free: 3.594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.1119, allocations: 136.9 kB / 0.5192 GB, free: 3.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.088e-06/0.1119, allocations: 0 / 0.5192 GB, free: 3.457 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.112, allocations: 30.56 kB / 0.5192 GB, free: 3.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 8.51e-07/0.112, allocations: 0 / 0.5192 GB, free: 3.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005069/0.1125, allocations: 295.2 kB / 0.5195 GB, free: 3.117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.468e-05/0.1126, allocations: 93.09 kB / 0.5196 GB, free: 3.008 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.1127, allocations: 136.3 kB / 0.5197 GB, free: 2.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.1127, allocations: 33.64 kB / 0.5198 GB, free: 2.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.997e-05/0.1128, allocations: 96.48 kB / 0.5199 GB, free: 2.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.691e-05/0.1129, allocations: 63.38 kB / 0.5199 GB, free: 2.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.1129, allocations: 29.7 kB / 0.52 GB, free: 2.633 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1131, allocations: 326.8 kB / 0.5203 GB, free: 2.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.451e-05/0.1132, allocations: 59.91 kB / 0.5203 GB, free: 2.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.491e-05/0.1133, allocations: 55.97 kB / 0.5204 GB, free: 2.191 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.1135, allocations: 234.7 kB / 0.5206 GB, free: 1.949 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1135, allocations: 0 / 0.5206 GB, free: 1.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002843/0.1138, allocations: 223.2 kB / 0.5208 GB, free: 1.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.438e-05/0.1139, allocations: 61.67 kB / 0.5209 GB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.1139, allocations: 0 / 0.5209 GB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1139, allocations: 0 / 0.5209 GB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.1139, allocations: 0 / 0.5209 GB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.1139, allocations: 0 / 0.5209 GB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.278e-05/0.114, allocations: 7.953 kB / 0.5209 GB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.114, allocations: 8 kB / 0.5209 GB, free: 1.637 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.0001604/0.1142, allocations: 191.4 kB / 0.5211 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.1142, allocations: 11.95 kB / 0.5211 GB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.686e-05/0.1142, allocations: 13.19 kB / 0.5211 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.1142, allocations: 0 / 0.5211 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1143, allocations: 0 / 0.5211 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.1143, allocations: 0 / 0.5211 GB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001665/0.1144, allocations: 197.4 kB / 0.5213 GB, free: 1.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1144, allocations: 4 kB / 0.5213 GB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.1144, allocations: 0 / 0.5213 GB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1144, allocations: 0 / 0.5213 GB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.1145, allocations: 8 kB / 0.5213 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1145, allocations: 0 / 0.5213 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1145, allocations: 0 / 0.5213 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005229/0.115, allocations: 393.6 kB / 0.5217 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.712e-05/0.1151, allocations: 88.95 kB / 0.5218 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.1152, allocations: 4 kB / 0.5218 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.018e-05/0.1152, allocations: 4 kB / 0.5218 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.1152, allocations: 8 kB / 0.5218 GB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.1153, allocations: 4 kB / 0.5218 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.845e-05/0.1153, allocations: 117.3 kB / 0.5219 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1153, allocations: 4.031 kB / 0.5219 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000435/0.1158, allocations: 131.8 kB / 0.522 GB, free: 384 kB / 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.0004335/0.1162, allocations: 190.3 kB / 0.5222 GB, free: 188 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006547/0.1169, allocations: 0.5618 MB / 0.5227 GB, free: 15.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1169, allocations: 0 / 0.5227 GB, free: 15.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004268/0.1173, allocations: 475.3 kB / 0.5232 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.1176, allocations: 24.06 kB / 0.5232 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006361/0.1182, allocations: 433.9 kB / 0.5236 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.1186, allocations: 0.7196 MB / 0.5243 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.925e-05/0.1186, allocations: 7.438 kB / 0.5243 GB, free: 13.9 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1186, allocations: 0 / 0.5243 GB, free: 13.9 MB / 398.1 MB Notification: Performance of Templates: time 0.005608/0.1242, allocations: 3.098 MB / 0.5274 GB, free: 10.8 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.707222011988051] Failed to read output from testmodel.py, exit status != 0: 0.13069985795300454 0.14392388299999995 0.031175095000000003 Calling exit ...