Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.001346/0.001346, allocations: 116 kB / 18.41 MB, free: 4.555 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.001356/0.001356, allocations: 185.3 kB / 21.35 MB, free: 1.621 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.427/1.427, allocations: 222.9 MB / 247 MB, free: 4.227 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.2952/0.2952, allocations: 37.99 MB / 337.2 MB, free: 13.31 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_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003014/0.003014, allocations: 63.66 kB / 467.5 MB, free: 27.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1237, allocations: 58.08 MB / 0.5133 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003446/0.1272, allocations: 2.036 MB / 0.5153 GB, free: 7.707 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007855/0.128, allocations: 0.5299 MB / 0.5158 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.792e-05/0.128, allocations: 0 / 0.5158 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.1282, allocations: 7.922 kB / 0.5158 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.501e-05/0.1283, allocations: 35.83 kB / 0.5158 GB, free: 7.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.1286, allocations: 59.84 kB / 0.5159 GB, free: 7.074 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.1287, allocations: 71.75 kB / 0.516 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.1288, allocations: 4 kB / 0.516 GB, free: 7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.076e-05/0.1289, allocations: 23.91 kB / 0.516 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.495e-05/0.1289, allocations: 35.78 kB / 0.516 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.129, allocations: 4 kB / 0.516 GB, free: 6.938 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.1291, allocations: 75.83 kB / 0.5161 GB, free: 6.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.564e-05/0.1292, allocations: 8 kB / 0.5161 GB, free: 6.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.1292, allocations: 23.8 kB / 0.5161 GB, free: 6.832 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.1294, allocations: 99.69 kB / 0.5162 GB, free: 6.734 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1294, allocations: 0 / 0.5162 GB, free: 6.734 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1294, allocations: 0 / 0.5162 GB, free: 6.734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1294, allocations: 0 / 0.5162 GB, free: 6.734 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004386/0.1298, allocations: 388.9 kB / 0.5166 GB, free: 6.301 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1299, allocations: 15.89 kB / 0.5166 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.1299, allocations: 0.9375 kB / 0.5166 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.1301, allocations: 192.1 kB / 0.5168 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.781e-06/0.1301, allocations: 384 / 0.5168 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.1302, allocations: 4.125 kB / 0.5168 GB, free: 6.055 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.1303, allocations: 53.67 kB / 0.5168 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1303, allocations: 0 / 0.5168 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1303, allocations: 8 kB / 0.5168 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.1303, allocations: 0 / 0.5168 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.879e-05/0.1304, allocations: 15.98 kB / 0.5169 GB, free: 5.969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.1305, allocations: 161.6 kB / 0.517 GB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.212e-05/0.1306, allocations: 50.5 kB / 0.5171 GB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.511e-05/0.1307, allocations: 40.81 kB / 0.5171 GB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.997e-06/0.1307, allocations: 4 kB / 0.5171 GB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.1307, allocations: 34.5 kB / 0.5171 GB, free: 5.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.1307, allocations: 0 / 0.5171 GB, free: 5.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002372/0.131, allocations: 135.4 kB / 0.5173 GB, free: 5.469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.452e-05/0.131, allocations: 89.05 kB / 0.5174 GB, free: 5.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.552e-05/0.1311, allocations: 113.8 kB / 0.5175 GB, free: 5.242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.1312, allocations: 25.7 kB / 0.5175 GB, free: 5.211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.1312, allocations: 96.16 kB / 0.5176 GB, free: 5.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.1313, allocations: 19.75 kB / 0.5176 GB, free: 5.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.1313, allocations: 25.7 kB / 0.5176 GB, free: 5.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1314, allocations: 310.8 kB / 0.5179 GB, free: 4.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.114e-05/0.1315, allocations: 23.98 kB / 0.5179 GB, free: 4.727 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.896e-05/0.1315, allocations: 23.98 kB / 0.518 GB, free: 4.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.1317, allocations: 120.2 kB / 0.5181 GB, free: 4.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1317, allocations: 0 / 0.5181 GB, free: 4.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001527/0.1318, allocations: 131.4 kB / 0.5182 GB, free: 4.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.325e-05/0.1319, allocations: 45.69 kB / 0.5183 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1319, allocations: 0 / 0.5183 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1319, allocations: 0 / 0.5183 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.1319, allocations: 0 / 0.5183 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.1319, allocations: 3.984 kB / 0.5183 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.501e-05/0.132, allocations: 4 kB / 0.5183 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.132, allocations: 7.938 kB / 0.5183 GB, free: 4.363 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.0001244/0.1321, allocations: 155.5 kB / 0.5184 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.1321, allocations: 7.953 kB / 0.5184 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.622e-05/0.1321, allocations: 16.36 kB / 0.5184 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.1322, allocations: 0 / 0.5184 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1322, allocations: 4 kB / 0.5184 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.1322, allocations: 0 / 0.5184 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.1323, allocations: 165.6 kB / 0.5186 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1323, allocations: 0 / 0.5186 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.1323, allocations: 0 / 0.5186 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.1323, allocations: 0 / 0.5186 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1323, allocations: 4.375 kB / 0.5186 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1323, allocations: 0 / 0.5186 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1323, allocations: 0 / 0.5186 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.1326, allocations: 230.9 kB / 0.5188 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-05/0.1327, allocations: 92.94 kB / 0.5189 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.1327, allocations: 0 / 0.5189 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.647e-05/0.1327, allocations: 4 kB / 0.5189 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.1327, allocations: 0 / 0.5189 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.1328, allocations: 4 kB / 0.5189 GB, free: 3.586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.303e-05/0.1328, allocations: 91.27 kB / 0.519 GB, free: 3.496 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1328, allocations: 4.031 kB / 0.519 GB, free: 3.492 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00021/0.133, allocations: 24 kB / 0.519 GB, free: 3.469 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.0001588/0.1332, allocations: 107.2 kB / 0.5191 GB, free: 3.355 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002563/0.1335, allocations: 195.3 kB / 0.5193 GB, free: 3.152 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1335, allocations: 0 / 0.5193 GB, free: 3.152 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.1337, allocations: 155.3 kB / 0.5195 GB, free: 2.988 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.1339, allocations: 14.67 kB / 0.5195 GB, free: 2.977 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004027/0.1343, allocations: 252.2 kB / 0.5197 GB, free: 2.695 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.1346, allocations: 0.6924 MB / 0.5204 GB, free: 1.977 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.219e-05/0.1346, allocations: 7.438 kB / 0.5204 GB, free: 1.969 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1346, allocations: 0 / 0.5204 GB, free: 1.969 MB / 382.1 MB Notification: Performance of Templates: time 0.002854/0.1375, allocations: 1.098 MB / 0.5215 GB, free: 0.875 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.696792216971517] Failed to read output from testmodel.py, exit status != 0: 0.14522819698322564 0.156810536 0.024882596 Calling exit ...