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.00203/0.00203, 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.002636/0.002636, allocations: 211.3 kB / 23.72 MB, free: 4.391 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.632/1.632, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.1983/0.1983, 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_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.002107/0.002107, allocations: 82.23 kB / 493 MB, free: 4.156 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3666, allocations: 62.46 MB / 0.5424 GB, free: 400 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.004652/0.3713, allocations: 2.14 MB / 0.5445 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000959/0.3722, allocations: 0.5109 MB / 0.545 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.075e-05/0.3723, allocations: 7.875 kB / 0.545 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.3724, allocations: 14.16 kB / 0.545 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.84e-05/0.3725, allocations: 22.72 kB / 0.5451 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.373, allocations: 77.47 kB / 0.5451 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001681/0.3732, allocations: 56.7 kB / 0.5452 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.222e-05/0.3732, allocations: 6.734 kB / 0.5452 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/0.3735, allocations: 36.34 kB / 0.5452 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.368e-05/0.3735, allocations: 28.22 kB / 0.5453 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.3735, allocations: 5.375 kB / 0.5453 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002902/0.3738, allocations: 100.6 kB / 0.5454 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.383e-05/0.3739, allocations: 31.03 kB / 0.5454 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.015e-05/0.374, allocations: 20.06 kB / 0.5454 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.3743, allocations: 131 kB / 0.5455 GB, free: 14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.3743, allocations: 0 / 0.5455 GB, free: 14 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.3743, allocations: 0 / 0.5455 GB, free: 14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.3743, allocations: 1 kB / 0.5455 GB, free: 14 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.000703/0.375, allocations: 361.4 kB / 0.5459 GB, free: 13.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.987e-05/0.3751, allocations: 13.39 kB / 0.5459 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.452e-05/0.3752, allocations: 24.55 kB / 0.5459 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.3754, allocations: 138.8 kB / 0.5461 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.3755, allocations: 1.5 kB / 0.5461 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.3755, allocations: 9.188 kB / 0.5461 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.3758, allocations: 160.9 kB / 0.5462 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3758, allocations: 0 / 0.5462 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.3758, allocations: 1.125 kB / 0.5462 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3758, allocations: 0 / 0.5462 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.3759, allocations: 129.6 kB / 0.5463 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.3761, allocations: 114.3 kB / 0.5464 GB, free: 13.17 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.3763, allocations: 148.5 kB / 0.5466 GB, free: 13.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.3765, allocations: 133.6 kB / 0.5467 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.3765, allocations: 3.938 kB / 0.5467 GB, free: 13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.3765, allocations: 36.97 kB / 0.5468 GB, free: 12.96 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.112e-06/0.3765, allocations: 0 / 0.5468 GB, free: 12.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007213/0.3772, allocations: 472.4 kB / 0.5472 GB, free: 12.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.903e-05/0.3773, allocations: 99.53 kB / 0.5473 GB, free: 12.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.3775, allocations: 129.6 kB / 0.5474 GB, free: 12.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.3775, allocations: 26.64 kB / 0.5475 GB, free: 12.47 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.3776, allocations: 95.81 kB / 0.5475 GB, free: 12.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.3777, allocations: 84.92 kB / 0.5476 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.136e-05/0.3777, allocations: 27.47 kB / 0.5476 GB, free: 12.28 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.3779, allocations: 324.2 kB / 0.548 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.3781, allocations: 128.7 kB / 0.5481 GB, free: 11.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.3782, allocations: 128.8 kB / 0.5482 GB, free: 11.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.3785, allocations: 290.1 kB / 0.5485 GB, free: 11.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3785, allocations: 1.375 kB / 0.5485 GB, free: 11.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003897/0.3789, allocations: 325.2 kB / 0.5488 GB, free: 11.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.756e-05/0.379, allocations: 64.88 kB / 0.5489 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.379, allocations: 0 / 0.5489 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.379, allocations: 1.281 kB / 0.5489 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-06/0.379, allocations: 0 / 0.5489 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.379, allocations: 8 kB / 0.5489 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.157e-05/0.3791, allocations: 18.05 kB / 0.5489 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.3791, allocations: 4.094 kB / 0.5489 GB, free: 11.43 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.0001847/0.3793, allocations: 194 kB / 0.5491 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.3793, allocations: 21.03 kB / 0.5491 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.3793, allocations: 12.17 kB / 0.5491 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3793, allocations: 0 / 0.5491 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.3794, allocations: 3.938 kB / 0.5491 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3794, allocations: 5.297 kB / 0.5491 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.3795, allocations: 131.7 kB / 0.5492 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3795, allocations: 4 kB / 0.5492 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-07/0.3795, allocations: 0 / 0.5492 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3795, allocations: 5.219 kB / 0.5492 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.3795, allocations: 4.656 kB / 0.5492 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3795, allocations: 0 / 0.5492 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3795, allocations: 4 kB / 0.5493 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006611/0.3802, allocations: 0.5033 MB / 0.5497 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.872e-05/0.3802, allocations: 24.02 kB / 0.5498 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.464e-05/0.3802, allocations: 5.281 kB / 0.5498 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.572e-05/0.3803, allocations: 2.906 kB / 0.5498 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.3803, allocations: 10.72 kB / 0.5498 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.3803, allocations: 8.25 kB / 0.5498 GB, free: 10.78 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.165e-05/0.3804, allocations: 106.2 kB / 0.5499 GB, free: 10.69 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3804, allocations: 0 / 0.5499 GB, free: 10.69 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.3807, allocations: 44.7 kB / 0.5499 GB, free: 10.69 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.0002154/0.3809, allocations: 116.3 kB / 0.55 GB, free: 10.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008449/0.3817, allocations: 0.4904 MB / 0.5505 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/0.3817, allocations: 0 / 0.5505 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000459/0.3822, allocations: 298.6 kB / 0.5508 GB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.3825, allocations: 18.19 kB / 0.5508 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.3835, allocations: 0.5131 MB / 0.5513 GB, free: 9.855 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.3837, allocations: 105.3 kB / 0.5514 GB, free: 9.766 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.551e-05/0.3837, allocations: 1.125 kB / 0.5514 GB, free: 9.766 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.061e-05/0.3837, allocations: 8.562 kB / 0.5514 GB, free: 9.758 MB / 398.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3837, allocations: 1.156 kB / 0.5514 GB, free: 9.758 MB / 398.1 MB Notification: Performance of Templates: time 0.006771/0.3905, allocations: 2.124 MB / 0.5535 GB, free: 8.422 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: 5.396016133949161] Failed to read output from testmodel.py, exit status != 0: 0.400128360837698 0.416803465 0.039087875 Calling exit ...