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.001306/0.001306, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001498/0.001498, allocations: 215.1 kB / 23.74 MB, free: 4.656 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.187/0.187, allocations: 38.53 MB / 352.5 MB, free: 12.52 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.002144/0.002144, allocations: 63.91 kB / 492.5 MB, free: 4.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3586, allocations: 62.46 MB / 0.542 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.009283/0.3679, allocations: 6.159 MB / 0.548 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00382/0.3717, allocations: 1.595 MB / 0.5496 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006033/0.3723, allocations: 34.69 kB / 0.5496 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000678/0.373, allocations: 144.7 kB / 0.5497 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001253/0.3743, allocations: 369.8 kB / 0.5501 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.3753, allocations: 319.4 kB / 0.5504 GB, free: 9.641 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00288/0.3782, allocations: 1.343 MB / 0.5517 GB, free: 8.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006242/0.3788, allocations: 232.7 kB / 0.5519 GB, free: 8.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001671/0.3805, allocations: 0.569 MB / 0.5525 GB, free: 8.379 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.3815, allocations: 0.5757 MB / 0.553 GB, free: 8.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001811/0.3817, allocations: 91.94 kB / 0.5531 GB, free: 8.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002089/0.3819, allocations: 90.72 kB / 0.5532 GB, free: 8.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005189/0.3824, allocations: 360.3 kB / 0.5536 GB, free: 7.785 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006401/0.3831, allocations: 405.4 kB / 0.554 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.3847, allocations: 1.061 MB / 0.555 GB, free: 6.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3847, allocations: 4 kB / 0.555 GB, free: 6.754 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3847, allocations: 3.938 kB / 0.555 GB, free: 6.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.206e-05/0.3847, allocations: 1.062 kB / 0.555 GB, free: 6.75 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.002801/0.3875, allocations: 1.144 MB / 0.5561 GB, free: 5.922 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.3876, allocations: 13.92 kB / 0.5561 GB, free: 5.918 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001599/0.3878, allocations: 105.9 kB / 0.5562 GB, free: 5.828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.3879, allocations: 90.25 kB / 0.5563 GB, free: 5.762 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001464/0.3894, allocations: 0.5859 MB / 0.5569 GB, free: 5.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007288/0.3901, allocations: 0.7484 MB / 0.5576 GB, free: 4.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.3903, allocations: 56 kB / 0.5577 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/0.3925, allocations: 1.039 MB / 0.5587 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.3926, allocations: 3.938 kB / 0.5587 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-05/0.3926, allocations: 28 kB / 0.5587 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.3926, allocations: 16 kB / 0.5587 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002773/0.3954, allocations: 1.089 MB / 0.5598 GB, free: 1.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005517/0.4009, allocations: 3.173 MB / 0.5629 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002201/0.4031, allocations: 0.7138 MB / 0.5636 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/0.4045, allocations: 0.5141 MB / 0.5641 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.972e-05/0.4046, allocations: 8.438 kB / 0.5641 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001517/0.4061, allocations: 0.6264 MB / 0.5647 GB, free: 12.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.335e-06/0.4061, allocations: 0 / 0.5647 GB, free: 12.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.004044/0.4101, allocations: 1.367 MB / 0.566 GB, free: 11.44 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/0.4102, allocations: 144.5 kB / 0.5662 GB, free: 11.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005412/0.4108, allocations: 389.9 kB / 0.5666 GB, free: 10.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.356e-05/0.4109, allocations: 37.7 kB / 0.5666 GB, free: 10.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.4111, allocations: 300.9 kB / 0.5669 GB, free: 10.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.4113, allocations: 170.6 kB / 0.567 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/0.4116, allocations: 122.3 kB / 0.5672 GB, free: 10.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.4117, allocations: 362.7 kB / 0.5675 GB, free: 9.871 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/0.4128, allocations: 457 kB / 0.5679 GB, free: 9.426 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.414, allocations: 0.5564 MB / 0.5685 GB, free: 8.828 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002066/0.4161, allocations: 0.8886 MB / 0.5694 GB, free: 7.898 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.4161, allocations: 0 / 0.5694 GB, free: 7.898 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002572/0.4187, allocations: 1.088 MB / 0.5704 GB, free: 6.793 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.666e-05/0.4187, allocations: 53.91 kB / 0.5705 GB, free: 6.734 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.4187, allocations: 8 kB / 0.5705 GB, free: 6.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.4188, allocations: 4 kB / 0.5705 GB, free: 6.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005476/0.4242, allocations: 1.108 MB / 0.5716 GB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008387/0.4326, allocations: 4.49 MB / 0.5759 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008018/0.4334, allocations: 107.5 kB / 0.576 GB, free: 0.793 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.772e-05/0.4335, allocations: 44.03 kB / 0.5761 GB, free: 0.75 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.0004396/0.434, allocations: 255.3 kB / 0.5763 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.4341, allocations: 55.59 kB / 0.5764 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002832/0.4369, allocations: 0.981 MB / 0.5773 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.4369, allocations: 4 kB / 0.5773 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-06/0.4369, allocations: 0 / 0.5773 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.4369, allocations: 7.984 kB / 0.5774 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00444/0.4414, allocations: 2.104 MB / 0.5794 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.4414, allocations: 4.188 kB / 0.5794 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007049/0.4484, allocations: 1.276 MB / 0.5807 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/0.4484, allocations: 8 kB / 0.5807 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.089e-05/0.4485, allocations: 15.98 kB / 0.5807 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.869e-06/0.4485, allocations: 4 kB / 0.5807 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/0.4485, allocations: 11.92 kB / 0.5807 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004397/0.4529, allocations: 1.701 MB / 0.5824 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004716/0.4534, allocations: 127.6 kB / 0.5825 GB, free: 10.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.4535, allocations: 24 kB / 0.5825 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000702/0.4542, allocations: 87.88 kB / 0.5826 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002493/0.4545, allocations: 99.7 kB / 0.5827 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.529e-05/0.4546, allocations: 23.98 kB / 0.5827 GB, free: 9.836 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003962/0.4549, allocations: 271.1 kB / 0.583 GB, free: 9.574 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4549, allocations: 0 / 0.583 GB, free: 9.574 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007282/0.4557, allocations: 187.7 kB / 0.5831 GB, free: 9.391 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.004599/0.4603, allocations: 2.268 MB / 0.5854 GB, free: 7.082 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00744/0.4677, allocations: 2.023 MB / 0.5873 GB, free: 5.047 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.4677, allocations: 320 / 0.5873 GB, free: 5.047 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003589/0.4713, allocations: 0.9442 MB / 0.5883 GB, free: 4.102 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008741/0.4722, allocations: 132.4 kB / 0.5884 GB, free: 3.977 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01287/0.4851, allocations: 6.589 MB / 0.5948 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006607/0.4857, allocations: 0.929 MB / 0.5957 GB, free: 12.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000581/0.4863, allocations: 156.6 kB / 0.5959 GB, free: 12.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003828/0.4867, allocations: 199.4 kB / 0.5961 GB, free: 11.87 MB / 446.1 MB Notification: Performance of SimCode: time 1.232e-06/0.4867, allocations: 0 / 0.5961 GB, free: 11.87 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05224/0.5389, allocations: 14.23 MB / 0.61 GB, free: 13.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.37, allocations: 6.703 kB / 0.61 GB, free: 13.8 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: 17.544223008997506] Failed to read output from testmodel.py, exit status != 0: 14.496686354999838 14.52386539 14.133346624 Calling exit ...