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.001765/0.001765, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.0015/0.0015, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.469/1.469, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.1872/0.1872, allocations: 38.55 MB / 353.2 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.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.002036/0.002036, allocations: 63.89 kB / 493.3 MB, free: 4.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3632, allocations: 62.46 MB / 0.5427 GB, free: 252 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.009248/0.3725, allocations: 6.261 MB / 0.5488 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00362/0.3761, allocations: 1.668 MB / 0.5504 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004821/0.3766, allocations: 31.72 kB / 0.5505 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007701/0.3774, allocations: 209.6 kB / 0.5507 GB, free: 9.996 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.3784, allocations: 385 kB / 0.551 GB, free: 9.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005824/0.379, allocations: 226.8 kB / 0.5513 GB, free: 9.492 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001285/0.3803, allocations: 1.071 MB / 0.5523 GB, free: 8.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005007/0.3808, allocations: 319.5 kB / 0.5526 GB, free: 8.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008306/0.3816, allocations: 495.4 kB / 0.5531 GB, free: 8.371 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000771/0.3824, allocations: 0.4982 MB / 0.5536 GB, free: 8.059 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.3825, allocations: 84.59 kB / 0.5536 GB, free: 8.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.3827, allocations: 86.09 kB / 0.5537 GB, free: 8.059 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003155/0.383, allocations: 280 kB / 0.554 GB, free: 7.859 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004181/0.3834, allocations: 338.7 kB / 0.5543 GB, free: 7.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001308/0.3847, allocations: 1.05 MB / 0.5553 GB, free: 6.887 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3847, allocations: 3.938 kB / 0.5553 GB, free: 6.883 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3847, allocations: 0 / 0.5553 GB, free: 6.883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.3847, allocations: 1.062 kB / 0.5553 GB, free: 6.883 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.002065/0.3868, allocations: 0.9593 MB / 0.5563 GB, free: 6.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3868, allocations: 18.14 kB / 0.5563 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.491e-05/0.3869, allocations: 15.72 kB / 0.5563 GB, free: 6.152 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001415/0.387, allocations: 112.4 kB / 0.5564 GB, free: 6.055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.3872, allocations: 78.66 kB / 0.5565 GB, free: 6.016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.3884, allocations: 0.5851 MB / 0.5571 GB, free: 5.449 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002069/0.3886, allocations: 193.9 kB / 0.5573 GB, free: 5.227 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.3887, allocations: 63.98 kB / 0.5573 GB, free: 5.164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.3901, allocations: 0.746 MB / 0.558 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.3901, allocations: 0 / 0.558 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.259e-05/0.3901, allocations: 20 kB / 0.5581 GB, free: 4.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.3902, allocations: 16 kB / 0.5581 GB, free: 4.352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.3915, allocations: 0.6089 MB / 0.5587 GB, free: 3.738 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003497/0.395, allocations: 2.237 MB / 0.5609 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009062/0.3959, allocations: 394.4 kB / 0.5612 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004245/0.3963, allocations: 191.1 kB / 0.5614 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.3963, allocations: 8.281 kB / 0.5614 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004584/0.3968, allocations: 243.3 kB / 0.5617 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of pre-optimization done (n=36): time 2.144e-06/0.3968, allocations: 3.938 kB / 0.5617 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.003034/0.3998, allocations: 0.8033 MB / 0.5624 GB, free: 15.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.219e-05/0.3999, allocations: 132.5 kB / 0.5626 GB, free: 15.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004997/0.4004, allocations: 401.9 kB / 0.563 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.4004, allocations: 37.7 kB / 0.563 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/0.4007, allocations: 328.8 kB / 0.5633 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.4009, allocations: 123 kB / 0.5634 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.401, allocations: 82.08 kB / 0.5635 GB, free: 14.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.4012, allocations: 358.8 kB / 0.5638 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.4015, allocations: 128.8 kB / 0.564 GB, free: 14.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003942/0.4019, allocations: 246 kB / 0.5642 GB, free: 13.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.4035, allocations: 0.6526 MB / 0.5648 GB, free: 13.11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4035, allocations: 0 / 0.5648 GB, free: 13.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001115/0.4046, allocations: 0.5333 MB / 0.5654 GB, free: 12.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.4046, allocations: 7.125 kB / 0.5654 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.4046, allocations: 4 kB / 0.5654 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00046/0.4051, allocations: 160.7 kB / 0.5655 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.4054, allocations: 71.89 kB / 0.5656 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003644/0.409, allocations: 2.137 MB / 0.5677 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004214/0.4094, allocations: 59.64 kB / 0.5677 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.4095, allocations: 16 kB / 0.5677 GB, free: 10 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.0003849/0.4099, allocations: 237.7 kB / 0.568 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.477e-05/0.41, allocations: 55.72 kB / 0.568 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.4112, allocations: 487.6 kB / 0.5685 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.4113, allocations: 8.188 kB / 0.5685 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4113, allocations: 3.984 kB / 0.5685 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4113, allocations: 3.938 kB / 0.5685 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008526/0.4121, allocations: 0.6036 MB / 0.5691 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4121, allocations: 0 / 0.5691 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002526/0.4124, allocations: 47.91 kB / 0.5691 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004364/0.4128, allocations: 148.8 kB / 0.5693 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.4128, allocations: 11.94 kB / 0.5693 GB, free: 8.336 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003308/0.4161, allocations: 2.125 MB / 0.5714 GB, free: 6.102 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.4161, allocations: 0 / 0.5714 GB, free: 6.102 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.4179, allocations: 0.6868 MB / 0.572 GB, free: 5.383 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002022/0.4181, allocations: 75.61 kB / 0.5721 GB, free: 5.309 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.48e-05/0.4182, allocations: 19.94 kB / 0.5721 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.4184, allocations: 19.97 kB / 0.5722 GB, free: 5.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.4185, allocations: 35.94 kB / 0.5722 GB, free: 5.234 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-05/0.4186, allocations: 12 kB / 0.5722 GB, free: 5.223 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003612/0.4189, allocations: 279.1 kB / 0.5725 GB, free: 4.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4189, allocations: 0 / 0.5725 GB, free: 4.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006719/0.4196, allocations: 167.6 kB / 0.5726 GB, free: 4.789 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.00194/0.4215, allocations: 1.246 MB / 0.5738 GB, free: 3.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.4226, allocations: 499 kB / 0.5743 GB, free: 3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4226, allocations: 8.25 kB / 0.5743 GB, free: 2.992 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005592/0.4232, allocations: 318.4 kB / 0.5746 GB, free: 2.668 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006824/0.4239, allocations: 167.7 kB / 0.5748 GB, free: 2.512 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007434/0.4313, allocations: 4.567 MB / 0.5792 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.4317, allocations: 339 kB / 0.5796 GB, free: 13.37 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002859/0.432, allocations: 76.66 kB / 0.5796 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/0.4323, allocations: 191.4 kB / 0.5798 GB, free: 13.11 MB / 430.1 MB Notification: Performance of SimCode: time 8.21e-07/0.4323, allocations: 4 kB / 0.5798 GB, free: 13.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0484/0.4807, allocations: 13.82 MB / 0.5933 GB, free: 15.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/14.42, allocations: 15.62 kB / 0.5933 GB, free: 15.57 MB / 446.1 MB " [Timeout remaining time 645] (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.29290234891232] Failed to read output from testmodel.py, exit status != 0: 14.60462972195819 14.629964348 14.240222517 Calling exit ...