Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.001312/0.001312, allocations: 120.5 kB / 18.41 MB, free: 4.68 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.001362/0.001362, allocations: 190.7 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.418/1.418, allocations: 222.9 MB / 247.1 MB, free: 4.344 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.3177/0.3177, allocations: 38 MB / 337.2 MB, free: 13.03 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_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 67.39 kB / 467.5 MB, free: 27.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1029, allocations: 58.08 MB / 0.5133 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.00359/0.1065, allocations: 2.036 MB / 0.5153 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008327/0.1074, allocations: 0.526 MB / 0.5158 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.904e-05/0.1074, allocations: 0 / 0.5158 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.1076, allocations: 7.938 kB / 0.5158 GB, free: 7.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.1077, allocations: 35.83 kB / 0.5158 GB, free: 7.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.108, allocations: 59.84 kB / 0.5159 GB, free: 7.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.1081, allocations: 59.77 kB / 0.5159 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.298e-05/0.1082, allocations: 8 kB / 0.5159 GB, free: 7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.337e-05/0.1082, allocations: 27.91 kB / 0.516 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.512e-05/0.1083, allocations: 31.78 kB / 0.516 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.1083, allocations: 4 kB / 0.516 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001643/0.1085, allocations: 75.83 kB / 0.5161 GB, free: 6.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.576e-05/0.1085, allocations: 19.92 kB / 0.5161 GB, free: 6.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.1086, allocations: 19.88 kB / 0.5161 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.1088, allocations: 115.6 kB / 0.5162 GB, free: 6.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1088, allocations: 0 / 0.5162 GB, free: 6.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1088, allocations: 0 / 0.5162 GB, free: 6.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1088, allocations: 0 / 0.5162 GB, free: 6.711 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.0004128/0.1092, allocations: 400.8 kB / 0.5166 GB, free: 6.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1093, allocations: 15.89 kB / 0.5166 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.524e-05/0.1093, allocations: 4.891 kB / 0.5166 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.1095, allocations: 188.2 kB / 0.5168 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.1096, allocations: 384 / 0.5168 GB, free: 6.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.1096, allocations: 8.125 kB / 0.5168 GB, free: 6.012 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.1097, allocations: 57.69 kB / 0.5169 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.1097, allocations: 0 / 0.5169 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.1097, allocations: 4 kB / 0.5169 GB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1098, allocations: 3.938 kB / 0.5169 GB, free: 5.941 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.767e-05/0.1098, allocations: 27.98 kB / 0.5169 GB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.11, allocations: 165.6 kB / 0.5171 GB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.306e-05/0.1101, allocations: 58.5 kB / 0.5171 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.797e-05/0.1102, allocations: 52.81 kB / 0.5172 GB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-06/0.1102, allocations: 0 / 0.5172 GB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.1102, allocations: 38.56 kB / 0.5172 GB, free: 5.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 9.11e-07/0.1102, allocations: 4.219 kB / 0.5172 GB, free: 5.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002858/0.1105, allocations: 175.2 kB / 0.5174 GB, free: 5.348 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/0.1106, allocations: 93.09 kB / 0.5175 GB, free: 5.238 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.1107, allocations: 122 kB / 0.5176 GB, free: 5.109 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.1107, allocations: 29.73 kB / 0.5176 GB, free: 5.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.1108, allocations: 96.12 kB / 0.5177 GB, free: 4.977 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.1109, allocations: 35.62 kB / 0.5177 GB, free: 4.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.1109, allocations: 17.72 kB / 0.5178 GB, free: 4.918 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.111, allocations: 322.8 kB / 0.5181 GB, free: 4.594 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.472e-05/0.1111, allocations: 27.98 kB / 0.5181 GB, free: 4.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.259e-05/0.1111, allocations: 31.98 kB / 0.5181 GB, free: 4.535 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.1113, allocations: 152.2 kB / 0.5183 GB, free: 4.371 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1113, allocations: 4.031 kB / 0.5183 GB, free: 4.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001775/0.1115, allocations: 151.2 kB / 0.5184 GB, free: 4.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.025e-05/0.1116, allocations: 45.69 kB / 0.5185 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1116, allocations: 0 / 0.5185 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1116, allocations: 3.938 kB / 0.5185 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.1116, allocations: 0 / 0.5185 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1116, allocations: 0 / 0.5185 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.043e-05/0.1117, allocations: 11.95 kB / 0.5185 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.1117, allocations: 4 kB / 0.5185 GB, free: 4.137 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.0001286/0.1118, allocations: 163.5 kB / 0.5186 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.1118, allocations: 15.89 kB / 0.5186 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.735e-05/0.1119, allocations: 12.38 kB / 0.5187 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1119, allocations: 0 / 0.5187 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1119, allocations: 0 / 0.5187 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.1119, allocations: 0 / 0.5187 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.112, allocations: 181.5 kB / 0.5188 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.112, allocations: 0 / 0.5188 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.1121, allocations: 0 / 0.5188 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-06/0.1121, allocations: 0 / 0.5188 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.1121, allocations: 4 kB / 0.5188 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1121, allocations: 7.938 kB / 0.5188 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1121, allocations: 0 / 0.5188 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/0.1124, allocations: 282.5 kB / 0.5191 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.567e-05/0.1125, allocations: 93 kB / 0.5192 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.1125, allocations: 0 / 0.5192 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.883e-05/0.1126, allocations: 4 kB / 0.5192 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.1126, allocations: 0 / 0.5192 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/0.1126, allocations: 4 kB / 0.5192 GB, free: 3.277 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.161e-05/0.1127, allocations: 95.3 kB / 0.5193 GB, free: 3.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1127, allocations: 0 / 0.5193 GB, free: 3.184 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002413/0.1129, allocations: 35.94 kB / 0.5193 GB, free: 3.148 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.0001757/0.1131, allocations: 116 kB / 0.5194 GB, free: 3.027 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003517/0.1134, allocations: 299.2 kB / 0.5197 GB, free: 2.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1135, allocations: 0 / 0.5197 GB, free: 2.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.1137, allocations: 215.3 kB / 0.5199 GB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.1139, allocations: 20.06 kB / 0.52 GB, free: 2.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004775/0.1144, allocations: 296.5 kB / 0.5202 GB, free: 2.156 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.1148, allocations: 0.7041 MB / 0.5209 GB, free: 1.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.35e-05/0.1148, allocations: 7.438 kB / 0.5209 GB, free: 1.418 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1148, allocations: 0 / 0.5209 GB, free: 1.418 MB / 382.1 MB Notification: Performance of Templates: time 0.002939/0.1178, allocations: 1.257 MB / 0.5222 GB, free: 168 kB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.76062549802009] Failed to read output from testmodel.py, exit status != 0: 0.12384826992638409 0.13742447599999993 0.026023495 Calling exit ...