Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.001327/0.001327, 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.002466/0.002466, allocations: 208.8 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.602/1.602, 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.2166/0.2166, allocations: 38.54 MB / 352.5 MB, free: 12.29 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.AC1ph_DC.Elementary.LoadAC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",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.002109/0.002109, allocations: 71.88 kB / 492.5 MB, free: 4.664 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4314, allocations: 62.47 MB / 0.5419 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.00738/0.4388, allocations: 4.121 MB / 0.546 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001979/0.4408, allocations: 0.9245 MB / 0.5469 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001733/0.441, allocations: 15.75 kB / 0.5469 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.4412, allocations: 56.05 kB / 0.5469 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000614/0.4418, allocations: 209.2 kB / 0.5471 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.442, allocations: 91.94 kB / 0.5472 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006298/0.4427, allocations: 490.1 kB / 0.5477 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002564/0.4429, allocations: 95.22 kB / 0.5478 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003988/0.4433, allocations: 216.5 kB / 0.548 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000443/0.4438, allocations: 253.3 kB / 0.5482 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.495e-05/0.4438, allocations: 26.81 kB / 0.5483 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.4439, allocations: 33.69 kB / 0.5483 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.4441, allocations: 127.1 kB / 0.5484 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002037/0.4443, allocations: 144.3 kB / 0.5486 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005425/0.4448, allocations: 385 kB / 0.5489 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4449, allocations: 0 / 0.5489 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.4449, allocations: 1.625 kB / 0.5489 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.4449, allocations: 0 / 0.5489 GB, free: 11.04 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001487/0.4463, allocations: 0.6359 MB / 0.5495 GB, free: 10.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.4464, allocations: 17.77 kB / 0.5496 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.204e-05/0.4465, allocations: 63.47 kB / 0.5496 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001724/0.4466, allocations: 51.41 kB / 0.5497 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007346/0.4474, allocations: 340.6 kB / 0.55 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.383e-05/0.4474, allocations: 18.59 kB / 0.55 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.878e-05/0.4475, allocations: 28.41 kB / 0.55 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005701/0.448, allocations: 362.3 kB / 0.5504 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.4481, allocations: 0 / 0.5504 GB, free: 9.879 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.914e-05/0.4481, allocations: 14.94 kB / 0.5504 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.4481, allocations: 7.094 kB / 0.5504 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004293/0.4485, allocations: 257.1 kB / 0.5507 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002075/0.4506, allocations: 1.353 MB / 0.552 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/0.4509, allocations: 150.3 kB / 0.5521 GB, free: 8.457 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.4511, allocations: 75.02 kB / 0.5522 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.4511, allocations: 2.094 kB / 0.5522 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.496e-05/0.4511, allocations: 36.59 kB / 0.5522 GB, free: 8.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.944e-06/0.4511, allocations: 0 / 0.5522 GB, free: 8.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001577/0.4527, allocations: 0.6081 MB / 0.5528 GB, free: 7.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.146e-05/0.4528, allocations: 83.3 kB / 0.5529 GB, free: 7.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004654/0.4533, allocations: 310 kB / 0.5532 GB, free: 7.633 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.4533, allocations: 26.95 kB / 0.5532 GB, free: 7.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.4536, allocations: 220.7 kB / 0.5534 GB, free: 7.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.573e-05/0.4536, allocations: 58.33 kB / 0.5535 GB, free: 7.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.4538, allocations: 56.83 kB / 0.5535 GB, free: 7.309 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002202/0.454, allocations: 337 kB / 0.5539 GB, free: 6.977 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.4541, allocations: 63.61 kB / 0.5539 GB, free: 6.949 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.4544, allocations: 169.5 kB / 0.5541 GB, free: 6.785 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004847/0.4549, allocations: 261.7 kB / 0.5543 GB, free: 6.574 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.4549, allocations: 1.125 kB / 0.5543 GB, free: 6.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005448/0.4554, allocations: 289.1 kB / 0.5546 GB, free: 6.414 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.4554, allocations: 6.844 kB / 0.5546 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.4554, allocations: 7.344 kB / 0.5546 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.878e-05/0.4555, allocations: 5.438 kB / 0.5546 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.4558, allocations: 63.27 kB / 0.5547 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.4558, allocations: 8.469 kB / 0.5547 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.456, allocations: 10.64 kB / 0.5547 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.456, allocations: 18.27 kB / 0.5547 GB, free: 6.375 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 29 * 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.0002491/0.4563, allocations: 167.4 kB / 0.5549 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-05/0.4563, allocations: 28.08 kB / 0.5549 GB, free: 6.211 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004657/0.4568, allocations: 234.8 kB / 0.5551 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.4568, allocations: 2.562 kB / 0.5551 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4568, allocations: 1.281 kB / 0.5551 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.4568, allocations: 3.984 kB / 0.5551 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009662/0.4578, allocations: 0.5855 MB / 0.5557 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.4578, allocations: 1.062 kB / 0.5557 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.458, allocations: 36.67 kB / 0.5557 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.458, allocations: 1.125 kB / 0.5557 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.458, allocations: 2.438 kB / 0.5558 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.458, allocations: 5.062 kB / 0.5558 GB, free: 5.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.458, allocations: 1.188 kB / 0.5558 GB, free: 5.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006046/0.4586, allocations: 429.4 kB / 0.5562 GB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.334e-05/0.4587, allocations: 31.84 kB / 0.5562 GB, free: 5.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.364e-05/0.4587, allocations: 4.094 kB / 0.5562 GB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.4589, allocations: 19.92 kB / 0.5562 GB, free: 5.121 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.4589, allocations: 11.98 kB / 0.5562 GB, free: 5.109 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.4589, allocations: 11.94 kB / 0.5562 GB, free: 5.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002367/0.4592, allocations: 211 kB / 0.5564 GB, free: 4.895 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4592, allocations: 0 / 0.5564 GB, free: 4.895 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003767/0.4596, allocations: 63.94 kB / 0.5565 GB, free: 4.832 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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.0009606/0.4605, allocations: 0.9514 MB / 0.5574 GB, free: 3.852 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004003/0.4609, allocations: 176 kB / 0.5576 GB, free: 3.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4609, allocations: 0 / 0.5576 GB, free: 3.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.4611, allocations: 87.83 kB / 0.5577 GB, free: 3.594 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005899/0.4617, allocations: 73.91 kB / 0.5578 GB, free: 3.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004029/0.4657, allocations: 2.924 MB / 0.5606 GB, free: 436 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.466, allocations: 207.4 kB / 0.5608 GB, free: 200 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.4661, allocations: 50.94 kB / 0.5609 GB, free: 152 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/0.4663, allocations: 107.4 kB / 0.561 GB, free: 44 kB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4663, allocations: 0 / 0.561 GB, free: 44 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04556/0.5119, allocations: 6.804 MB / 0.5676 GB, free: 9.414 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.87, allocations: 0.75 kB / 0.5676 GB, free: 9.414 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.963429580908269] Failed to read output from testmodel.py, exit status != 0: 11.981386931613088 12.010332635 11.560180613 Calling exit ...