Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.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.001311/0.001311, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001855/0.001855, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.462/1.462, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.1842/0.1842, allocations: 38.55 MB / 352.5 MB, free: 12.32 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.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToLoad",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.00206/0.00206, allocations: 67.89 kB / 492.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3077, allocations: 62.46 MB / 0.5419 GB, free: 276 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.01338/0.3211, allocations: 5.751 MB / 0.5476 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00477/0.3259, allocations: 1.501 MB / 0.549 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000393/0.3263, allocations: 34.41 kB / 0.549 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006543/0.3269, allocations: 136.7 kB / 0.5492 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.3283, allocations: 377.8 kB / 0.5495 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.3293, allocations: 315.8 kB / 0.5498 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002294/0.3316, allocations: 1.341 MB / 0.5512 GB, free: 9.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005609/0.3322, allocations: 228.5 kB / 0.5514 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.3336, allocations: 0.5626 MB / 0.5519 GB, free: 8.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/0.335, allocations: 0.5515 MB / 0.5525 GB, free: 8.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002171/0.3352, allocations: 91.53 kB / 0.5525 GB, free: 8.465 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002757/0.3355, allocations: 94.38 kB / 0.5526 GB, free: 8.461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006059/0.3361, allocations: 359.9 kB / 0.553 GB, free: 8.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006338/0.3367, allocations: 350.7 kB / 0.5533 GB, free: 7.992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001879/0.3386, allocations: 1.059 MB / 0.5543 GB, free: 7.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.3386, allocations: 1.156 kB / 0.5543 GB, free: 7.25 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3386, allocations: 0 / 0.5543 GB, free: 7.25 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.3386, allocations: 0 / 0.5543 GB, free: 7.25 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.004255/0.3429, allocations: 1.149 MB / 0.5555 GB, free: 6.359 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.343, allocations: 11.98 kB / 0.5555 GB, free: 6.348 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002317/0.3432, allocations: 106.7 kB / 0.5556 GB, free: 6.234 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000284/0.3435, allocations: 88.47 kB / 0.5557 GB, free: 6.148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00253/0.346, allocations: 0.5898 MB / 0.5562 GB, free: 5.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001108/0.3471, allocations: 0.7445 MB / 0.557 GB, free: 4.637 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002163/0.3473, allocations: 60 kB / 0.557 GB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004213/0.3515, allocations: 1.046 MB / 0.558 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.3516, allocations: 0 / 0.558 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.3517, allocations: 23.98 kB / 0.5581 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.741e-05/0.3517, allocations: 19.94 kB / 0.5581 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005188/0.3569, allocations: 1.089 MB / 0.5592 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009339/0.3662, allocations: 2.99 MB / 0.5621 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003758/0.37, allocations: 0.72 MB / 0.5628 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002581/0.3726, allocations: 0.5045 MB / 0.5633 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.88e-05/0.3726, allocations: 16.44 kB / 0.5633 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002745/0.3754, allocations: 0.6225 MB / 0.5639 GB, free: 13.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 4.117e-06/0.3754, allocations: 0 / 0.5639 GB, free: 13.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.007107/0.3825, allocations: 1.367 MB / 0.5652 GB, free: 12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/0.3826, allocations: 140.5 kB / 0.5654 GB, free: 11.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007637/0.3834, allocations: 397.8 kB / 0.5657 GB, free: 11.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001106/0.3835, allocations: 41.7 kB / 0.5658 GB, free: 11.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003837/0.3839, allocations: 301 kB / 0.5661 GB, free: 11.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002741/0.3842, allocations: 174.6 kB / 0.5662 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003634/0.3845, allocations: 118.3 kB / 0.5663 GB, free: 10.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000262/0.3848, allocations: 358.8 kB / 0.5667 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/0.3868, allocations: 490.7 kB / 0.5672 GB, free: 9.949 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002062/0.3888, allocations: 0.5854 MB / 0.5677 GB, free: 9.316 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003562/0.3924, allocations: 0.8847 MB / 0.5686 GB, free: 8.391 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.3924, allocations: 0 / 0.5686 GB, free: 8.391 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004445/0.3969, allocations: 1.113 MB / 0.5697 GB, free: 7.254 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.684e-05/0.397, allocations: 53.69 kB / 0.5697 GB, free: 7.195 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.397, allocations: 0 / 0.5697 GB, free: 7.195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/0.397, allocations: 8.219 kB / 0.5697 GB, free: 7.188 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01012/0.4071, allocations: 1.112 MB / 0.5708 GB, free: 6.074 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01373/0.4209, allocations: 4.471 MB / 0.5752 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.4221, allocations: 107.7 kB / 0.5753 GB, free: 1.273 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/0.4223, allocations: 39.97 kB / 0.5753 GB, free: 1.234 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 14 (inverter.modulator.t0,$PRE.inverter.modulator.t0,inverter.modulator.sigdel_t,$PRE.inverter.modulator.sigdel_t,inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006291/0.4229, allocations: 247.4 kB / 0.5756 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.4231, allocations: 55.61 kB / 0.5756 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004688/0.4278, allocations: 0.9849 MB / 0.5766 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.4278, allocations: 8 kB / 0.5766 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4278, allocations: 0 / 0.5766 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.4278, allocations: 3.984 kB / 0.5766 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007017/0.4348, allocations: 2.01 MB / 0.5786 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.4348, allocations: 4 kB / 0.5786 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01228/0.4471, allocations: 1.28 MB / 0.5798 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.551e-05/0.4471, allocations: 4 kB / 0.5798 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/0.4473, allocations: 19.98 kB / 0.5798 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.4473, allocations: 4 kB / 0.5798 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.4473, allocations: 3.938 kB / 0.5798 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007314/0.4546, allocations: 1.705 MB / 0.5815 GB, free: 10.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007101/0.4553, allocations: 131.5 kB / 0.5816 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/0.4555, allocations: 27.98 kB / 0.5817 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.4566, allocations: 87.89 kB / 0.5817 GB, free: 10.53 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003289/0.4569, allocations: 103.7 kB / 0.5818 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.07e-05/0.457, allocations: 15.98 kB / 0.5819 GB, free: 10.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004759/0.4574, allocations: 271.1 kB / 0.5821 GB, free: 10.15 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4574, allocations: 0 / 0.5821 GB, free: 10.15 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009523/0.4584, allocations: 183.7 kB / 0.5823 GB, free: 9.969 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i) * Number of discrete variables: 8 ($whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0) * Number of discrete states: 6 (inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.005832/0.4642, allocations: 2.28 MB / 0.5845 GB, free: 7.645 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008057/0.4723, allocations: 2.04 MB / 0.5865 GB, free: 5.586 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.4723, allocations: 0 / 0.5865 GB, free: 5.586 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003892/0.4762, allocations: 0.9484 MB / 0.5874 GB, free: 4.637 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009484/0.4771, allocations: 143.7 kB / 0.5876 GB, free: 4.504 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/0.4897, allocations: 6.729 MB / 0.5941 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.4901, allocations: 325.1 kB / 0.5945 GB, free: 13.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005413/0.4906, allocations: 156.6 kB / 0.5946 GB, free: 13.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003738/0.491, allocations: 195.4 kB / 0.5948 GB, free: 12.85 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.491, allocations: 4 kB / 0.5948 GB, free: 12.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04725/0.5382, allocations: 14.96 MB / 0.6094 GB, free: 14.09 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.62, allocations: 0 / 0.6094 GB, free: 14.09 MB / 462.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToLoad.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.624211113899946] Failed to read output from testmodel.py, exit status != 0: 13.746584750246257 13.773595485 13.429694649 Calling exit ...