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.001369/0.001369, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001477/0.001477, allocations: 205.8 kB / 23.73 MB, free: 4.379 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.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.192/0.192, allocations: 38.56 MB / 352.5 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="me",version="2.0",platforms={"static"}) [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.00201/0.00201, allocations: 67.89 kB / 492.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3656, allocations: 62.48 MB / 0.542 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.004351/0.3699, allocations: 2.131 MB / 0.544 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.371, allocations: 0.5151 MB / 0.5445 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.706e-05/0.371, allocations: 5.125 kB / 0.5445 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002388/0.3713, allocations: 14.31 kB / 0.5446 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.3714, allocations: 25.83 kB / 0.5446 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.3718, allocations: 81.34 kB / 0.5447 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001462/0.372, allocations: 61.58 kB / 0.5447 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.597e-05/0.372, allocations: 3.938 kB / 0.5447 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.3722, allocations: 37.14 kB / 0.5448 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.479e-05/0.3723, allocations: 32.44 kB / 0.5448 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.3723, allocations: 1.656 kB / 0.5448 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002623/0.3725, allocations: 116.7 kB / 0.5449 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.307e-05/0.3726, allocations: 13.05 kB / 0.5449 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.877e-05/0.3726, allocations: 12.5 kB / 0.5449 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.3729, allocations: 98.44 kB / 0.545 GB, free: 13.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3729, allocations: 0 / 0.545 GB, free: 13.87 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.3729, allocations: 0 / 0.545 GB, free: 13.87 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.3729, allocations: 0 / 0.545 GB, free: 13.87 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.0005144/0.3734, allocations: 314.2 kB / 0.5453 GB, free: 13.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.3735, allocations: 14.17 kB / 0.5453 GB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.3735, allocations: 36.19 kB / 0.5454 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/0.3736, allocations: 10.98 kB / 0.5454 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.3737, allocations: 129.2 kB / 0.5455 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.3737, allocations: 1.719 kB / 0.5455 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.3737, allocations: 3.938 kB / 0.5455 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.3739, allocations: 95.03 kB / 0.5456 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.3739, allocations: 0 / 0.5456 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.3739, allocations: 1.125 kB / 0.5456 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3739, allocations: 0 / 0.5456 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.133e-05/0.374, allocations: 62.16 kB / 0.5457 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.3742, allocations: 128.7 kB / 0.5458 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.3743, allocations: 88.97 kB / 0.5459 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.082e-05/0.3744, allocations: 67.3 kB / 0.5459 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.3744, allocations: 0 / 0.5459 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.3744, allocations: 35.94 kB / 0.546 GB, free: 12.89 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 8.32e-07/0.3744, allocations: 1.375 kB / 0.546 GB, free: 12.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003329/0.3747, allocations: 235.1 kB / 0.5462 GB, free: 12.72 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.3748, allocations: 86.55 kB / 0.5463 GB, free: 12.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.3749, allocations: 111.6 kB / 0.5464 GB, free: 12.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.3749, allocations: 25.7 kB / 0.5464 GB, free: 12.49 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.375, allocations: 94.86 kB / 0.5465 GB, free: 12.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.375, allocations: 26.5 kB / 0.5465 GB, free: 12.37 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.3751, allocations: 24.61 kB / 0.5465 GB, free: 12.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3752, allocations: 316.2 kB / 0.5468 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.757e-05/0.3753, allocations: 63.33 kB / 0.5469 GB, free: 11.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.499e-05/0.3754, allocations: 64.98 kB / 0.547 GB, free: 11.94 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.3755, allocations: 136.3 kB / 0.5471 GB, free: 11.85 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.3755, allocations: 4.75 kB / 0.5471 GB, free: 11.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002196/0.3758, allocations: 167 kB / 0.5473 GB, free: 11.72 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.007e-05/0.3758, allocations: 41.03 kB / 0.5473 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.3758, allocations: 1.188 kB / 0.5473 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.3758, allocations: 0 / 0.5473 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.302e-06/0.3758, allocations: 0 / 0.5473 GB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.3758, allocations: 9.094 kB / 0.5473 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.144e-05/0.3759, allocations: 14.16 kB / 0.5473 GB, free: 11.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.3759, allocations: 2.312 kB / 0.5473 GB, free: 11.67 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.0001554/0.3761, allocations: 158 kB / 0.5475 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.3761, allocations: 8.422 kB / 0.5475 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.489e-05/0.3761, allocations: 10.33 kB / 0.5475 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3761, allocations: 5.109 kB / 0.5475 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3761, allocations: 0 / 0.5475 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.3761, allocations: 3.938 kB / 0.5475 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.3763, allocations: 137.7 kB / 0.5476 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3763, allocations: 5.281 kB / 0.5476 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.3763, allocations: 0 / 0.5476 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.3763, allocations: 0 / 0.5476 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.3763, allocations: 2.25 kB / 0.5476 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.3763, allocations: 0.9688 kB / 0.5476 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3763, allocations: 4 kB / 0.5476 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.3766, allocations: 255 kB / 0.5479 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.3766, allocations: 2.375 kB / 0.5479 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.3766, allocations: 6.328 kB / 0.5479 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.773e-05/0.3767, allocations: 2.344 kB / 0.5479 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.3767, allocations: 1.344 kB / 0.5479 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.3767, allocations: 7.094 kB / 0.5479 GB, free: 11.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.623e-05/0.3768, allocations: 91.17 kB / 0.548 GB, free: 11.04 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3768, allocations: 0 / 0.548 GB, free: 11.04 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.377, allocations: 27.06 kB / 0.548 GB, free: 11.04 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.0007957/0.3778, allocations: 0.7987 MB / 0.5488 GB, free: 10.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.3781, allocations: 243.8 kB / 0.549 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3781, allocations: 0 / 0.549 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.3783, allocations: 152.5 kB / 0.5492 GB, free: 10.03 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.3786, allocations: 22.05 kB / 0.5492 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.3806, allocations: 1.752 MB / 0.5509 GB, free: 8.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.3807, allocations: 80 kB / 0.551 GB, free: 8.438 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.485e-05/0.3807, allocations: 0 / 0.551 GB, free: 8.438 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.3808, allocations: 20.61 kB / 0.551 GB, free: 8.418 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3808, allocations: 0 / 0.551 GB, free: 8.418 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03068/0.4114, allocations: 2.783 MB / 0.5537 GB, free: 6.754 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.4, allocations: 5.219 kB / 0.5537 GB, free: 6.754 MB / 398.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.454956769011915] Failed to read output from testmodel.py, exit status != 0: 11.527306674979627 11.609613021 11.227121297 Calling exit ...