Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.0017/0.0017, allocations: 117 kB / 18.41 MB, free: 4.664 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.001522/0.001523, allocations: 186.9 kB / 21.34 MB, free: 1.734 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.447/1.447, 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.2916/0.2916, allocations: 38.01 MB / 337.2 MB, free: 12.92 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_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 68.34 kB / 467.5 MB, free: 27.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1072, allocations: 58.07 MB / 0.5133 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.003492/0.1107, allocations: 2.09 MB / 0.5153 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00328/0.114, allocations: 2.035 MB / 0.5173 GB, free: 5.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.747e-05/0.1141, allocations: 4 kB / 0.5173 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.1142, allocations: 15.92 kB / 0.5173 GB, free: 5.543 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.532e-05/0.1144, allocations: 27.83 kB / 0.5174 GB, free: 5.516 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002233/0.1166, allocations: 0.8342 MB / 0.5182 GB, free: 4.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.1168, allocations: 71.75 kB / 0.5182 GB, free: 4.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.133e-05/0.1168, allocations: 4.188 kB / 0.5183 GB, free: 4.605 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.498e-05/0.1169, allocations: 39.78 kB / 0.5183 GB, free: 4.566 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.975e-05/0.117, allocations: 39.83 kB / 0.5183 GB, free: 4.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.117, allocations: 8 kB / 0.5183 GB, free: 4.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002153/0.1192, allocations: 1.404 MB / 0.5197 GB, free: 3.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.351e-05/0.1192, allocations: 19.92 kB / 0.5197 GB, free: 3.094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.868e-05/0.1193, allocations: 27.75 kB / 0.5198 GB, free: 3.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.121, allocations: 1.329 MB / 0.521 GB, free: 1.734 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.121, allocations: 0 / 0.521 GB, free: 1.734 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.121, allocations: 0 / 0.521 GB, free: 1.734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.121, allocations: 0 / 0.521 GB, free: 1.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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007323/0.1217, allocations: 0.5308 MB / 0.5216 GB, free: 1.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1218, allocations: 11.89 kB / 0.5216 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.1218, allocations: 12.83 kB / 0.5216 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.122, allocations: 195.3 kB / 0.5218 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.122, allocations: 4 kB / 0.5218 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.1221, allocations: 0 / 0.5218 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.1222, allocations: 65.67 kB / 0.5218 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.1222, allocations: 0 / 0.5218 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.1223, allocations: 0 / 0.5218 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.1223, allocations: 4 kB / 0.5218 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.098e-05/0.1223, allocations: 35.97 kB / 0.5219 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.1225, allocations: 169.6 kB / 0.522 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.1226, allocations: 66.48 kB / 0.5221 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.253e-05/0.1227, allocations: 44.88 kB / 0.5221 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-06/0.1227, allocations: 0 / 0.5221 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.1227, allocations: 38.56 kB / 0.5222 GB, free: 408 kB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 9.72e-07/0.1228, allocations: 0 / 0.5222 GB, free: 408 kB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003315/0.1231, allocations: 199.4 kB / 0.5224 GB, free: 196 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.1232, allocations: 89.05 kB / 0.5225 GB, free: 88 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.1233, allocations: 132.3 kB / 0.5226 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.1234, allocations: 25.7 kB / 0.5226 GB, free: 15.92 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.1234, allocations: 92.12 kB / 0.5227 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/0.1235, allocations: 39.69 kB / 0.5227 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.1235, allocations: 21.72 kB / 0.5228 GB, free: 15.76 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.1237, allocations: 326.8 kB / 0.5231 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.351e-05/0.1238, allocations: 31.98 kB / 0.5231 GB, free: 15.4 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.86e-05/0.1238, allocations: 31.98 kB / 0.5231 GB, free: 15.37 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.124, allocations: 164.6 kB / 0.5233 GB, free: 15.19 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.124, allocations: 0 / 0.5233 GB, free: 15.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002118/0.1242, allocations: 159.2 kB / 0.5234 GB, free: 15.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.091e-05/0.1243, allocations: 49.61 kB / 0.5235 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1243, allocations: 4 kB / 0.5235 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1243, allocations: 0 / 0.5235 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.1243, allocations: 8 kB / 0.5235 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1244, allocations: 0 / 0.5235 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.656e-05/0.1244, allocations: 7.938 kB / 0.5235 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.1244, allocations: 7.938 kB / 0.5235 GB, free: 14.94 MB / 398.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.0001425/0.1246, allocations: 163.5 kB / 0.5237 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.1246, allocations: 11.94 kB / 0.5237 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.694e-05/0.1246, allocations: 12.72 kB / 0.5237 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.1246, allocations: 0 / 0.5237 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1247, allocations: 0 / 0.5237 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1247, allocations: 4 kB / 0.5237 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.1248, allocations: 181.5 kB / 0.5239 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1248, allocations: 4 kB / 0.5239 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.6e-07/0.1248, allocations: 0 / 0.5239 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1248, allocations: 3.984 kB / 0.5239 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.1249, allocations: 7.984 kB / 0.5239 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1249, allocations: 0 / 0.5239 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1249, allocations: 0 / 0.5239 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/0.1253, allocations: 294.5 kB / 0.5242 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-05/0.1254, allocations: 89 kB / 0.5243 GB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.1254, allocations: 4 kB / 0.5243 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.67e-05/0.1254, allocations: 0 / 0.5243 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/0.1255, allocations: 4 kB / 0.5243 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.1255, allocations: 8 kB / 0.5243 GB, free: 14.06 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.933e-05/0.1256, allocations: 109.4 kB / 0.5244 GB, free: 13.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1256, allocations: 0 / 0.5244 GB, free: 13.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008112/0.1264, allocations: 319.4 kB / 0.5247 GB, free: 13.64 MB / 398.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.0009448/0.1273, allocations: 373.9 kB / 0.525 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004011/0.1278, allocations: 303.2 kB / 0.5253 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1278, allocations: 0 / 0.5253 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002323/0.128, allocations: 223.3 kB / 0.5255 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.1283, allocations: 18.91 kB / 0.5256 GB, free: 12.72 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005643/0.1288, allocations: 342.2 kB / 0.5259 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.1292, allocations: 0.7002 MB / 0.5266 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.512e-05/0.1292, allocations: 11.44 kB / 0.5266 GB, free: 11.61 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1292, allocations: 0 / 0.5266 GB, free: 11.61 MB / 398.1 MB Notification: Performance of Templates: time 0.00995/0.1392, allocations: 5.933 MB / 0.5324 GB, free: 5.668 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.333042502985336] Failed to read output from testmodel.py, exit status != 0: 0.14610827900469303 0.16005107200000002 0.036353555 Calling exit ...