Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.001332/0.001332, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001561/0.001561, allocations: 211 kB / 23.73 MB, free: 4.523 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.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.1841/0.1841, allocations: 38.55 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_matrixEqCirc3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",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.002026/0.002026, allocations: 67.89 kB / 492.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3574, allocations: 62.47 MB / 0.542 GB, free: 232 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.0035/0.3609, allocations: 2.125 MB / 0.544 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008453/0.3618, allocations: 0.5224 MB / 0.5445 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.828e-05/0.3618, allocations: 0 / 0.5445 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.3619, allocations: 14.61 kB / 0.5446 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.3621, allocations: 26.72 kB / 0.5446 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.3625, allocations: 76.44 kB / 0.5446 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.3626, allocations: 73.94 kB / 0.5447 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.341e-05/0.3626, allocations: 1.375 kB / 0.5447 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.3628, allocations: 32.41 kB / 0.5448 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.348e-05/0.3628, allocations: 33.23 kB / 0.5448 GB, free: 14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.3628, allocations: 1.406 kB / 0.5448 GB, free: 14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002189/0.363, allocations: 112.1 kB / 0.5449 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.372e-05/0.3631, allocations: 41.16 kB / 0.5449 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.695e-05/0.3632, allocations: 30.34 kB / 0.545 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.3634, allocations: 158.2 kB / 0.5451 GB, free: 13.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.3634, allocations: 4 kB / 0.5451 GB, free: 13.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3634, allocations: 1.375 kB / 0.5451 GB, free: 13.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.3634, allocations: 0 / 0.5451 GB, free: 13.79 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.0005139/0.3639, allocations: 411.6 kB / 0.5455 GB, free: 13.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/0.364, allocations: 13.42 kB / 0.5455 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.983e-05/0.3641, allocations: 45.67 kB / 0.5456 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.3641, allocations: 17.98 kB / 0.5456 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.3643, allocations: 151 kB / 0.5457 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.3643, allocations: 5.125 kB / 0.5457 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.3644, allocations: 1.125 kB / 0.5457 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/0.3647, allocations: 227.1 kB / 0.5459 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3647, allocations: 0 / 0.5459 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.3647, allocations: 0.875 kB / 0.5459 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.3647, allocations: 3.984 kB / 0.546 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002358/0.365, allocations: 198.1 kB / 0.5461 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002544/0.3652, allocations: 170.3 kB / 0.5463 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.3655, allocations: 212.4 kB / 0.5465 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.3658, allocations: 198.3 kB / 0.5467 GB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.3658, allocations: 0 / 0.5467 GB, free: 12.56 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.3658, allocations: 36.94 kB / 0.5467 GB, free: 12.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 3.306e-06/0.3658, allocations: 4 kB / 0.5467 GB, free: 12.51 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.001035/0.3668, allocations: 0.7087 MB / 0.5474 GB, free: 12.18 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.914e-05/0.3669, allocations: 108.3 kB / 0.5475 GB, free: 12.08 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.3671, allocations: 150.8 kB / 0.5477 GB, free: 11.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.3671, allocations: 26.77 kB / 0.5477 GB, free: 11.92 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.497e-05/0.3672, allocations: 96.91 kB / 0.5478 GB, free: 11.82 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.3673, allocations: 141.8 kB / 0.5479 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.349e-05/0.3674, allocations: 35.86 kB / 0.548 GB, free: 11.67 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.3676, allocations: 334.4 kB / 0.5483 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002335/0.3678, allocations: 192.6 kB / 0.5485 GB, free: 11.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.3681, allocations: 196.5 kB / 0.5487 GB, free: 11.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005314/0.3686, allocations: 453.8 kB / 0.5491 GB, free: 10.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3686, allocations: 1.156 kB / 0.5491 GB, free: 10.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005775/0.3692, allocations: 466.7 kB / 0.5495 GB, free: 10.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.3693, allocations: 82.2 kB / 0.5496 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3693, allocations: 1.312 kB / 0.5496 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.3693, allocations: 0 / 0.5496 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.3693, allocations: 0 / 0.5496 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.3693, allocations: 9.141 kB / 0.5496 GB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.793e-05/0.3694, allocations: 23.28 kB / 0.5496 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.3694, allocations: 7.344 kB / 0.5496 GB, free: 10.64 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.0002321/0.3696, allocations: 234.1 kB / 0.5499 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.3697, allocations: 24.83 kB / 0.5499 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.087e-05/0.3697, allocations: 12.67 kB / 0.5499 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.3697, allocations: 1.25 kB / 0.5499 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3697, allocations: 0 / 0.5499 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3697, allocations: 0 / 0.5499 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.3699, allocations: 190.3 kB / 0.5501 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3699, allocations: 0 / 0.5501 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.3699, allocations: 1.469 kB / 0.5501 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.3699, allocations: 0 / 0.5501 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.3699, allocations: 5.719 kB / 0.5501 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.3699, allocations: 5.469 kB / 0.5501 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3699, allocations: 0 / 0.5501 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000883/0.3708, allocations: 0.7762 MB / 0.5509 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.835e-05/0.3708, allocations: 25.92 kB / 0.5509 GB, free: 9.828 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.3708, allocations: 10.25 kB / 0.5509 GB, free: 9.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.425e-05/0.3709, allocations: 5.594 kB / 0.5509 GB, free: 9.824 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.3709, allocations: 11 kB / 0.5509 GB, free: 9.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.3709, allocations: 14.52 kB / 0.5509 GB, free: 9.809 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.817e-05/0.371, allocations: 119.3 kB / 0.551 GB, free: 9.715 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.371, allocations: 0 / 0.551 GB, free: 9.715 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.3713, allocations: 61.88 kB / 0.5511 GB, free: 9.711 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.0014/0.3727, allocations: 1.326 MB / 0.5524 GB, free: 8.801 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.3737, allocations: 0.7601 MB / 0.5531 GB, free: 8.344 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3737, allocations: 3.938 kB / 0.5531 GB, free: 8.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004631/0.3742, allocations: 440.9 kB / 0.5536 GB, free: 7.891 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.3745, allocations: 31.78 kB / 0.5536 GB, free: 7.859 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004123/0.3786, allocations: 3.774 MB / 0.5573 GB, free: 3.965 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001475/0.3787, allocations: 139.6 kB / 0.5574 GB, free: 3.805 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.172e-05/0.3788, allocations: 0 / 0.5574 GB, free: 3.805 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.024e-05/0.3788, allocations: 43.42 kB / 0.5574 GB, free: 3.762 MB / 398.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3788, allocations: 0 / 0.5574 GB, free: 3.762 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03518/0.414, allocations: 5.623 MB / 0.5629 GB, free: 14.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.76, allocations: 13.78 kB / 0.563 GB, free: 14.27 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_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_matrixEqCirc3.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.639077227038797] Failed to read output from testmodel.py, exit status != 0: 11.869421335984953 11.892769677 11.524900564 Calling exit ...