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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002128/0.002128, allocations: 210.5 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.537/1.537, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.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.1921/0.1921, allocations: 38.55 MB / 352.5 MB, free: 12.29 MB / 286.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002996/0.002996, allocations: 66.25 kB / 493 MB, free: 4.168 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3905, allocations: 62.47 MB / 0.5424 GB, free: 404 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.004901/0.3954, allocations: 2.134 MB / 0.5445 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001454/0.3968, allocations: 0.5147 MB / 0.545 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.96e-05/0.3969, allocations: 5.094 kB / 0.545 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.3971, allocations: 10.17 kB / 0.545 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.3973, allocations: 25.56 kB / 0.5451 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004326/0.3977, allocations: 77.23 kB / 0.5451 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.3979, allocations: 66.02 kB / 0.5452 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.383e-05/0.3979, allocations: 5.359 kB / 0.5452 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.3981, allocations: 36.34 kB / 0.5452 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.45e-05/0.3982, allocations: 33.59 kB / 0.5453 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.3982, allocations: 1.375 kB / 0.5453 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002657/0.3985, allocations: 96.66 kB / 0.5454 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.071e-05/0.3985, allocations: 16.17 kB / 0.5454 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.726e-05/0.3986, allocations: 17.38 kB / 0.5454 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.3988, allocations: 105.8 kB / 0.5455 GB, free: 14.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3988, allocations: 1.375 kB / 0.5455 GB, free: 14.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3988, allocations: 0 / 0.5455 GB, free: 14.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.3988, allocations: 0 / 0.5455 GB, free: 14.03 MB / 398.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.0005704/0.3994, allocations: 339 kB / 0.5458 GB, free: 13.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.346e-05/0.3995, allocations: 13.73 kB / 0.5458 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.259e-05/0.3995, allocations: 7.359 kB / 0.5458 GB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.3998, allocations: 122.4 kB / 0.546 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3999, allocations: 384 / 0.546 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.3999, allocations: 9.516 kB / 0.546 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.4001, allocations: 109.5 kB / 0.5461 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.4001, allocations: 0 / 0.5461 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.4001, allocations: 1.094 kB / 0.5461 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.4001, allocations: 0 / 0.5461 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.4002, allocations: 81.86 kB / 0.5462 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001727/0.4004, allocations: 112.3 kB / 0.5463 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.4006, allocations: 91.88 kB / 0.5463 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.4007, allocations: 82.41 kB / 0.5464 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.4007, allocations: 7.875 kB / 0.5464 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.569e-05/0.4007, allocations: 40.91 kB / 0.5465 GB, free: 13.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.4007, allocations: 0 / 0.5465 GB, free: 13.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004626/0.4012, allocations: 289.9 kB / 0.5468 GB, free: 12.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.144e-05/0.4013, allocations: 91.34 kB / 0.5468 GB, free: 12.81 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.4014, allocations: 112.8 kB / 0.5469 GB, free: 12.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.4014, allocations: 30.83 kB / 0.547 GB, free: 12.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.25e-05/0.4015, allocations: 98.36 kB / 0.5471 GB, free: 12.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.412e-05/0.4016, allocations: 36.44 kB / 0.5471 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.4016, allocations: 20.45 kB / 0.5471 GB, free: 12.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.4018, allocations: 325.7 kB / 0.5474 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.872e-05/0.4019, allocations: 72.75 kB / 0.5475 GB, free: 12.15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.643e-05/0.402, allocations: 90.03 kB / 0.5476 GB, free: 12.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.4022, allocations: 182.3 kB / 0.5478 GB, free: 11.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4022, allocations: 1.062 kB / 0.5478 GB, free: 11.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002716/0.4024, allocations: 211.2 kB / 0.548 GB, free: 11.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.683e-05/0.4025, allocations: 45.25 kB / 0.548 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.4025, allocations: 0 / 0.548 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.4025, allocations: 4.062 kB / 0.548 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-06/0.4025, allocations: 1.156 kB / 0.548 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.4025, allocations: 0 / 0.548 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.599e-05/0.4026, allocations: 7.25 kB / 0.548 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.4026, allocations: 3.219 kB / 0.548 GB, free: 11.8 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.0001652/0.4027, allocations: 168.1 kB / 0.5482 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.4028, allocations: 17.09 kB / 0.5482 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.4028, allocations: 10.47 kB / 0.5482 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4028, allocations: 0 / 0.5482 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4028, allocations: 1.031 kB / 0.5482 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.4028, allocations: 4 kB / 0.5482 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.403, allocations: 110.9 kB / 0.5483 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.403, allocations: 0 / 0.5483 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.403, allocations: 0 / 0.5483 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.403, allocations: 8.984 kB / 0.5483 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.403, allocations: 2.438 kB / 0.5483 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.403, allocations: 1.094 kB / 0.5483 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.403, allocations: 3.938 kB / 0.5483 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004364/0.4035, allocations: 315.1 kB / 0.5486 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.4035, allocations: 7.578 kB / 0.5486 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.4035, allocations: 6.188 kB / 0.5486 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.072e-05/0.4035, allocations: 6.656 kB / 0.5487 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.4035, allocations: 1.406 kB / 0.5487 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.4035, allocations: 2.438 kB / 0.5487 GB, free: 11.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.773e-05/0.4036, allocations: 102.5 kB / 0.5488 GB, free: 11.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4036, allocations: 0 / 0.5488 GB, free: 11.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.4039, allocations: 35.16 kB / 0.5488 GB, free: 11.16 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.0002284/0.4041, allocations: 115.3 kB / 0.5489 GB, free: 11.06 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004542/0.4046, allocations: 303.5 kB / 0.5492 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4046, allocations: 3.938 kB / 0.5492 GB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.4049, allocations: 193 kB / 0.5494 GB, free: 10.74 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.4052, allocations: 13.31 kB / 0.5494 GB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006103/0.4058, allocations: 329.3 kB / 0.5497 GB, free: 10.51 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.4059, allocations: 89.12 kB / 0.5498 GB, free: 10.42 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.571e-05/0.4059, allocations: 5.297 kB / 0.5498 GB, free: 10.42 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.406, allocations: 8.75 kB / 0.5498 GB, free: 10.41 MB / 398.1 MB Notification: Performance of SimCode: time 1.021e-06/0.406, allocations: 4.062 kB / 0.5498 GB, free: 10.41 MB / 398.1 MB Notification: Performance of Templates: time 0.005483/0.4115, allocations: 1.43 MB / 0.5512 GB, free: 9.676 MB / 398.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: 5.377005208283663] Failed to read output from testmodel.py, exit status != 0: 0.42284214310348034 0.43908495599999997 0.036598907 Calling exit ...