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.001749/0.001749, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002184/0.002184, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.571/1.571, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.1856/0.1856, allocations: 38.52 MB / 352.5 MB, free: 12.52 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_matrixEqCirc2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc2",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.001995/0.001995, allocations: 70.86 kB / 492.6 MB, free: 4.855 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3603, allocations: 62.47 MB / 0.542 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003656/0.3639, allocations: 2.148 MB / 0.5441 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.365, allocations: 0.5649 MB / 0.5447 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.146e-05/0.3651, allocations: 3.938 kB / 0.5447 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002032/0.3653, allocations: 10.67 kB / 0.5447 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.3654, allocations: 30.45 kB / 0.5447 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005446/0.3659, allocations: 80.52 kB / 0.5448 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.3661, allocations: 61.02 kB / 0.5448 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.963e-05/0.3662, allocations: 6.781 kB / 0.5448 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.3663, allocations: 35.97 kB / 0.5449 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.048e-05/0.3664, allocations: 33.42 kB / 0.5449 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.3664, allocations: 2.062 kB / 0.5449 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002791/0.3667, allocations: 119.6 kB / 0.545 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.627e-05/0.3668, allocations: 30.48 kB / 0.5451 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.942e-05/0.3668, allocations: 31.34 kB / 0.5451 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002801/0.3671, allocations: 130.6 kB / 0.5452 GB, free: 13.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.3671, allocations: 1.094 kB / 0.5452 GB, free: 13.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3671, allocations: 0 / 0.5452 GB, free: 13.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.3671, allocations: 0 / 0.5452 GB, free: 13.91 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.0005311/0.3677, allocations: 365.2 kB / 0.5456 GB, free: 13.56 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.3677, allocations: 14.73 kB / 0.5456 GB, free: 13.56 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.3678, allocations: 42.52 kB / 0.5456 GB, free: 13.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/0.3678, allocations: 12.44 kB / 0.5456 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.368, allocations: 131.5 kB / 0.5458 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.368, allocations: 384 / 0.5458 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.368, allocations: 4.969 kB / 0.5458 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.3682, allocations: 91.38 kB / 0.5458 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3682, allocations: 5.094 kB / 0.5459 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.3682, allocations: 7.984 kB / 0.5459 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3682, allocations: 3.938 kB / 0.5459 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.5e-05/0.3683, allocations: 59.59 kB / 0.5459 GB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001852/0.3685, allocations: 154.9 kB / 0.5461 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.3686, allocations: 78.31 kB / 0.5461 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.384e-05/0.3687, allocations: 63.33 kB / 0.5462 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.3687, allocations: 1.375 kB / 0.5462 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.3687, allocations: 34.56 kB / 0.5462 GB, free: 12.97 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 9.82e-07/0.3687, allocations: 0 / 0.5462 GB, free: 12.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0005271/0.3693, allocations: 307.4 kB / 0.5465 GB, free: 12.83 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.35e-05/0.3694, allocations: 95.47 kB / 0.5466 GB, free: 12.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.3695, allocations: 139.7 kB / 0.5468 GB, free: 12.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.3695, allocations: 26.86 kB / 0.5468 GB, free: 12.58 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.3696, allocations: 91.97 kB / 0.5469 GB, free: 12.49 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.322e-05/0.3696, allocations: 76.45 kB / 0.5469 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.306e-05/0.3697, allocations: 31.17 kB / 0.547 GB, free: 12.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3698, allocations: 327.6 kB / 0.5473 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.98e-05/0.3699, allocations: 55.27 kB / 0.5473 GB, free: 12.06 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.989e-05/0.3699, allocations: 57.48 kB / 0.5474 GB, free: 12.04 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/0.3702, allocations: 248.6 kB / 0.5476 GB, free: 11.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3702, allocations: 3.938 kB / 0.5476 GB, free: 11.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002661/0.3705, allocations: 225.3 kB / 0.5478 GB, free: 11.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.293e-05/0.3705, allocations: 64.44 kB / 0.5479 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.3705, allocations: 1.094 kB / 0.5479 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3706, allocations: 4 kB / 0.5479 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.3706, allocations: 1.375 kB / 0.5479 GB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3706, allocations: 3.984 kB / 0.5479 GB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.113e-05/0.3706, allocations: 17.05 kB / 0.5479 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.3706, allocations: 4.688 kB / 0.5479 GB, free: 11.73 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.0001688/0.3708, allocations: 193.4 kB / 0.5481 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.3708, allocations: 16.53 kB / 0.5481 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.691e-05/0.3708, allocations: 7.469 kB / 0.5481 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3708, allocations: 5.062 kB / 0.5481 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3708, allocations: 0 / 0.5481 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3708, allocations: 1.062 kB / 0.5482 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.371, allocations: 175.6 kB / 0.5483 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.371, allocations: 0 / 0.5483 GB, free: 11.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-07/0.371, allocations: 5 kB / 0.5483 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.371, allocations: 0 / 0.5483 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.371, allocations: 4.531 kB / 0.5483 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.371, allocations: 1.094 kB / 0.5483 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.371, allocations: 0 / 0.5483 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007353/0.3718, allocations: 0.5167 MB / 0.5488 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.307e-05/0.3718, allocations: 15.34 kB / 0.5488 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.3718, allocations: 5.281 kB / 0.5489 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.871e-05/0.3719, allocations: 6.875 kB / 0.5489 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.3719, allocations: 1.656 kB / 0.5489 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.3719, allocations: 4.75 kB / 0.5489 GB, free: 11.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.737e-05/0.372, allocations: 109.6 kB / 0.549 GB, free: 10.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.372, allocations: 0 / 0.549 GB, free: 10.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.3723, allocations: 49.5 kB / 0.549 GB, free: 10.98 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.001072/0.3733, allocations: 1.052 MB / 0.55 GB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005779/0.3739, allocations: 461.6 kB / 0.5505 GB, free: 10.01 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3739, allocations: 0 / 0.5505 GB, free: 10.01 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004065/0.3743, allocations: 313.3 kB / 0.5508 GB, free: 9.867 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.3746, allocations: 21.98 kB / 0.5508 GB, free: 9.859 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003815/0.3784, allocations: 2.486 MB / 0.5532 GB, free: 8.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/0.3789, allocations: 0.7188 MB / 0.5539 GB, free: 7.465 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.567e-05/0.379, allocations: 1.125 kB / 0.5539 GB, free: 7.465 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/0.379, allocations: 28.52 kB / 0.554 GB, free: 7.438 MB / 398.1 MB Notification: Performance of SimCode: time 1.152e-06/0.379, allocations: 0 / 0.554 GB, free: 7.438 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03647/0.4155, allocations: 3.846 MB / 0.5577 GB, free: 4.035 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.55, allocations: 3.938 kB / 0.5577 GB, free: 4.031 MB / 398.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_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_matrixEqCirc2.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.522373807994882] Failed to read output from testmodel.py, exit status != 0: 11.663535294996109 11.692848036 11.320547364 Calling exit ...