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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0012/0.0012, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 227.2 MB / 245 MB, free: 7.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008998/0.0008999, allocations: 107 kB / 297.3 MB, free: 6.152 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000239/0.0002391, allocations: 8 kB / 358 MB, free: 9.398 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2012, allocations: 51.48 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.105/0.3063, allocations: 88.66 MB / 498.2 MB, free: 1.914 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/0.3066, allocations: 91.94 kB / 498.3 MB, free: 1.824 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03594/0.3426, allocations: 13.82 MB / 0.5001 GB, free: 3.926 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3426, allocations: 0 / 0.5001 GB, free: 3.926 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.931e-05/0.3427, allocations: 23.98 kB / 0.5001 GB, free: 3.902 MB / 378.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.001694/0.3444, allocations: 1.041 MB / 0.5011 GB, free: 2.805 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3444, allocations: 11.97 kB / 0.5011 GB, free: 2.793 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/0.3445, allocations: 118.5 kB / 0.5012 GB, free: 2.668 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.3447, allocations: 98.83 kB / 0.5013 GB, free: 2.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006812/0.3454, allocations: 478.6 kB / 0.5018 GB, free: 2.059 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/0.3454, allocations: 65.98 kB / 0.5019 GB, free: 1.996 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.482e-05/0.3455, allocations: 72 kB / 0.5019 GB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.3467, allocations: 0.7355 MB / 0.5026 GB, free: 1.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.3467, allocations: 3.906 kB / 0.5026 GB, free: 1.156 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-05/0.3468, allocations: 28 kB / 0.5027 GB, free: 1.129 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.3468, allocations: 23.95 kB / 0.5027 GB, free: 1.105 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009755/0.3478, allocations: 0.5309 MB / 0.5032 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1675/0.5153, allocations: 2.557 MB / 0.5057 GB, free: 89.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.5164, allocations: 0.5815 MB / 0.5063 GB, free: 89.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.954e-05/0.5164, allocations: 8.094 kB / 0.5063 GB, free: 89.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006762/0.5171, allocations: 421.1 kB / 0.5067 GB, free: 89.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=68): time 2.525e-06/0.5171, allocations: 0 / 0.5067 GB, free: 89.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=68): time 0.002406/0.5196, allocations: 1.066 MB / 0.5077 GB, free: 89.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.5196, allocations: 170.1 kB / 0.5079 GB, free: 89.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004679/0.5201, allocations: 433.5 kB / 0.5083 GB, free: 89.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.897e-05/0.5202, allocations: 45.14 kB / 0.5083 GB, free: 88.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.5203, allocations: 317 kB / 0.5086 GB, free: 88.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.5205, allocations: 212.3 kB / 0.5089 GB, free: 88.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.5205, allocations: 11.47 kB / 0.5089 GB, free: 88.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.096e-05/0.5206, allocations: 378.4 kB / 0.5092 GB, free: 88.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004611/0.5211, allocations: 214 kB / 0.5094 GB, free: 88.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005177/0.5216, allocations: 401.1 kB / 0.5098 GB, free: 88.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005213/0.5221, allocations: 274.3 kB / 0.5101 GB, free: 88.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.5221, allocations: 1.656 kB / 0.5101 GB, free: 88.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001241/0.5234, allocations: 0.7879 MB / 0.5108 GB, free: 88.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002902/0.5237, allocations: 1.857 MB / 0.5127 GB, free: 86.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.5237, allocations: 12.45 kB / 0.5127 GB, free: 86.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003866/0.5241, allocations: 140.6 kB / 0.5128 GB, free: 86.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.5245, allocations: 130.4 kB / 0.5129 GB, free: 86.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/0.5264, allocations: 2.184 MB / 0.5151 GB, free: 84.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004408/0.5269, allocations: 87.52 kB / 0.5151 GB, free: 84.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.871e-05/0.5269, allocations: 31.47 kB / 0.5152 GB, free: 84.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.911e-06/0.5269, allocations: 3.969 kB / 0.5152 GB, free: 84.42 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009196/0.5279, allocations: 0.6839 MB / 0.5158 GB, free: 84.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5279, allocations: 3.938 kB / 0.5158 GB, free: 84.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002892/0.5282, allocations: 142.3 kB / 0.516 GB, free: 84.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.5286, allocations: 127.8 kB / 0.5161 GB, free: 84.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/0.5303, allocations: 2.187 MB / 0.5182 GB, free: 82.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003977/0.5307, allocations: 85.39 kB / 0.5183 GB, free: 82.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.5308, allocations: 27 kB / 0.5183 GB, free: 82.25 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 () * Number of clocked 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.0003542/0.5311, allocations: 304.7 kB / 0.5186 GB, free: 81.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.342e-05/0.5312, allocations: 66.22 kB / 0.5187 GB, free: 81.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.5313, allocations: 81.11 kB / 0.5188 GB, free: 81.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.5314, allocations: 3.812 kB / 0.5188 GB, free: 81.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.5314, allocations: 0 / 0.5188 GB, free: 81.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.5314, allocations: 7.562 kB / 0.5188 GB, free: 81.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.5332, allocations: 1.451 MB / 0.5202 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5332, allocations: 0 / 0.5202 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/0.5336, allocations: 96.38 kB / 0.5203 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002838/0.5339, allocations: 123.3 kB / 0.5204 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.5339, allocations: 14.77 kB / 0.5204 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/0.5357, allocations: 2.182 MB / 0.5226 GB, free: 79.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5357, allocations: 0 / 0.5226 GB, free: 79.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.5371, allocations: 1.031 MB / 0.5236 GB, free: 78.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/0.5373, allocations: 203.4 kB / 0.5238 GB, free: 78.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.297e-05/0.5374, allocations: 11.12 kB / 0.5238 GB, free: 78.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/0.5377, allocations: 52.67 kB / 0.5238 GB, free: 78.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.5378, allocations: 61.64 kB / 0.5239 GB, free: 78.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.5379, allocations: 19.78 kB / 0.5239 GB, free: 78.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000269/0.5382, allocations: 336.9 kB / 0.5242 GB, free: 78.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5382, allocations: 0 / 0.5242 GB, free: 78.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008667/0.539, allocations: 365.8 kB / 0.5246 GB, free: 78.36 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 45 * 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001509/0.5406, allocations: 1.617 MB / 0.5262 GB, free: 77.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001688/0.5423, allocations: 1.377 MB / 0.5275 GB, free: 76.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5423, allocations: 3.438 kB / 0.5275 GB, free: 76.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005607/0.5428, allocations: 492.8 kB / 0.528 GB, free: 76.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/0.5433, allocations: 111.9 kB / 0.5281 GB, free: 76.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002812/0.5461, allocations: 5.317 MB / 0.5333 GB, free: 71.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.5464, allocations: 0.9493 MB / 0.5342 GB, free: 70.94 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002698/0.5467, allocations: 78.16 kB / 0.5343 GB, free: 70.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/0.547, allocations: 252 kB / 0.5345 GB, free: 70.66 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.547, allocations: 0 / 0.5345 GB, free: 70.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.5721, allocations: 15.42 MB / 0.5496 GB, free: 58.05 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001466/0.5723, allocations: 259.4 kB / 0.5498 GB, free: 57.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.263/2.835, allocations: 0 / 0.5498 GB, free: 57.7 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)