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.001477/0.001477, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002582/0.002582, allocations: 212.4 kB / 23.73 MB, free: 4.523 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.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2137/0.2137, allocations: 38.55 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.002067/0.002067, allocations: 71.89 kB / 492.5 MB, free: 4.664 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3374, allocations: 62.46 MB / 0.5419 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.006069/0.3435, allocations: 4.122 MB / 0.546 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.3452, allocations: 0.9294 MB / 0.5469 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.3454, allocations: 19.44 kB / 0.5469 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.3456, allocations: 51.94 kB / 0.5469 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005701/0.3462, allocations: 204.9 kB / 0.5471 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.3464, allocations: 101.4 kB / 0.5472 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005819/0.347, allocations: 486.1 kB / 0.5477 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/0.3472, allocations: 90.98 kB / 0.5478 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000394/0.3476, allocations: 228.5 kB / 0.548 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003964/0.348, allocations: 259.2 kB / 0.5483 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.153e-05/0.3481, allocations: 27.03 kB / 0.5483 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.927e-05/0.3482, allocations: 29.44 kB / 0.5483 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.3483, allocations: 123.3 kB / 0.5484 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.3485, allocations: 149.2 kB / 0.5486 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005303/0.349, allocations: 392.1 kB / 0.5489 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.349, allocations: 4 kB / 0.5489 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.349, allocations: 0.5938 kB / 0.5489 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.3491, allocations: 0 / 0.5489 GB, free: 11.02 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.001311/0.3504, allocations: 0.6297 MB / 0.5496 GB, free: 10.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3504, allocations: 14.08 kB / 0.5496 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.421e-05/0.3505, allocations: 64.08 kB / 0.5496 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.3506, allocations: 54.73 kB / 0.5497 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006938/0.3513, allocations: 335.9 kB / 0.55 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.3514, allocations: 19 kB / 0.55 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.551e-05/0.3514, allocations: 24.78 kB / 0.55 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005485/0.352, allocations: 369.3 kB / 0.5504 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.352, allocations: 5.375 kB / 0.5504 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.96e-05/0.352, allocations: 10.81 kB / 0.5504 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.352, allocations: 10.66 kB / 0.5504 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004146/0.3524, allocations: 249.7 kB / 0.5507 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.3543, allocations: 1.352 MB / 0.552 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.3546, allocations: 142.5 kB / 0.5521 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.3547, allocations: 74.36 kB / 0.5522 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.3547, allocations: 2.25 kB / 0.5522 GB, free: 8.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.155e-05/0.3548, allocations: 48.72 kB / 0.5522 GB, free: 8.359 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.3548, allocations: 1.219 kB / 0.5522 GB, free: 8.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001142/0.3559, allocations: 0.6032 MB / 0.5528 GB, free: 7.938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.356, allocations: 79.73 kB / 0.5529 GB, free: 7.844 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/0.3563, allocations: 301.7 kB / 0.5532 GB, free: 7.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.3563, allocations: 26.89 kB / 0.5532 GB, free: 7.609 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/0.3565, allocations: 227.9 kB / 0.5534 GB, free: 7.402 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.694e-05/0.3565, allocations: 63.67 kB / 0.5535 GB, free: 7.348 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.304e-05/0.3566, allocations: 52.12 kB / 0.5535 GB, free: 7.309 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3568, allocations: 341.6 kB / 0.5539 GB, free: 6.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.3569, allocations: 67.78 kB / 0.5539 GB, free: 6.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.3571, allocations: 172.6 kB / 0.5541 GB, free: 6.773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.3575, allocations: 258 kB / 0.5543 GB, free: 6.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.3575, allocations: 1.25 kB / 0.5543 GB, free: 6.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004405/0.3579, allocations: 285 kB / 0.5546 GB, free: 6.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3579, allocations: 10.78 kB / 0.5546 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3579, allocations: 3.438 kB / 0.5546 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.358, allocations: 5.344 kB / 0.5546 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.3582, allocations: 63.09 kB / 0.5547 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3582, allocations: 5.562 kB / 0.5547 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.3584, allocations: 18.31 kB / 0.5547 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.3584, allocations: 9.375 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.0001928/0.3586, allocations: 175.4 kB / 0.5549 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.16e-05/0.3587, allocations: 32.77 kB / 0.5549 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004007/0.3591, allocations: 234.9 kB / 0.5552 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3591, allocations: 2.469 kB / 0.5552 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3591, allocations: 0 / 0.5552 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3591, allocations: 1.188 kB / 0.5552 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008182/0.3599, allocations: 0.578 MB / 0.5557 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3599, allocations: 0 / 0.5557 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002025/0.3601, allocations: 45.25 kB / 0.5558 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3601, allocations: 2.219 kB / 0.5558 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.3601, allocations: 8.906 kB / 0.5558 GB, free: 5.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3601, allocations: 2.844 kB / 0.5558 GB, free: 5.578 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3601, allocations: 0 / 0.5558 GB, free: 5.578 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005665/0.3607, allocations: 433.8 kB / 0.5562 GB, free: 5.172 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.66e-05/0.3608, allocations: 27.78 kB / 0.5562 GB, free: 5.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.3608, allocations: 11.98 kB / 0.5562 GB, free: 5.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.361, allocations: 4 kB / 0.5562 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.361, allocations: 15.97 kB / 0.5562 GB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.361, allocations: 11.94 kB / 0.5563 GB, free: 5.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002228/0.3612, allocations: 207.1 kB / 0.5565 GB, free: 4.902 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3612, allocations: 4.062 kB / 0.5565 GB, free: 4.898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003491/0.3616, allocations: 60 kB / 0.5565 GB, free: 4.84 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.0008806/0.3625, allocations: 0.9521 MB / 0.5574 GB, free: 3.855 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003409/0.3628, allocations: 179.7 kB / 0.5576 GB, free: 3.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.3628, allocations: 0.9375 kB / 0.5576 GB, free: 3.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.3629, allocations: 79.89 kB / 0.5577 GB, free: 3.602 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/0.3635, allocations: 72.42 kB / 0.5578 GB, free: 3.531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003551/0.367, allocations: 2.924 MB / 0.5606 GB, free: 444 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.3672, allocations: 203.5 kB / 0.5608 GB, free: 216 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001638/0.3674, allocations: 54.94 kB / 0.5609 GB, free: 164 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.3676, allocations: 107.4 kB / 0.561 GB, free: 56 kB / 398.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3676, allocations: 0 / 0.561 GB, free: 56 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03799/0.4056, allocations: 6.891 MB / 0.5677 GB, free: 9.336 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.91, allocations: 12.73 kB / 0.5677 GB, free: 9.324 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.888648911961354] Failed to read output from testmodel.py, exit status != 0: 12.023175924026873 12.050256061 11.697662925 Calling exit ...