Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00123/0.00123, allocations: 195.2 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 225.5 MB / 234.4 MB, free: 3.434 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001063/0.001063, allocations: 89.22 kB / 286.3 MB, free: 5.246 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.262e-06/6.292e-06, allocations: 0 / 343.2 MB, free: 8.762 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09873/0.09876, allocations: 51.47 MB / 394.6 MB, free: 5.238 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3049/0.4037, allocations: 87.85 MB / 482.5 MB, free: 5.445 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.404, allocations: 82.83 kB / 482.6 MB, free: 5.402 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03499/0.439, allocations: 13.48 MB / 496.1 MB, free: 10.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.381e-05/0.4391, allocations: 23.83 kB / 496.1 MB, free: 10.19 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002323/0.4414, allocations: 0.9715 MB / 497 MB, free: 9.219 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.4415, allocations: 8.031 kB / 497.1 MB, free: 9.211 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003444/0.4418, allocations: 94.88 kB / 497.1 MB, free: 9.117 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.4429, allocations: 490.9 kB / 497.6 MB, free: 8.676 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.879e-05/0.4429, allocations: 27.91 kB / 497.7 MB, free: 8.648 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.4431, allocations: 47.98 kB / 497.7 MB, free: 8.602 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009074/0.444, allocations: 428 kB / 498.1 MB, free: 8.352 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.4451, allocations: 0.5988 MB / 498.7 MB, free: 7.891 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.4451, allocations: 3.984 kB / 498.7 MB, free: 7.887 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.274e-05/0.4452, allocations: 1.969 kB / 498.7 MB, free: 7.887 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.4452, allocations: 23.94 kB / 498.7 MB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00366/0.4489, allocations: 2.397 MB / 0.4894 GB, free: 5.867 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003939/0.4493, allocations: 253.3 kB / 0.4896 GB, free: 5.707 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005278/0.4498, allocations: 334.6 kB / 0.49 GB, free: 5.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.722e-05/0.4499, allocations: 12.17 kB / 0.49 GB, free: 5.473 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004858/0.4504, allocations: 334.6 kB / 0.4903 GB, free: 5.203 MB / 362.7 MB Notification: Performance of pre-optimization done (n=68): time 2.425e-06/0.4504, allocations: 0 / 0.4903 GB, free: 5.203 MB / 362.7 MB Notification: Performance of matching and sorting (n=68): time 0.0008647/0.4513, allocations: 0.4942 MB / 0.4908 GB, free: 4.836 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.875e-05/0.4514, allocations: 166.9 kB / 0.4909 GB, free: 4.637 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004096/0.4518, allocations: 354.4 kB / 0.4913 GB, free: 4.363 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.489e-05/0.4519, allocations: 32.88 kB / 0.4913 GB, free: 4.328 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.452, allocations: 264.2 kB / 0.4916 GB, free: 4.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.4522, allocations: 203.1 kB / 0.4917 GB, free: 3.918 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.4522, allocations: 0 / 0.4917 GB, free: 3.918 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4524, allocations: 361.6 kB / 0.4921 GB, free: 3.578 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.4527, allocations: 169.9 kB / 0.4923 GB, free: 3.484 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/0.4531, allocations: 354.1 kB / 0.4926 GB, free: 3.148 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/0.4535, allocations: 195 kB / 0.4928 GB, free: 3.023 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.4535, allocations: 0 / 0.4928 GB, free: 3.023 MB / 362.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001115/0.4546, allocations: 0.6125 MB / 0.4934 GB, free: 2.559 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007321/0.4554, allocations: 1.827 MB / 0.4952 GB, free: 0.625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.4554, allocations: 8 kB / 0.4952 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004591/0.4559, allocations: 128.7 kB / 0.4953 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/0.4564, allocations: 130.5 kB / 0.4954 GB, free: 412 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/0.4589, allocations: 1.905 MB / 0.4973 GB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006476/0.4596, allocations: 67.64 kB / 0.4973 GB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.488e-05/0.4597, allocations: 31.5 kB / 0.4974 GB, free: 14.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.4597, allocations: 9.781 kB / 0.4974 GB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009673/0.4607, allocations: 0.5086 MB / 0.4979 GB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.4607, allocations: 12 kB / 0.4979 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003626/0.4611, allocations: 136 kB / 0.498 GB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004679/0.4615, allocations: 123.3 kB / 0.4981 GB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.4637, allocations: 1.904 MB / 0.5 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005388/0.4643, allocations: 55.72 kB / 0.5 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-05/0.4643, allocations: 30.91 kB / 0.5001 GB, free: 12.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.mean_vLV.y_last,mean_vLV.y_last,$PRE.mean_iLV.y_last,mean_iLV.y_last,$PRE.mean_vHV.y_last,mean_vHV.y_last,$PRE.mean_iHV.y_last,mean_iHV.y_last,$PRE.pwm.zeroOrderHold.firstTrigger,pwm.zeroOrderHold.firstTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,pwm.zeroOrderHold.sampleTrigger,pwm.zeroOrderHold.ySample,$whenCondition1,dcdc.andCondition_p.y,dcdc.andCondition_n.y,dcdc.fire_n,dcdc.transistorLS.off,dcdc.diodeLS.off,dcdc.transistorHS.off,dcdc.diodeHS.off,$PRE.pwm.zeroOrderHold.ySample,$PRE.pwm.sawtooth.T_start,pwm.sawtooth.T_start,$PRE.pwm.sawtooth.count,pwm.sawtooth.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002805/0.4646, allocations: 138.8 kB / 0.5002 GB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.4648, allocations: 59.34 kB / 0.5003 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.465, allocations: 63.7 kB / 0.5003 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.465, allocations: 11.98 kB / 0.5003 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.465, allocations: 0 / 0.5003 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.465, allocations: 0 / 0.5003 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/0.4672, allocations: 1.277 MB / 0.5016 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.4672, allocations: 3.984 kB / 0.5016 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004888/0.4677, allocations: 97.2 kB / 0.5017 GB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003394/0.4681, allocations: 123.6 kB / 0.5018 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/0.4682, allocations: 7.25 kB / 0.5018 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002124/0.4703, allocations: 1.857 MB / 0.5036 GB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.4703, allocations: 3.906 kB / 0.5036 GB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001321/0.4716, allocations: 0.8534 MB / 0.5045 GB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003904/0.472, allocations: 188.2 kB / 0.5046 GB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.4722, allocations: 8 kB / 0.5046 GB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004909/0.4727, allocations: 43.97 kB / 0.5047 GB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.4728, allocations: 60.56 kB / 0.5047 GB, free: 7.668 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.46e-05/0.4729, allocations: 16 kB / 0.5048 GB, free: 7.652 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003645/0.4733, allocations: 263.2 kB / 0.505 GB, free: 7.398 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001253/0.4745, allocations: 326.8 kB / 0.5053 GB, free: 7.078 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (capacitorLV.v,inductor.i,capacitorHV.v,mean_vLV.x,mean_iLV.x,mean_vHV.x,mean_iHV.x) * Number of discrete variables: 22 (pwm.zeroOrderHold.sampleTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,dcdc.andCondition_p.y,dcdc.andCondition_n.y,dcdc.fire_n,dcdc.transistorLS.off,dcdc.diodeLS.off,dcdc.transistorHS.off,dcdc.diodeHS.off,mean_vLV.y_last,mean_iLV.y_last,mean_vHV.y_last,mean_iHV.y_last,pwm.zeroOrderHold.firstTrigger,pwm.zeroOrderHold.ySample,pwm.sawtooth.T_start,pwm.sawtooth.count) * Number of discrete states: 6 (pwm.sawtooth.count,mean_vLV.x,mean_iLV.x,mean_vHV.x,mean_iHV.x,pwm.zeroOrderHold.ySample) * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002214/0.4748, allocations: 141 kB / 0.5055 GB, free: 6.926 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001984/0.4768, allocations: 1.076 MB / 0.5065 GB, free: 5.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4768, allocations: 448 / 0.5065 GB, free: 5.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006493/0.4774, allocations: 388 kB / 0.5069 GB, free: 5.434 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005285/0.478, allocations: 84.45 kB / 0.507 GB, free: 5.355 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.4808, allocations: 1.092 MB / 0.508 GB, free: 4.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007387/0.4815, allocations: 0.9941 MB / 0.509 GB, free: 3.211 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4815, allocations: 0 / 0.509 GB, free: 3.211 MB / 378.7 MB Notification: Performance of Templates: time 0.02119/0.5027, allocations: 11.4 MB / 0.5201 GB, free: 8.004 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.pipe 2>&1)