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.001387/0.001387, 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.001493/0.001493, allocations: 211 kB / 23.73 MB, free: 4.387 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.502/1.502, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.1861/0.1861, allocations: 38.56 MB / 352.5 MB, free: 12.3 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.002148/0.002148, allocations: 63.89 kB / 492.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.3628, allocations: 62.48 MB / 0.542 GB, free: 232 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.004318/0.3671, allocations: 2.135 MB / 0.544 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.3682, allocations: 0.5107 MB / 0.5445 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/0.3683, allocations: 9.875 kB / 0.5445 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001846/0.3685, allocations: 10.23 kB / 0.5446 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001777/0.3687, allocations: 25.59 kB / 0.5446 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004698/0.3691, allocations: 76.41 kB / 0.5447 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001597/0.3693, allocations: 58.55 kB / 0.5447 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.064e-05/0.3694, allocations: 8.906 kB / 0.5447 GB, free: 14.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.3695, allocations: 36.72 kB / 0.5448 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.329e-05/0.3696, allocations: 29.12 kB / 0.5448 GB, free: 14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.3696, allocations: 1.375 kB / 0.5448 GB, free: 14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002371/0.3699, allocations: 100.7 kB / 0.5449 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.282e-05/0.3699, allocations: 16.17 kB / 0.5449 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.3699, allocations: 13.38 kB / 0.5449 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.3702, allocations: 117.5 kB / 0.545 GB, free: 13.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3702, allocations: 0 / 0.545 GB, free: 13.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3702, allocations: 0 / 0.545 GB, free: 13.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.3702, allocations: 1.375 kB / 0.545 GB, free: 13.85 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.0004913/0.3707, allocations: 327.1 kB / 0.5453 GB, free: 13.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.3707, allocations: 13.58 kB / 0.5453 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.452e-05/0.3708, allocations: 40.06 kB / 0.5454 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.3708, allocations: 9.016 kB / 0.5454 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.371, allocations: 125.3 kB / 0.5455 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.371, allocations: 384 / 0.5455 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.371, allocations: 9.25 kB / 0.5455 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.3712, allocations: 110.2 kB / 0.5456 GB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.3712, allocations: 0 / 0.5456 GB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.3713, allocations: 4 kB / 0.5456 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3713, allocations: 1.156 kB / 0.5456 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.3714, allocations: 77.17 kB / 0.5457 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.3716, allocations: 129.9 kB / 0.5458 GB, free: 13.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.3717, allocations: 100.1 kB / 0.5459 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.869e-05/0.3718, allocations: 90.25 kB / 0.546 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.3718, allocations: 1.25 kB / 0.546 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.3719, allocations: 31.81 kB / 0.546 GB, free: 12.85 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 9.62e-07/0.3719, allocations: 224 / 0.546 GB, free: 12.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.000518/0.3724, allocations: 291 kB / 0.5463 GB, free: 12.66 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.115e-05/0.3725, allocations: 85.95 kB / 0.5464 GB, free: 12.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.3726, allocations: 125.4 kB / 0.5465 GB, free: 12.45 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.3726, allocations: 25.7 kB / 0.5465 GB, free: 12.42 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.894e-05/0.3727, allocations: 91.06 kB / 0.5466 GB, free: 12.33 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.548e-05/0.3727, allocations: 44.22 kB / 0.5467 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.3728, allocations: 29.2 kB / 0.5467 GB, free: 12.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.3729, allocations: 321.5 kB / 0.547 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.764e-05/0.373, allocations: 81.42 kB / 0.5471 GB, free: 11.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.898e-05/0.3731, allocations: 77.42 kB / 0.5472 GB, free: 11.85 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.3733, allocations: 177.8 kB / 0.5473 GB, free: 11.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3733, allocations: 0 / 0.5473 GB, free: 11.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002509/0.3736, allocations: 208.3 kB / 0.5475 GB, free: 11.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.167e-05/0.3737, allocations: 52.64 kB / 0.5476 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3737, allocations: 0 / 0.5476 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3737, allocations: 0 / 0.5476 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.352e-06/0.3737, allocations: 1.062 kB / 0.5476 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.3737, allocations: 4.062 kB / 0.5476 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.365e-05/0.3737, allocations: 7.094 kB / 0.5476 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.3738, allocations: 3.344 kB / 0.5476 GB, free: 11.55 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.0002155/0.374, allocations: 172.8 kB / 0.5478 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.374, allocations: 16.2 kB / 0.5478 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.878e-05/0.374, allocations: 6.625 kB / 0.5478 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.374, allocations: 0 / 0.5478 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.374, allocations: 1.156 kB / 0.5478 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.374, allocations: 0 / 0.5478 GB, free: 11.37 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.3742, allocations: 145 kB / 0.5479 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3742, allocations: 4 kB / 0.5479 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-07/0.3742, allocations: 0 / 0.5479 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3742, allocations: 1.562 kB / 0.5479 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.3742, allocations: 2.344 kB / 0.5479 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3742, allocations: 3.938 kB / 0.5479 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3742, allocations: 1.312 kB / 0.5479 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004141/0.3746, allocations: 321.9 kB / 0.5482 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.3746, allocations: 11.23 kB / 0.5483 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.3747, allocations: 2.125 kB / 0.5483 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.199e-05/0.3747, allocations: 6.281 kB / 0.5483 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/0.3747, allocations: 2.312 kB / 0.5483 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.3747, allocations: 11.34 kB / 0.5483 GB, free: 10.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.652e-05/0.3748, allocations: 101.8 kB / 0.5484 GB, free: 10.87 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3748, allocations: 0 / 0.5484 GB, free: 10.87 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000249/0.375, allocations: 35.7 kB / 0.5484 GB, free: 10.86 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.0009399/0.376, allocations: 0.8529 MB / 0.5492 GB, free: 10.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000442/0.3764, allocations: 308.2 kB / 0.5495 GB, free: 9.941 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3764, allocations: 0.9688 kB / 0.5495 GB, free: 9.941 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.3766, allocations: 191.6 kB / 0.5497 GB, free: 9.809 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.377, allocations: 19.59 kB / 0.5497 GB, free: 9.797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.3792, allocations: 2.008 MB / 0.5517 GB, free: 8.203 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.396e-05/0.3793, allocations: 88.38 kB / 0.5518 GB, free: 8.117 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.881e-05/0.3794, allocations: 1.156 kB / 0.5518 GB, free: 8.117 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/0.3794, allocations: 16.44 kB / 0.5518 GB, free: 8.102 MB / 398.1 MB Notification: Performance of SimCode: time 1.213e-06/0.3794, allocations: 0 / 0.5518 GB, free: 8.102 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03137/0.4108, allocations: 3.142 MB / 0.5549 GB, free: 6.258 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.69, allocations: 7.75 kB / 0.5549 GB, free: 6.254 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.674830719362944] Failed to read output from testmodel.py, exit status != 0: 11.800644853152335 11.826316401 11.451912584 Calling exit ...