Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.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.001765/0.001765, 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.002134/0.002134, allocations: 208.4 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.576/1.576, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.1946/0.1946, 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.Introductory.ReferenceInertial,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceInertial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.ReferenceInertial,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceInertial",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.002095/0.002095, allocations: 63.91 kB / 492.5 MB, free: 4.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3787/0.3808, allocations: 62.46 MB / 0.5419 GB, free: 236 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.007032/0.3878, allocations: 4.327 MB / 0.5461 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002947/0.3908, allocations: 1.391 MB / 0.5475 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002872/0.3911, allocations: 16 kB / 0.5475 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.3923, allocations: 372.3 kB / 0.5479 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000646/0.3929, allocations: 228.6 kB / 0.5481 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007969/0.3937, allocations: 242.5 kB / 0.5483 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006506/0.3944, allocations: 0.5384 MB / 0.5489 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004098/0.3948, allocations: 218.5 kB / 0.5491 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004418/0.3952, allocations: 262.6 kB / 0.5493 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004643/0.3957, allocations: 307.8 kB / 0.5496 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.94e-05/0.3958, allocations: 31.53 kB / 0.5496 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003292/0.3961, allocations: 143.9 kB / 0.5498 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000245/0.3963, allocations: 233.5 kB / 0.55 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002378/0.3966, allocations: 191.8 kB / 0.5502 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007662/0.3973, allocations: 0.5852 MB / 0.5507 GB, free: 9.746 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3973, allocations: 0 / 0.5507 GB, free: 9.746 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3973, allocations: 0 / 0.5507 GB, free: 9.746 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.3973, allocations: 0 / 0.5507 GB, free: 9.746 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001379/0.3987, allocations: 0.6774 MB / 0.5514 GB, free: 9.191 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.3988, allocations: 14.17 kB / 0.5514 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000121/0.3989, allocations: 82.59 kB / 0.5515 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007165/0.3996, allocations: 122.8 kB / 0.5516 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007705/0.4004, allocations: 345.2 kB / 0.552 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.455e-05/0.4004, allocations: 29.91 kB / 0.552 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.4005, allocations: 50.08 kB / 0.552 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009575/0.4015, allocations: 0.6235 MB / 0.5526 GB, free: 8.297 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.4015, allocations: 6.125 kB / 0.5526 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.058e-05/0.4016, allocations: 17.88 kB / 0.5527 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001146/0.4017, allocations: 32.64 kB / 0.5527 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007808/0.4025, allocations: 481.4 kB / 0.5531 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003902/0.4064, allocations: 2.73 MB / 0.5558 GB, free: 5.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004628/0.4068, allocations: 216.4 kB / 0.556 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002482/0.4071, allocations: 133.7 kB / 0.5561 GB, free: 5.375 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.869e-05/0.4071, allocations: 4 kB / 0.5562 GB, free: 5.371 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.027e-05/0.4072, allocations: 38.55 kB / 0.5562 GB, free: 5.324 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 2.535e-06/0.4072, allocations: 4 kB / 0.5562 GB, free: 5.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001759/0.4089, allocations: 0.9097 MB / 0.5571 GB, free: 4.375 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/0.409, allocations: 81.11 kB / 0.5572 GB, free: 4.277 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003819/0.4094, allocations: 340.3 kB / 0.5575 GB, free: 3.938 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.4094, allocations: 29.7 kB / 0.5575 GB, free: 3.902 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.4096, allocations: 288 kB / 0.5578 GB, free: 3.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.4099, allocations: 103.2 kB / 0.5579 GB, free: 3.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.41, allocations: 98.14 kB / 0.558 GB, free: 3.414 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002925/0.4103, allocations: 346.9 kB / 0.5583 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.4105, allocations: 148.9 kB / 0.5585 GB, free: 2.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004216/0.411, allocations: 346.6 kB / 0.5588 GB, free: 2.492 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000713/0.4117, allocations: 0.5168 MB / 0.5593 GB, free: 1.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.4117, allocations: 0 / 0.5593 GB, free: 1.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008869/0.4126, allocations: 0.5289 MB / 0.5598 GB, free: 1.348 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.4126, allocations: 8 kB / 0.5598 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.4126, allocations: 12.09 kB / 0.5598 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.145e-05/0.4126, allocations: 8 kB / 0.5598 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004469/0.4131, allocations: 123.8 kB / 0.5599 GB, free: 1.199 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/0.4131, allocations: 11.94 kB / 0.56 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002592/0.4134, allocations: 27.98 kB / 0.56 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.4134, allocations: 20 kB / 0.56 GB, free: 1.141 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * 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.0002896/0.4137, allocations: 221.5 kB / 0.5602 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.678e-05/0.4138, allocations: 31.77 kB / 0.5602 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000656/0.4144, allocations: 362.2 kB / 0.5606 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.4144, allocations: 4 kB / 0.5606 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.4144, allocations: 4 kB / 0.5606 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.4144, allocations: 3.984 kB / 0.5606 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.4161, allocations: 0.8359 MB / 0.5614 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.4161, allocations: 0 / 0.5614 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003179/0.4164, allocations: 59.91 kB / 0.5615 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.4165, allocations: 4 kB / 0.5615 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.4165, allocations: 16.02 kB / 0.5615 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.4165, allocations: 11.94 kB / 0.5615 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4165, allocations: 0 / 0.5615 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008586/0.4174, allocations: 0.5897 MB / 0.5621 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-05/0.4174, allocations: 35.77 kB / 0.5621 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.344e-05/0.4175, allocations: 11.94 kB / 0.5621 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.4177, allocations: 12.03 kB / 0.5621 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.4177, allocations: 15.97 kB / 0.5622 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.4177, allocations: 12 kB / 0.5622 GB, free: 14.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000242/0.418, allocations: 219 kB / 0.5624 GB, free: 14.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.418, allocations: 0 / 0.5624 GB, free: 14.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005107/0.4185, allocations: 100 kB / 0.5625 GB, free: 14.51 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001177/0.4197, allocations: 1.134 MB / 0.5636 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006255/0.4203, allocations: 341.8 kB / 0.5639 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4203, allocations: 4.062 kB / 0.5639 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.4205, allocations: 136.7 kB / 0.564 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.4211, allocations: 74.69 kB / 0.5641 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005779/0.4268, allocations: 3.997 MB / 0.568 GB, free: 8.508 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.4272, allocations: 253.7 kB / 0.5683 GB, free: 8.238 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003748/0.4275, allocations: 135.1 kB / 0.5684 GB, free: 8.105 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.4278, allocations: 139.4 kB / 0.5685 GB, free: 7.973 MB / 414.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4278, allocations: 0 / 0.5685 GB, free: 7.973 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03919/0.467, allocations: 7.782 MB / 0.5761 GB, free: 372 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.8, allocations: 14.17 kB / 0.5761 GB, free: 364 kB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 PowerSystems_PowerSystems_Examples_Introductory_ReferenceInertial.fmu > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.846078014932573] Failed to read output from testmodel.py, exit status != 0: 11.911456556990743 11.934438526 11.533749048 Calling exit ...