Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.001392/0.001392, allocations: 112.2 kB / 21.19 MB, free: 0.7695 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.001624/0.001624, allocations: 210 kB / 24.5 MB, free: 4.156 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.658/1.658, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.1923/0.1923, allocations: 38.52 MB / 353.2 MB, free: 12.52 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_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") [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.002104/0.002104, allocations: 67.91 kB / 493.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3564, allocations: 62.46 MB / 0.5432 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003782/0.3602, allocations: 2.159 MB / 0.5453 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000982/0.3612, allocations: 0.5616 MB / 0.5459 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.746e-05/0.3612, allocations: 0 / 0.5459 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.3614, allocations: 10.42 kB / 0.5459 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.3615, allocations: 34.72 kB / 0.5459 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.3619, allocations: 73 kB / 0.546 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.362, allocations: 72.55 kB / 0.5461 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.18e-05/0.3621, allocations: 2.75 kB / 0.5461 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.3622, allocations: 36.34 kB / 0.5461 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/0.3623, allocations: 24.28 kB / 0.5461 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.3623, allocations: 1.375 kB / 0.5461 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.3625, allocations: 124.7 kB / 0.5462 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.078e-05/0.3626, allocations: 34.97 kB / 0.5463 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.3626, allocations: 32 kB / 0.5463 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.3629, allocations: 131.3 kB / 0.5464 GB, free: 14.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3629, allocations: 0 / 0.5464 GB, free: 14.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3629, allocations: 0 / 0.5464 GB, free: 14.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.3629, allocations: 0 / 0.5464 GB, free: 14.1 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0004689/0.3633, allocations: 364.4 kB / 0.5468 GB, free: 13.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.3634, allocations: 12.16 kB / 0.5468 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.3634, allocations: 16.84 kB / 0.5468 GB, free: 13.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.3636, allocations: 133.9 kB / 0.5469 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.3636, allocations: 5.844 kB / 0.5469 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.3636, allocations: 5.5 kB / 0.5469 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.3638, allocations: 94.09 kB / 0.547 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3638, allocations: 1.094 kB / 0.547 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.3638, allocations: 0 / 0.547 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3638, allocations: 1.094 kB / 0.547 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.358e-05/0.3639, allocations: 59.22 kB / 0.5471 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.3641, allocations: 146.7 kB / 0.5472 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.3642, allocations: 78.2 kB / 0.5473 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.502e-05/0.3643, allocations: 67.7 kB / 0.5474 GB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.3643, allocations: 3.938 kB / 0.5474 GB, free: 13.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.3643, allocations: 31.56 kB / 0.5474 GB, free: 13.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 9.82e-07/0.3643, allocations: 3.938 kB / 0.5474 GB, free: 13.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004875/0.3648, allocations: 303.6 kB / 0.5477 GB, free: 13.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.3649, allocations: 99.23 kB / 0.5478 GB, free: 12.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.365, allocations: 133 kB / 0.5479 GB, free: 12.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.365, allocations: 31.08 kB / 0.548 GB, free: 12.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.203e-05/0.3651, allocations: 91.17 kB / 0.548 GB, free: 12.73 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.773e-05/0.3652, allocations: 85 kB / 0.5481 GB, free: 12.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.627e-05/0.3652, allocations: 27.3 kB / 0.5481 GB, free: 12.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3654, allocations: 323.5 kB / 0.5485 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.311e-05/0.3654, allocations: 53.98 kB / 0.5485 GB, free: 12.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.687e-05/0.3655, allocations: 61.23 kB / 0.5486 GB, free: 12.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.3657, allocations: 248.8 kB / 0.5488 GB, free: 12.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3657, allocations: 5.219 kB / 0.5488 GB, free: 12.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002613/0.366, allocations: 232.8 kB / 0.549 GB, free: 12.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.099e-05/0.3661, allocations: 60.64 kB / 0.5491 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.3661, allocations: 5.109 kB / 0.5491 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3661, allocations: 0 / 0.5491 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.3661, allocations: 0 / 0.5491 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.3661, allocations: 5.016 kB / 0.5491 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.986e-05/0.3661, allocations: 13.36 kB / 0.5491 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.3662, allocations: 3.844 kB / 0.5491 GB, free: 11.97 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.000174/0.3663, allocations: 198 kB / 0.5493 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.3664, allocations: 16.56 kB / 0.5493 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/0.3664, allocations: 15.91 kB / 0.5493 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3664, allocations: 0 / 0.5493 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.3664, allocations: 1.469 kB / 0.5493 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3664, allocations: 0 / 0.5493 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.3666, allocations: 175.9 kB / 0.5495 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3666, allocations: 0 / 0.5495 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-06/0.3666, allocations: 5.5 kB / 0.5495 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.3666, allocations: 0 / 0.5495 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.3666, allocations: 8.375 kB / 0.5495 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3666, allocations: 0 / 0.5495 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3666, allocations: 1.531 kB / 0.5495 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005809/0.3672, allocations: 0.5078 MB / 0.55 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.3672, allocations: 15.81 kB / 0.55 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/0.3672, allocations: 4.031 kB / 0.55 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.454e-05/0.3672, allocations: 3.781 kB / 0.55 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.121e-05/0.3673, allocations: 10.58 kB / 0.55 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.3673, allocations: 8.25 kB / 0.5501 GB, free: 11.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.746e-05/0.3674, allocations: 102 kB / 0.5502 GB, free: 11.22 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3674, allocations: 0 / 0.5502 GB, free: 11.22 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.3676, allocations: 41.12 kB / 0.5502 GB, free: 11.22 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.0001919/0.3678, allocations: 111 kB / 0.5503 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000647/0.3685, allocations: 462.2 kB / 0.5507 GB, free: 10.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.3685, allocations: 0 / 0.5507 GB, free: 10.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004064/0.3689, allocations: 312.9 kB / 0.551 GB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.3691, allocations: 24.28 kB / 0.5511 GB, free: 10.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007088/0.3698, allocations: 464.3 kB / 0.5515 GB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.3702, allocations: 0.7189 MB / 0.5522 GB, free: 9.781 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.966e-05/0.3703, allocations: 9.219 kB / 0.5522 GB, free: 9.773 MB / 398.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3703, allocations: 0 / 0.5522 GB, free: 9.773 MB / 398.1 MB Notification: Performance of Templates: time 0.004053/0.3743, allocations: 1.734 MB / 0.5539 GB, free: 8.922 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.6829242228996] Failed to read output from testmodel.py, exit status != 0: 0.38383752992376685 0.39946772899999994 0.033260955 Calling exit ...