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.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.001401/0.001401, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.00153/0.00153, allocations: 209.9 kB / 23.73 MB, free: 4.41 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.828 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.186/0.186, allocations: 38.56 MB / 352.5 MB, free: 12.34 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_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: 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.002328/0.002328, allocations: 63.91 kB / 493 MB, free: 4.219 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3713, allocations: 62.48 MB / 0.5424 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003568/0.3748, allocations: 2.131 MB / 0.5445 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008841/0.3757, allocations: 0.5148 MB / 0.545 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.517e-05/0.3757, allocations: 5.406 kB / 0.545 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.3759, allocations: 10.7 kB / 0.545 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.181e-05/0.376, allocations: 34.31 kB / 0.5451 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.3764, allocations: 77.09 kB / 0.5451 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.3765, allocations: 61.48 kB / 0.5452 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.777e-05/0.3766, allocations: 2.75 kB / 0.5452 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.3767, allocations: 32.34 kB / 0.5452 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.105e-05/0.3768, allocations: 38.95 kB / 0.5453 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.086e-05/0.3768, allocations: 1.375 kB / 0.5453 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002175/0.377, allocations: 103.2 kB / 0.5454 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.654e-05/0.3771, allocations: 13.42 kB / 0.5454 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.3771, allocations: 13.38 kB / 0.5454 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.3773, allocations: 98.12 kB / 0.5455 GB, free: 14.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3773, allocations: 0 / 0.5455 GB, free: 14.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3773, allocations: 3.938 kB / 0.5455 GB, free: 14.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3773, allocations: 1.375 kB / 0.5455 GB, free: 14.07 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004185/0.3777, allocations: 309.3 kB / 0.5458 GB, free: 13.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3778, allocations: 13.58 kB / 0.5458 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.601e-05/0.3778, allocations: 11.5 kB / 0.5458 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.378, allocations: 128.8 kB / 0.5459 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.378, allocations: 5.484 kB / 0.5459 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.378, allocations: 5.281 kB / 0.5459 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.3782, allocations: 90.25 kB / 0.546 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3782, allocations: 0 / 0.546 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3782, allocations: 1 kB / 0.546 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.3782, allocations: 0 / 0.546 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.273e-05/0.3783, allocations: 66.14 kB / 0.5461 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.3784, allocations: 107 kB / 0.5462 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.3785, allocations: 81.31 kB / 0.5463 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.1e-05/0.3786, allocations: 63.23 kB / 0.5463 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.3786, allocations: 5.156 kB / 0.5463 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.3786, allocations: 43.56 kB / 0.5464 GB, free: 13.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.113e-06/0.3786, allocations: 0 / 0.5464 GB, free: 13.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003289/0.379, allocations: 235.8 kB / 0.5466 GB, free: 13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.379, allocations: 82.83 kB / 0.5467 GB, free: 12.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.3791, allocations: 119.4 kB / 0.5468 GB, free: 12.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.3791, allocations: 25.7 kB / 0.5468 GB, free: 12.76 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/0.3792, allocations: 89.94 kB / 0.5469 GB, free: 12.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.204e-05/0.3792, allocations: 23.75 kB / 0.5469 GB, free: 12.65 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.3793, allocations: 23.23 kB / 0.547 GB, free: 12.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3794, allocations: 318.2 kB / 0.5473 GB, free: 12.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.544e-05/0.3795, allocations: 65.67 kB / 0.5473 GB, free: 12.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.584e-05/0.3795, allocations: 58.53 kB / 0.5474 GB, free: 12.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.3797, allocations: 141.2 kB / 0.5475 GB, free: 12.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3797, allocations: 3.938 kB / 0.5475 GB, free: 12.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000179/0.3799, allocations: 166.7 kB / 0.5477 GB, free: 12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.754e-05/0.3799, allocations: 49.34 kB / 0.5477 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3799, allocations: 0 / 0.5477 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3799, allocations: 4.906 kB / 0.5477 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.665e-06/0.3799, allocations: 3.984 kB / 0.5477 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3799, allocations: 1.156 kB / 0.5477 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.448e-05/0.38, allocations: 10.17 kB / 0.5477 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.38, allocations: 2.219 kB / 0.5477 GB, free: 11.95 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.0001214/0.3801, allocations: 155.3 kB / 0.5479 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.3801, allocations: 11.02 kB / 0.5479 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.747e-05/0.3801, allocations: 10.92 kB / 0.5479 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.3801, allocations: 0 / 0.5479 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3801, allocations: 0 / 0.5479 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.3801, allocations: 1.312 kB / 0.5479 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.679e-05/0.3802, allocations: 111.6 kB / 0.548 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3802, allocations: 1.031 kB / 0.548 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.3802, allocations: 4 kB / 0.548 GB, free: 11.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3802, allocations: 3.938 kB / 0.548 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.3803, allocations: 3.469 kB / 0.548 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3803, allocations: 0 / 0.548 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3803, allocations: 0 / 0.548 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.3805, allocations: 255.9 kB / 0.5483 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.377e-05/0.3806, allocations: 6.094 kB / 0.5483 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.3806, allocations: 1.938 kB / 0.5483 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.678e-05/0.3806, allocations: 2.219 kB / 0.5483 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.3806, allocations: 5.016 kB / 0.5483 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.3806, allocations: 7.188 kB / 0.5483 GB, free: 11.44 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.491e-05/0.3807, allocations: 91 kB / 0.5484 GB, free: 11.36 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3807, allocations: 0 / 0.5484 GB, free: 11.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002332/0.3809, allocations: 31.73 kB / 0.5484 GB, free: 11.35 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.0001645/0.3811, allocations: 110.3 kB / 0.5485 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002957/0.3814, allocations: 243.6 kB / 0.5488 GB, free: 11.08 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3814, allocations: 0 / 0.5488 GB, free: 11.08 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.3815, allocations: 148.4 kB / 0.5489 GB, free: 10.97 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.3818, allocations: 18.44 kB / 0.5489 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004264/0.3822, allocations: 272.4 kB / 0.5492 GB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.521e-05/0.3823, allocations: 79.25 kB / 0.5492 GB, free: 10.67 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.257e-05/0.3823, allocations: 1.344 kB / 0.5492 GB, free: 10.67 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.462e-05/0.3823, allocations: 8.812 kB / 0.5493 GB, free: 10.66 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3823, allocations: 0 / 0.5493 GB, free: 10.66 MB / 398.1 MB Notification: Performance of Templates: time 0.003957/0.3862, allocations: 1.16 MB / 0.5504 GB, free: 10.07 MB / 398.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: 5.212069654837251] Failed to read output from testmodel.py, exit status != 0: 0.3944517467170954 0.40916588899999995 0.028570829000000002 Calling exit ...