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: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCDC_ChopperBuckBoost_ChopperBuckBoost_DutyCycle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCDC_ChopperBuckBoost_ChopperBuckBoost_DutyCycle",fmuType="me",version="2.0",platforms={"static"}) [: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.001061/0.001061, allocations: 199.2 kB / 8.541 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.135/1.135, allocations: 225.5 MB / 234.4 MB, free: 3.398 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008559/0.000856, allocations: 88.94 kB / 286.3 MB, free: 5.219 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0938/0.09469, allocations: 56.92 MB / 343.3 MB, free: 8.629 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07935/0.1741, allocations: 51.47 MB / 394.7 MB, free: 5.098 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.217/0.3911, allocations: 87.86 MB / 482.6 MB, free: 5.305 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.3913, allocations: 89.44 kB / 482.7 MB, free: 5.254 MB / 346.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.03445/0.4258, allocations: 14.48 MB / 497.1 MB, free: 9.074 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.4259, allocations: 12 kB / 497.2 MB, free: 9.062 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.426, allocations: 94.88 kB / 497.3 MB, free: 8.969 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006928/0.4267, allocations: 488.8 kB / 497.7 MB, free: 8.527 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.4268, allocations: 27.91 kB / 497.8 MB, free: 8.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.864e-05/0.4269, allocations: 55.55 kB / 497.8 MB, free: 8.449 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007527/0.4276, allocations: 422.6 kB / 498.2 MB, free: 8.199 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000937/0.4286, allocations: 0.5899 MB / 498.8 MB, free: 7.746 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/0.4286, allocations: 7.984 kB / 498.8 MB, free: 7.738 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.507e-05/0.4287, allocations: 0 / 498.8 MB, free: 7.738 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.4287, allocations: 20 kB / 498.8 MB, free: 7.719 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003277/0.432, allocations: 2.405 MB / 0.4895 GB, free: 5.719 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/0.4324, allocations: 246.2 kB / 0.4897 GB, free: 5.566 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000521/0.4329, allocations: 331.9 kB / 0.4901 GB, free: 5.344 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.657e-05/0.4329, allocations: 16.48 kB / 0.4901 GB, free: 5.328 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004899/0.4334, allocations: 334.7 kB / 0.4904 GB, free: 5.062 MB / 362.7 MB Notification: Performance of pre-optimization done (n=68): time 1.883e-06/0.4335, allocations: 0 / 0.4904 GB, free: 5.062 MB / 362.7 MB Notification: Performance of matching and sorting (n=68): time 0.0008344/0.4343, allocations: 0.494 MB / 0.4909 GB, free: 4.695 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.4344, allocations: 174.2 kB / 0.491 GB, free: 4.492 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003439/0.4347, allocations: 350.4 kB / 0.4914 GB, free: 4.223 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/0.4348, allocations: 33.69 kB / 0.4914 GB, free: 4.184 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.4349, allocations: 259.2 kB / 0.4916 GB, free: 3.953 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.4351, allocations: 206 kB / 0.4918 GB, free: 3.773 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.4351, allocations: 4 kB / 0.4918 GB, free: 3.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.4353, allocations: 365.2 kB / 0.4922 GB, free: 3.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.4355, allocations: 169.1 kB / 0.4924 GB, free: 3.336 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004056/0.436, allocations: 342.6 kB / 0.4927 GB, free: 3.012 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003338/0.4363, allocations: 202.3 kB / 0.4929 GB, free: 2.879 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4363, allocations: 3.938 kB / 0.4929 GB, free: 2.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009344/0.4373, allocations: 0.6069 MB / 0.4935 GB, free: 2.414 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000534/0.4378, allocations: 1.831 MB / 0.4953 GB, free: 488 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.4378, allocations: 4 kB / 0.4953 GB, free: 484 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004415/0.4383, allocations: 132 kB / 0.4954 GB, free: 388 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004971/0.4388, allocations: 127 kB / 0.4955 GB, free: 264 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/0.4408, allocations: 1.898 MB / 0.4974 GB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/0.4413, allocations: 79.69 kB / 0.4974 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.892e-05/0.4413, allocations: 26.75 kB / 0.4975 GB, free: 14.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.695e-06/0.4413, allocations: 7.906 kB / 0.4975 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008138/0.4422, allocations: 0.515 MB / 0.498 GB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.4422, allocations: 4 kB / 0.498 GB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003267/0.4425, allocations: 133.9 kB / 0.4981 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/0.443, allocations: 129.5 kB / 0.4982 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/0.4448, allocations: 1.898 MB / 0.5001 GB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/0.4453, allocations: 65.86 kB / 0.5001 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-05/0.4453, allocations: 30.8 kB / 0.5002 GB, free: 12.03 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.000165/0.4455, allocations: 138.2 kB / 0.5003 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-05/0.4456, allocations: 59.34 kB / 0.5004 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.4457, allocations: 63.27 kB / 0.5004 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.4457, allocations: 4 kB / 0.5004 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4457, allocations: 7.984 kB / 0.5004 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4457, allocations: 4 kB / 0.5004 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.4476, allocations: 1.272 MB / 0.5017 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4476, allocations: 0 / 0.5017 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004685/0.4481, allocations: 98.88 kB / 0.5018 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003277/0.4484, allocations: 125.8 kB / 0.5019 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/0.4485, allocations: 4 kB / 0.5019 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.4504, allocations: 1.857 MB / 0.5037 GB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.4504, allocations: 3.906 kB / 0.5037 GB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001171/0.4516, allocations: 0.8534 MB / 0.5046 GB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001623/0.4532, allocations: 1.483 MB / 0.506 GB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.4534, allocations: 185.5 kB / 0.5062 GB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-05/0.4535, allocations: 0 / 0.5062 GB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/0.4539, allocations: 43.95 kB / 0.5062 GB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.4541, allocations: 56.48 kB / 0.5063 GB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.4541, allocations: 27.98 kB / 0.5063 GB, free: 6.012 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002453/0.4544, allocations: 259.2 kB / 0.5065 GB, free: 5.762 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00196/0.4563, allocations: 330.8 kB / 0.5069 GB, free: 5.438 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.0001699/0.4565, allocations: 132.5 kB / 0.507 GB, free: 5.297 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00155/0.4581, allocations: 1.084 MB / 0.508 GB, free: 4.188 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4581, allocations: 320 / 0.508 GB, free: 4.188 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005249/0.4586, allocations: 388 kB / 0.5084 GB, free: 3.801 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.4591, allocations: 85.2 kB / 0.5085 GB, free: 3.719 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.4612, allocations: 1.108 MB / 0.5096 GB, free: 2.582 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005648/0.4618, allocations: 0.9982 MB / 0.5106 GB, free: 1.559 MB / 378.7 MB Notification: Performance of SimCode: time 4.1e-07/0.4618, allocations: 0 / 0.5106 GB, free: 1.559 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCDC_ChopperBuckBoost_ChopperBuckBoost_DutyCycle_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_DCDC_ChopperBuckBoost_ChopperBuckBoost_DutyCycle.fmu > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.pipe 2>&1)