Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.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.001512/0.001512, 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.001424/0.001424, allocations: 213.4 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.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.1869/0.1869, allocations: 38.52 MB / 352.5 MB, free: 12.55 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.Chopper,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper",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.002033/0.002033, allocations: 66.55 kB / 492.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3396, allocations: 62.46 MB / 0.542 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.009315/0.3489, allocations: 6.788 MB / 0.5486 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003394/0.3523, allocations: 1.796 MB / 0.5504 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004433/0.3527, allocations: 35.44 kB / 0.5504 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006923/0.3534, allocations: 222.4 kB / 0.5506 GB, free: 9.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008842/0.3543, allocations: 392.7 kB / 0.551 GB, free: 9.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005068/0.3548, allocations: 225.7 kB / 0.5512 GB, free: 8.969 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00119/0.356, allocations: 1.071 MB / 0.5523 GB, free: 8.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004784/0.3565, allocations: 316.4 kB / 0.5526 GB, free: 8.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007786/0.3572, allocations: 494.8 kB / 0.553 GB, free: 7.855 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007693/0.358, allocations: 0.491 MB / 0.5535 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.3581, allocations: 84.72 kB / 0.5536 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.3583, allocations: 86.53 kB / 0.5537 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002983/0.3586, allocations: 287.6 kB / 0.5539 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004289/0.359, allocations: 402.6 kB / 0.5543 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.3602, allocations: 1.046 MB / 0.5554 GB, free: 6.305 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3602, allocations: 1.062 kB / 0.5554 GB, free: 6.305 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3602, allocations: 0 / 0.5554 GB, free: 6.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.3602, allocations: 0 / 0.5554 GB, free: 6.305 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002042/0.3623, allocations: 0.9712 MB / 0.5563 GB, free: 5.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3623, allocations: 13.61 kB / 0.5563 GB, free: 5.566 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001346/0.3625, allocations: 104.3 kB / 0.5564 GB, free: 5.477 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.3626, allocations: 78.25 kB / 0.5565 GB, free: 5.438 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.364, allocations: 0.5814 MB / 0.5571 GB, free: 4.984 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/0.3642, allocations: 201.5 kB / 0.5572 GB, free: 4.762 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.3643, allocations: 56 kB / 0.5573 GB, free: 4.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.3656, allocations: 0.7538 MB / 0.558 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.3656, allocations: 0 / 0.558 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.958e-05/0.3657, allocations: 24 kB / 0.5581 GB, free: 3.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.3657, allocations: 16 kB / 0.5581 GB, free: 3.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.367, allocations: 0.6049 MB / 0.5587 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003691/0.3706, allocations: 2.397 MB / 0.561 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009777/0.3716, allocations: 401.1 kB / 0.5614 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004345/0.3721, allocations: 195.1 kB / 0.5616 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.575e-05/0.3721, allocations: 4.281 kB / 0.5616 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000489/0.3726, allocations: 251.3 kB / 0.5618 GB, free: 15.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=36): time 2.044e-06/0.3726, allocations: 0 / 0.5618 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.00314/0.3757, allocations: 0.7916 MB / 0.5626 GB, free: 15.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.3758, allocations: 140.5 kB / 0.5627 GB, free: 14.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005032/0.3763, allocations: 405.9 kB / 0.5631 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.3764, allocations: 33.7 kB / 0.5631 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002875/0.3767, allocations: 324.7 kB / 0.5635 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.3768, allocations: 119 kB / 0.5636 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.3769, allocations: 86.08 kB / 0.5637 GB, free: 13.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.3771, allocations: 354.8 kB / 0.564 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/0.3774, allocations: 128.8 kB / 0.5641 GB, free: 13.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004038/0.3778, allocations: 250 kB / 0.5644 GB, free: 13.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.3794, allocations: 0.6526 MB / 0.565 GB, free: 12.47 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.3794, allocations: 0 / 0.565 GB, free: 12.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001161/0.3806, allocations: 0.5294 MB / 0.5655 GB, free: 11.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.3806, allocations: 4 kB / 0.5655 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.3806, allocations: 4 kB / 0.5655 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004873/0.3811, allocations: 148.8 kB / 0.5657 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/0.3814, allocations: 79.84 kB / 0.5657 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003806/0.3852, allocations: 2.178 MB / 0.5679 GB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004727/0.3857, allocations: 55.66 kB / 0.5679 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.3857, allocations: 16 kB / 0.5679 GB, free: 9.348 MB / 414.1 MB Warning: Assuming fixed start value for the following 2 variables: chopper.modulator.t1:DISCRETE(unit = \"s\" fixed = true protected = true ) type: Real chopper.modulator.t0:DISCRETE(unit = \"s\" fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 8 (system.initime,$whenCondition1,$PRE.chopper.modulator.t1,$PRE.chopper.modulator.t0,chopper.chopper.diode.on,chopper.modulator.t1,chopper.modulator.t0,chopper.modulator.gate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004053/0.3862, allocations: 233.7 kB / 0.5681 GB, free: 9.109 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.697e-05/0.3862, allocations: 55.83 kB / 0.5682 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.3876, allocations: 486.5 kB / 0.5687 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.3876, allocations: 7.938 kB / 0.5687 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.3876, allocations: 4 kB / 0.5687 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.3876, allocations: 0 / 0.5687 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009854/0.3886, allocations: 0.6503 MB / 0.5693 GB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.3886, allocations: 4 kB / 0.5693 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.3888, allocations: 47.91 kB / 0.5694 GB, free: 7.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004452/0.3893, allocations: 148.8 kB / 0.5695 GB, free: 7.652 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.3893, allocations: 8 kB / 0.5695 GB, free: 7.645 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00341/0.3927, allocations: 2.144 MB / 0.5716 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3927, allocations: 0 / 0.5716 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.3944, allocations: 0.6921 MB / 0.5723 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002231/0.3946, allocations: 71.61 kB / 0.5723 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.897e-05/0.3947, allocations: 15.92 kB / 0.5724 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.3949, allocations: 19.92 kB / 0.5724 GB, free: 4.559 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.395, allocations: 35.94 kB / 0.5724 GB, free: 4.523 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.3951, allocations: 15.98 kB / 0.5724 GB, free: 4.508 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003627/0.3954, allocations: 279.2 kB / 0.5727 GB, free: 4.238 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3954, allocations: 0 / 0.5727 GB, free: 4.238 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000673/0.3961, allocations: 163.6 kB / 0.5729 GB, free: 4.078 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (meterDCin.pav,meterDCout.pav,load.i) * Number of discrete variables: 6 ($whenCondition1,chopper.modulator.gate,chopper.modulator.t0,chopper.modulator.t1,chopper.chopper.diode.on,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001999/0.3981, allocations: 1.251 MB / 0.5741 GB, free: 2.789 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001138/0.3992, allocations: 0.4908 MB / 0.5746 GB, free: 2.285 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3992, allocations: 3.938 kB / 0.5746 GB, free: 2.281 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005869/0.3998, allocations: 327 kB / 0.5749 GB, free: 1.949 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007042/0.4005, allocations: 156.3 kB / 0.575 GB, free: 1.801 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007543/0.4081, allocations: 4.579 MB / 0.5795 GB, free: 13.01 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006167/0.4087, allocations: 0.9289 MB / 0.5804 GB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003037/0.409, allocations: 84.62 kB / 0.5805 GB, free: 11.97 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/0.4093, allocations: 191.4 kB / 0.5807 GB, free: 11.79 MB / 430.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4093, allocations: 0 / 0.5807 GB, free: 11.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04953/0.4588, allocations: 13.7 MB / 0.594 GB, free: 14.28 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/13.99, allocations: 4.266 kB / 0.594 GB, free: 14.28 MB / 446.1 MB " [Timeout remaining time 646] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper_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_Chopper.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.027246817997366] Failed to read output from testmodel.py, exit status != 0: 14.113796221005032 14.141274802 13.775901199 Calling exit ...