Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.001306/0.001306, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001744/0.001744, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.477/1.477, allocations: 230.6 MB / 258.2 MB, free: 7.82 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.1874/0.1874, allocations: 38.56 MB / 353.2 MB, free: 12.3 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_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") [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.002106/0.002106, allocations: 67.89 kB / 493.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.358, allocations: 62.47 MB / 0.5432 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003655/0.3617, allocations: 2.193 MB / 0.5453 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003315/0.365, allocations: 1.894 MB / 0.5472 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.57e-05/0.3651, allocations: 0.9688 kB / 0.5472 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001319/0.3652, allocations: 10.08 kB / 0.5472 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001036/0.3653, allocations: 35.39 kB / 0.5472 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00292/0.3682, allocations: 0.9656 MB / 0.5482 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.3684, allocations: 75.81 kB / 0.5482 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.247e-05/0.3684, allocations: 7.578 kB / 0.5482 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.3686, allocations: 45.64 kB / 0.5483 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.3687, allocations: 50.19 kB / 0.5483 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.3687, allocations: 7.375 kB / 0.5483 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003602/0.3723, allocations: 1.891 MB / 0.5502 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.396e-05/0.3724, allocations: 46.95 kB / 0.5502 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.63e-05/0.3725, allocations: 45.36 kB / 0.5503 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002376/0.3749, allocations: 1.387 MB / 0.5516 GB, free: 10.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3749, allocations: 1.344 kB / 0.5516 GB, free: 10.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3749, allocations: 0 / 0.5516 GB, free: 10.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.3749, allocations: 4 kB / 0.5516 GB, free: 10.41 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009354/0.3758, allocations: 0.5396 MB / 0.5522 GB, free: 9.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3758, allocations: 14.23 kB / 0.5522 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.027e-05/0.3759, allocations: 19.11 kB / 0.5522 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.3761, allocations: 161.5 kB / 0.5523 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.3761, allocations: 1.406 kB / 0.5523 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.3762, allocations: 0 / 0.5523 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003206/0.3765, allocations: 240.7 kB / 0.5526 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3765, allocations: 0 / 0.5526 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.3765, allocations: 0 / 0.5526 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3765, allocations: 0 / 0.5526 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002268/0.3767, allocations: 205.1 kB / 0.5528 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.3769, allocations: 133.1 kB / 0.5529 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.3772, allocations: 219.3 kB / 0.5531 GB, free: 9.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.3774, allocations: 205.2 kB / 0.5533 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.599e-06/0.3774, allocations: 0 / 0.5533 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.3774, allocations: 36.59 kB / 0.5533 GB, free: 9.105 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.002e-06/0.3774, allocations: 0 / 0.5533 GB, free: 9.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0009823/0.3784, allocations: 0.7312 MB / 0.554 GB, free: 8.766 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.822e-05/0.3785, allocations: 107.3 kB / 0.5541 GB, free: 8.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.3787, allocations: 165.8 kB / 0.5543 GB, free: 8.535 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.3787, allocations: 29.73 kB / 0.5543 GB, free: 8.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.973e-05/0.3788, allocations: 106.2 kB / 0.5544 GB, free: 8.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.3789, allocations: 142.4 kB / 0.5546 GB, free: 8.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.248e-05/0.379, allocations: 37.62 kB / 0.5546 GB, free: 8.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3791, allocations: 332.3 kB / 0.5549 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.3793, allocations: 205.5 kB / 0.5551 GB, free: 7.707 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.3795, allocations: 197.6 kB / 0.5553 GB, free: 7.508 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004663/0.38, allocations: 473.1 kB / 0.5558 GB, free: 7.031 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.38, allocations: 0 / 0.5558 GB, free: 7.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005571/0.3806, allocations: 480.7 kB / 0.5562 GB, free: 6.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.555e-05/0.3806, allocations: 85.64 kB / 0.5563 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.3807, allocations: 4.062 kB / 0.5563 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3807, allocations: 0 / 0.5563 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.3807, allocations: 0 / 0.5563 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3807, allocations: 0 / 0.5563 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.968e-05/0.3808, allocations: 19.88 kB / 0.5563 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.3808, allocations: 12 kB / 0.5563 GB, free: 6.418 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.0002264/0.381, allocations: 231.4 kB / 0.5566 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.3811, allocations: 31.86 kB / 0.5566 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.07e-05/0.3811, allocations: 14.66 kB / 0.5566 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3811, allocations: 0 / 0.5566 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3811, allocations: 4 kB / 0.5566 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3811, allocations: 3.938 kB / 0.5566 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.3812, allocations: 157 kB / 0.5568 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3812, allocations: 0 / 0.5568 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.3812, allocations: 0 / 0.5568 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3813, allocations: 7.984 kB / 0.5568 GB, free: 5.934 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.3813, allocations: 4 kB / 0.5568 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3813, allocations: 0 / 0.5568 GB, free: 5.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3813, allocations: 7.938 kB / 0.5568 GB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009527/0.3822, allocations: 0.7967 MB / 0.5576 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.25e-05/0.3823, allocations: 23.8 kB / 0.5576 GB, free: 5.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.3823, allocations: 12.02 kB / 0.5576 GB, free: 5.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.439e-05/0.3823, allocations: 8 kB / 0.5576 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.3824, allocations: 0 / 0.5576 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.3824, allocations: 12 kB / 0.5576 GB, free: 5.039 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.3825, allocations: 136.2 kB / 0.5577 GB, free: 4.906 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3825, allocations: 0 / 0.5577 GB, free: 4.906 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001176/0.3837, allocations: 355.3 kB / 0.5581 GB, free: 4.559 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.001041/0.3847, allocations: 378.2 kB / 0.5584 GB, free: 4.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009292/0.3857, allocations: 0.768 MB / 0.5592 GB, free: 3.387 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3857, allocations: 3.938 kB / 0.5592 GB, free: 3.383 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004836/0.3861, allocations: 448.9 kB / 0.5596 GB, free: 2.926 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.3864, allocations: 21.94 kB / 0.5596 GB, free: 2.906 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.3876, allocations: 0.8141 MB / 0.5604 GB, free: 2.055 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.3877, allocations: 144.2 kB / 0.5606 GB, free: 1.891 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.031e-05/0.3877, allocations: 11.44 kB / 0.5606 GB, free: 1.879 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3877, allocations: 0 / 0.5606 GB, free: 1.879 MB / 398.1 MB Notification: Performance of Templates: time 0.01257/0.4003, allocations: 7.138 MB / 0.5676 GB, free: 10.72 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.793695072177798] Failed to read output from testmodel.py, exit status != 0: 0.40908185206353664 0.42406849900000004 0.045940961 Calling exit ...