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.001417/0.001417, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.001559/0.001559, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.552/1.552, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.1935/0.1935, allocations: 38.53 MB / 353.2 MB, free: 12.54 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.002283/0.002283, allocations: 71.02 kB / 493.8 MB, free: 4.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3724, allocations: 62.46 MB / 0.5432 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.003644/0.376, allocations: 2.162 MB / 0.5453 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009792/0.377, allocations: 0.5582 MB / 0.5459 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.555e-05/0.3771, allocations: 0 / 0.5459 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.3772, allocations: 15.39 kB / 0.5459 GB, free: 14.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.3774, allocations: 32.77 kB / 0.5459 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003714/0.3777, allocations: 78.2 kB / 0.546 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.3779, allocations: 61.02 kB / 0.5461 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.646e-05/0.3779, allocations: 6.219 kB / 0.5461 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.3781, allocations: 32.16 kB / 0.5461 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.889e-05/0.3782, allocations: 34.27 kB / 0.5461 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.3782, allocations: 0 / 0.5461 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002546/0.3784, allocations: 125.3 kB / 0.5463 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.961e-05/0.3785, allocations: 20.05 kB / 0.5463 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.144e-05/0.3785, allocations: 21.69 kB / 0.5463 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.3787, allocations: 110.5 kB / 0.5464 GB, free: 14.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3787, allocations: 0 / 0.5464 GB, free: 14.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3787, allocations: 0 / 0.5464 GB, free: 14.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3787, allocations: 0 / 0.5464 GB, free: 14.12 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.0004687/0.3792, allocations: 328.8 kB / 0.5467 GB, free: 13.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.3792, allocations: 14.36 kB / 0.5467 GB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.785e-05/0.3793, allocations: 7.641 kB / 0.5467 GB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.3795, allocations: 129.3 kB / 0.5469 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.3795, allocations: 4.375 kB / 0.5469 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.3795, allocations: 5.469 kB / 0.5469 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.3796, allocations: 57.44 kB / 0.5469 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3797, allocations: 0 / 0.5469 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3797, allocations: 1.438 kB / 0.5469 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3797, allocations: 0 / 0.5469 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.531e-05/0.3797, allocations: 29.05 kB / 0.547 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.3799, allocations: 142 kB / 0.5471 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.583e-05/0.38, allocations: 52.5 kB / 0.5471 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.995e-05/0.38, allocations: 33.42 kB / 0.5472 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.3801, allocations: 7.922 kB / 0.5472 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/0.3801, allocations: 31.94 kB / 0.5472 GB, free: 13.31 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.3801, allocations: 0 / 0.5472 GB, free: 13.31 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003311/0.3804, allocations: 181.4 kB / 0.5474 GB, free: 13.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.53e-05/0.3805, allocations: 88.16 kB / 0.5475 GB, free: 13.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.3806, allocations: 126.4 kB / 0.5476 GB, free: 13 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.3807, allocations: 25.7 kB / 0.5476 GB, free: 12.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.07e-05/0.3807, allocations: 94.64 kB / 0.5477 GB, free: 12.87 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.419e-05/0.3808, allocations: 44.41 kB / 0.5477 GB, free: 12.83 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/0.3808, allocations: 20.69 kB / 0.5478 GB, free: 12.81 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.381, allocations: 321.4 kB / 0.5481 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.662e-05/0.381, allocations: 29.55 kB / 0.5481 GB, free: 12.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.848e-05/0.3811, allocations: 33.17 kB / 0.5481 GB, free: 12.47 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.3812, allocations: 154.9 kB / 0.5483 GB, free: 12.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3812, allocations: 1.031 kB / 0.5483 GB, free: 12.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001762/0.3814, allocations: 157.9 kB / 0.5484 GB, free: 12.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.733e-05/0.3815, allocations: 43.94 kB / 0.5485 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3815, allocations: 0 / 0.5485 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3815, allocations: 5.062 kB / 0.5485 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.3815, allocations: 0 / 0.5485 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.3815, allocations: 0 / 0.5485 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.864e-05/0.3815, allocations: 6.906 kB / 0.5485 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.3815, allocations: 3.375 kB / 0.5485 GB, free: 12.23 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.0001448/0.3817, allocations: 172.2 kB / 0.5486 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.3817, allocations: 16.64 kB / 0.5487 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.767e-05/0.3817, allocations: 10.91 kB / 0.5487 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3817, allocations: 0 / 0.5487 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3817, allocations: 1.562 kB / 0.5487 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3817, allocations: 0 / 0.5487 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.3819, allocations: 148 kB / 0.5488 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3819, allocations: 0 / 0.5488 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.515e-06/0.3819, allocations: 3.984 kB / 0.5488 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.153e-06/0.3819, allocations: 1.25 kB / 0.5488 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.3819, allocations: 6.781 kB / 0.5488 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3819, allocations: 0 / 0.5488 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3819, allocations: 1.156 kB / 0.5488 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003434/0.3822, allocations: 286 kB / 0.5491 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/0.3823, allocations: 10.45 kB / 0.5491 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.3823, allocations: 3.344 kB / 0.5491 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.799e-05/0.3823, allocations: 1.156 kB / 0.5491 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.3823, allocations: 2.312 kB / 0.5491 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.3823, allocations: 7.281 kB / 0.5491 GB, free: 11.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.578e-05/0.3824, allocations: 97.3 kB / 0.5492 GB, free: 11.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3824, allocations: 0 / 0.5492 GB, free: 11.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.3827, allocations: 31.59 kB / 0.5492 GB, free: 11.59 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.0001905/0.3829, allocations: 110.7 kB / 0.5494 GB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003316/0.3832, allocations: 227.2 kB / 0.5496 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3832, allocations: 1.062 kB / 0.5496 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.3834, allocations: 165.9 kB / 0.5497 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.3837, allocations: 14.39 kB / 0.5497 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005368/0.3842, allocations: 303.5 kB / 0.55 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.3845, allocations: 0.7003 MB / 0.5507 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.759e-05/0.3846, allocations: 8.594 kB / 0.5507 GB, free: 10.34 MB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3846, allocations: 0 / 0.5507 GB, free: 10.34 MB / 398.1 MB Notification: Performance of Templates: time 0.003255/0.3878, allocations: 1.257 MB / 0.552 GB, free: 9.727 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: 8.27704752003774] Failed to read output from testmodel.py, exit status != 0: 0.39736485201865435 0.41347556300000005 0.031186424 Calling exit ...