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.001305/0.001305, allocations: 115.6 kB / 20.43 MB, free: 1.309 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.001425/0.001425, allocations: 215 kB / 23.74 MB, free: 4.535 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.3002/0.3002, allocations: 38.53 MB / 352.5 MB, free: 12.54 MB / 286.1 MB " [Timeout remaining time 179] 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_matrixEqCirc1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",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.003108/0.003108, allocations: 67.89 kB / 492.5 MB, free: 4.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3615, allocations: 62.47 MB / 0.542 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.005305/0.3668, allocations: 2.15 MB / 0.5441 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.3682, allocations: 0.5666 MB / 0.5447 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.858e-05/0.3683, allocations: 0 / 0.5447 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.3685, allocations: 10.11 kB / 0.5447 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.3687, allocations: 34.39 kB / 0.5447 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004945/0.3692, allocations: 77.19 kB / 0.5448 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.3694, allocations: 60.8 kB / 0.5448 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.663e-05/0.3695, allocations: 10.2 kB / 0.5449 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.3697, allocations: 36.53 kB / 0.5449 GB, free: 14.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.333e-05/0.3698, allocations: 29.52 kB / 0.5449 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.3698, allocations: 1.094 kB / 0.5449 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003703/0.3701, allocations: 124.4 kB / 0.545 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.189e-05/0.3702, allocations: 20.67 kB / 0.5451 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.874e-05/0.3703, allocations: 21.39 kB / 0.5451 GB, free: 14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.3706, allocations: 109.9 kB / 0.5452 GB, free: 13.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3706, allocations: 0 / 0.5452 GB, free: 13.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3706, allocations: 0 / 0.5452 GB, free: 13.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.3706, allocations: 2.094 kB / 0.5452 GB, free: 13.95 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.0005241/0.3711, allocations: 331.6 kB / 0.5455 GB, free: 13.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.3712, allocations: 13.58 kB / 0.5455 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.505e-05/0.3712, allocations: 36.66 kB / 0.5455 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.3713, allocations: 8.641 kB / 0.5456 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.3715, allocations: 132.8 kB / 0.5457 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3715, allocations: 1.5 kB / 0.5457 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.3715, allocations: 4.938 kB / 0.5457 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.3717, allocations: 57.69 kB / 0.5457 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3717, allocations: 4 kB / 0.5457 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3717, allocations: 0 / 0.5457 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.3717, allocations: 1.344 kB / 0.5457 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.819e-05/0.3718, allocations: 36.14 kB / 0.5458 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.3721, allocations: 133.8 kB / 0.5459 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.3722, allocations: 56.72 kB / 0.546 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.66e-05/0.3723, allocations: 33.22 kB / 0.546 GB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.3723, allocations: 1.219 kB / 0.546 GB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/0.3723, allocations: 35.84 kB / 0.546 GB, free: 13.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.853e-06/0.3723, allocations: 0 / 0.546 GB, free: 13.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004027/0.3727, allocations: 184.8 kB / 0.5462 GB, free: 12.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.803e-05/0.3728, allocations: 89.06 kB / 0.5463 GB, free: 12.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.373, allocations: 121.2 kB / 0.5464 GB, free: 12.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.373, allocations: 26.8 kB / 0.5464 GB, free: 12.74 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.3731, allocations: 94.17 kB / 0.5465 GB, free: 12.65 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.011e-05/0.3731, allocations: 40.89 kB / 0.5466 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/0.3732, allocations: 20.75 kB / 0.5466 GB, free: 12.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.3734, allocations: 321.6 kB / 0.5469 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.069e-05/0.3735, allocations: 28.61 kB / 0.5469 GB, free: 12.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.562e-05/0.3735, allocations: 32.61 kB / 0.5469 GB, free: 12.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.3737, allocations: 159.7 kB / 0.5471 GB, free: 12.15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3737, allocations: 0 / 0.5471 GB, free: 12.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002673/0.374, allocations: 149.5 kB / 0.5472 GB, free: 12.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.106e-05/0.3741, allocations: 48.69 kB / 0.5473 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3741, allocations: 64 / 0.5473 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.3741, allocations: 5.125 kB / 0.5473 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.493e-06/0.3741, allocations: 0 / 0.5473 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3741, allocations: 0 / 0.5473 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.3741, allocations: 11.3 kB / 0.5473 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.3742, allocations: 3.344 kB / 0.5473 GB, free: 12.01 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.0002028/0.3744, allocations: 167.8 kB / 0.5475 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.3744, allocations: 9.516 kB / 0.5475 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.3744, allocations: 5.625 kB / 0.5475 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3744, allocations: 0 / 0.5475 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3744, allocations: 4.75 kB / 0.5475 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3744, allocations: 1 kB / 0.5475 GB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/0.3746, allocations: 151.7 kB / 0.5476 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3746, allocations: 0 / 0.5476 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-07/0.3746, allocations: 1.188 kB / 0.5476 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3746, allocations: 0 / 0.5476 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.3746, allocations: 3.469 kB / 0.5476 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3746, allocations: 0 / 0.5476 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3746, allocations: 3.938 kB / 0.5476 GB, free: 11.65 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005428/0.3752, allocations: 286.8 kB / 0.5479 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.296e-05/0.3752, allocations: 11.83 kB / 0.5479 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.3752, allocations: 2.562 kB / 0.5479 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.657e-05/0.3753, allocations: 1.406 kB / 0.5479 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.3753, allocations: 5.281 kB / 0.5479 GB, free: 11.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.3753, allocations: 7.719 kB / 0.5479 GB, free: 11.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.3754, allocations: 97.62 kB / 0.548 GB, free: 11.38 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3754, allocations: 0 / 0.548 GB, free: 11.38 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003812/0.3758, allocations: 36.84 kB / 0.5481 GB, free: 11.37 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.001095/0.3769, allocations: 0.8197 MB / 0.5489 GB, free: 10.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004749/0.3774, allocations: 232 kB / 0.5491 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.3774, allocations: 0 / 0.5491 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002916/0.3777, allocations: 157.7 kB / 0.5492 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.3781, allocations: 22.91 kB / 0.5493 GB, free: 10.44 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.3807, allocations: 1.771 MB / 0.551 GB, free: 9.039 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004283/0.3811, allocations: 0.704 MB / 0.5517 GB, free: 8.328 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.283e-05/0.3811, allocations: 1.125 kB / 0.5517 GB, free: 8.328 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.441e-05/0.3812, allocations: 16.44 kB / 0.5517 GB, free: 8.312 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3812, allocations: 1.156 kB / 0.5517 GB, free: 8.312 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03566/0.4169, allocations: 2.733 MB / 0.5544 GB, free: 6.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.63, allocations: 4.953 kB / 0.5544 GB, free: 6.906 MB / 398.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_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_matrixEqCirc1.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.681295425994904] Failed to read output from testmodel.py, exit status != 0: 11.765589030001138 11.792491972 11.416557826 Calling exit ...