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.00177/0.00177, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.002166/0.002166, allocations: 216.2 kB / 24.53 MB, free: 4.07 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.554/1.554, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2005/0.2005, allocations: 38.52 MB / 353.2 MB, free: 12.53 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper",fmuType="cs",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.002028/0.002028, allocations: 59.91 kB / 493.3 MB, free: 4.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3528, allocations: 62.47 MB / 0.5428 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.008689/0.3615, allocations: 6.785 MB / 0.5494 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003351/0.3648, allocations: 1.796 MB / 0.5511 GB, free: 9.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005747/0.3654, allocations: 31.47 kB / 0.5512 GB, free: 9.656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008938/0.3663, allocations: 226.4 kB / 0.5514 GB, free: 9.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.3675, allocations: 389.2 kB / 0.5518 GB, free: 9.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006194/0.3681, allocations: 225.7 kB / 0.552 GB, free: 8.969 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001605/0.3697, allocations: 1.075 MB / 0.553 GB, free: 8.344 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005814/0.3703, allocations: 319.5 kB / 0.5533 GB, free: 8.137 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009776/0.3713, allocations: 487.2 kB / 0.5538 GB, free: 7.855 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000832/0.3721, allocations: 0.4983 MB / 0.5543 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.3722, allocations: 85.41 kB / 0.5544 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.3724, allocations: 85.81 kB / 0.5544 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003232/0.3727, allocations: 288.3 kB / 0.5547 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005014/0.3732, allocations: 406.9 kB / 0.5551 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.3748, allocations: 1.041 MB / 0.5561 GB, free: 6.297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.3748, allocations: 1.25 kB / 0.5561 GB, free: 6.297 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.3748, allocations: 0 / 0.5561 GB, free: 6.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.741e-05/0.3748, allocations: 0 / 0.5561 GB, free: 6.297 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.002282/0.3771, allocations: 0.963 MB / 0.5571 GB, free: 5.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.3771, allocations: 14.31 kB / 0.5571 GB, free: 5.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.207e-05/0.3772, allocations: 15.34 kB / 0.5571 GB, free: 5.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001407/0.3773, allocations: 112.8 kB / 0.5572 GB, free: 5.473 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.3775, allocations: 77.16 kB / 0.5573 GB, free: 5.434 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.3788, allocations: 0.5879 MB / 0.5578 GB, free: 4.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/0.379, allocations: 189.9 kB / 0.558 GB, free: 4.746 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.3791, allocations: 63.98 kB / 0.5581 GB, free: 4.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.3805, allocations: 0.7421 MB / 0.5588 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.3805, allocations: 4 kB / 0.5588 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.911e-05/0.3806, allocations: 24 kB / 0.5588 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.3806, allocations: 16 kB / 0.5589 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.382, allocations: 0.605 MB / 0.5594 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003974/0.3859, allocations: 2.405 MB / 0.5618 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.3869, allocations: 397 kB / 0.5622 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004487/0.3874, allocations: 187.1 kB / 0.5624 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/0.3874, allocations: 12.22 kB / 0.5624 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005078/0.3879, allocations: 239.3 kB / 0.5626 GB, free: 15.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=36): time 2.936e-06/0.3879, allocations: 0 / 0.5626 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.003339/0.3913, allocations: 0.7994 MB / 0.5634 GB, free: 15.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.3914, allocations: 136.5 kB / 0.5635 GB, free: 14.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005263/0.3919, allocations: 409.8 kB / 0.5639 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.615e-05/0.392, allocations: 33.7 kB / 0.5639 GB, free: 14.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/0.3923, allocations: 324.8 kB / 0.5642 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.3924, allocations: 123 kB / 0.5644 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.3925, allocations: 86.08 kB / 0.5644 GB, free: 13.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.3927, allocations: 350.8 kB / 0.5648 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/0.393, allocations: 140.7 kB / 0.5649 GB, free: 13.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003979/0.3934, allocations: 242 kB / 0.5651 GB, free: 13.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/0.3951, allocations: 0.6564 MB / 0.5658 GB, free: 12.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3951, allocations: 0 / 0.5658 GB, free: 12.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001119/0.3962, allocations: 0.5216 MB / 0.5663 GB, free: 11.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3962, allocations: 4 kB / 0.5663 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3962, allocations: 4 kB / 0.5663 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004723/0.3967, allocations: 156.8 kB / 0.5664 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.397, allocations: 75.89 kB / 0.5665 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003821/0.4008, allocations: 2.174 MB / 0.5686 GB, free: 9.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004897/0.4013, allocations: 51.66 kB / 0.5687 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/0.4014, allocations: 19.94 kB / 0.5687 GB, free: 9.328 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.0004061/0.4018, allocations: 249.9 kB / 0.5689 GB, free: 9.074 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.485e-05/0.4018, allocations: 47.66 kB / 0.569 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.4032, allocations: 483.7 kB / 0.5694 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.4032, allocations: 4 kB / 0.5695 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.4032, allocations: 0 / 0.5695 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.4032, allocations: 0 / 0.5695 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009332/0.4041, allocations: 0.658 MB / 0.5701 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4041, allocations: 0 / 0.5701 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000267/0.4044, allocations: 52 kB / 0.5701 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004627/0.4049, allocations: 148.7 kB / 0.5703 GB, free: 7.629 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.4049, allocations: 8 kB / 0.5703 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00356/0.4085, allocations: 2.141 MB / 0.5724 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4085, allocations: 0 / 0.5724 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.4102, allocations: 0.6986 MB / 0.5731 GB, free: 4.641 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/0.4104, allocations: 75.56 kB / 0.5731 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.235e-05/0.4105, allocations: 11.94 kB / 0.5732 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.4107, allocations: 15.98 kB / 0.5732 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.4109, allocations: 43.92 kB / 0.5732 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.4109, allocations: 8 kB / 0.5732 GB, free: 4.488 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004023/0.4113, allocations: 279.1 kB / 0.5735 GB, free: 4.219 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4113, allocations: 4 kB / 0.5735 GB, free: 4.215 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006815/0.412, allocations: 159.6 kB / 0.5736 GB, free: 4.059 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.002033/0.414, allocations: 1.251 MB / 0.5749 GB, free: 2.766 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.4151, allocations: 0.4984 MB / 0.5753 GB, free: 2.254 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4151, allocations: 0 / 0.5753 GB, free: 2.254 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005921/0.4157, allocations: 323.1 kB / 0.5757 GB, free: 1.926 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007075/0.4164, allocations: 154.5 kB / 0.5758 GB, free: 1.781 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007517/0.424, allocations: 4.587 MB / 0.5803 GB, free: 12.99 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006034/0.4246, allocations: 0.9211 MB / 0.5812 GB, free: 12.04 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002898/0.4249, allocations: 84.62 kB / 0.5813 GB, free: 11.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/0.4251, allocations: 195.4 kB / 0.5814 GB, free: 11.77 MB / 430.1 MB Notification: Performance of SimCode: time 9.31e-07/0.4251, allocations: 0 / 0.5814 GB, free: 11.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04564/0.4708, allocations: 13.73 MB / 0.5949 GB, free: 14.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.3, allocations: 8 kB / 0.5949 GB, free: 14.24 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0002 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_Chopper.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.29422321403399] Failed to read output from testmodel.py, exit status != 0: 14.482710772019345 14.501414882 14.122960537 Calling exit ...