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.00121/0.00121, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008804/0.0008802, allocations: 92.89 kB / 292.1 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.246e-05/3.259e-05, allocations: 0 / 350.6 MB, free: 2.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1028, allocations: 51.49 MB / 402.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3532/0.456, allocations: 88.59 MB / 490.7 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.4564, allocations: 88.69 kB / 490.8 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03796/0.4944, allocations: 13.81 MB / 0.4928 GB, free: 4.602 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4944, allocations: 0 / 0.4928 GB, free: 4.602 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.618e-05/0.4945, allocations: 19.98 kB / 0.4928 GB, free: 4.582 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.002079/0.4966, allocations: 0.9622 MB / 0.4938 GB, free: 3.582 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.4966, allocations: 8.031 kB / 0.4938 GB, free: 3.574 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002248/0.4969, allocations: 118.5 kB / 0.4939 GB, free: 3.449 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002364/0.4971, allocations: 94.88 kB / 0.494 GB, free: 3.355 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008931/0.498, allocations: 482.6 kB / 0.4944 GB, free: 2.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.699e-05/0.4981, allocations: 58 kB / 0.4945 GB, free: 2.785 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.4982, allocations: 72 kB / 0.4946 GB, free: 2.715 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.4995, allocations: 0.6965 MB / 0.4952 GB, free: 1.988 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.4996, allocations: 8.594 kB / 0.4952 GB, free: 1.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-05/0.4997, allocations: 28 kB / 0.4953 GB, free: 1.953 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/0.4997, allocations: 19.95 kB / 0.4953 GB, free: 1.934 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008876/0.5006, allocations: 467.9 kB / 0.4957 GB, free: 1.477 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004311/0.5049, allocations: 2.57 MB / 0.4982 GB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008645/0.5058, allocations: 0.5072 MB / 0.4987 GB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006191/0.5064, allocations: 350.5 kB / 0.4991 GB, free: 13.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.07e-05/0.5065, allocations: 12.5 kB / 0.4991 GB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000648/0.5072, allocations: 389.4 kB / 0.4995 GB, free: 13.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=68): time 2.785e-06/0.5072, allocations: 0 / 0.4995 GB, free: 13.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=68): time 0.001078/0.5083, allocations: 0.5732 MB / 0.5 GB, free: 12.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.5084, allocations: 170.8 kB / 0.5002 GB, free: 12.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000576/0.509, allocations: 431.9 kB / 0.5006 GB, free: 12.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.202e-05/0.5091, allocations: 41.7 kB / 0.5006 GB, free: 12.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.5093, allocations: 320.5 kB / 0.5009 GB, free: 11.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.5095, allocations: 213 kB / 0.5011 GB, free: 11.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.5096, allocations: 12 kB / 0.5012 GB, free: 11.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.5098, allocations: 370.8 kB / 0.5015 GB, free: 11.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003399/0.5101, allocations: 177.6 kB / 0.5017 GB, free: 11.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004693/0.5106, allocations: 373.8 kB / 0.502 GB, free: 10.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004085/0.511, allocations: 239.1 kB / 0.5023 GB, free: 10.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.511, allocations: 4 kB / 0.5023 GB, free: 10.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001147/0.5122, allocations: 0.7196 MB / 0.503 GB, free: 9.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008506/0.5131, allocations: 1.863 MB / 0.5048 GB, free: 7.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.5131, allocations: 4 kB / 0.5048 GB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005131/0.5136, allocations: 138.1 kB / 0.5049 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005082/0.5141, allocations: 135.8 kB / 0.5051 GB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002448/0.5166, allocations: 2.133 MB / 0.5071 GB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005768/0.5172, allocations: 87.41 kB / 0.5072 GB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.755e-05/0.5173, allocations: 32.19 kB / 0.5072 GB, free: 5.086 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.5173, allocations: 7.938 kB / 0.5073 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001041/0.5183, allocations: 0.644 MB / 0.5079 GB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.5183, allocations: 4 kB / 0.5079 GB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003415/0.5187, allocations: 130 kB / 0.508 GB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/0.5191, allocations: 135.7 kB / 0.5081 GB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002261/0.5214, allocations: 2.131 MB / 0.5102 GB, free: 1.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000547/0.522, allocations: 87.59 kB / 0.5103 GB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-05/0.522, allocations: 24 kB / 0.5103 GB, free: 1.785 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.0002224/0.5223, allocations: 164 kB / 0.5105 GB, free: 1.621 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.5224, allocations: 71.19 kB / 0.5106 GB, free: 1.551 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/0.5226, allocations: 77.81 kB / 0.5106 GB, free: 1.469 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.5226, allocations: 8 kB / 0.5106 GB, free: 1.461 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5226, allocations: 3.984 kB / 0.5106 GB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.5226, allocations: 0 / 0.5106 GB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002273/0.5249, allocations: 1.441 MB / 0.512 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5249, allocations: 0 / 0.512 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004475/0.5254, allocations: 103.8 kB / 0.5121 GB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003515/0.5258, allocations: 120.8 kB / 0.5123 GB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.353e-05/0.5258, allocations: 12 kB / 0.5123 GB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002296/0.5281, allocations: 2.088 MB / 0.5143 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5282, allocations: 1.875 kB / 0.5143 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.5296, allocations: 0.9296 MB / 0.5152 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/0.5299, allocations: 192.2 kB / 0.5154 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.53, allocations: 19.98 kB / 0.5154 GB, free: 12.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004336/0.5305, allocations: 47.97 kB / 0.5155 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.5306, allocations: 60.47 kB / 0.5155 GB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.365e-05/0.5307, allocations: 23.98 kB / 0.5156 GB, free: 12.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004285/0.5311, allocations: 333.5 kB / 0.5159 GB, free: 11.87 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5311, allocations: 0 / 0.5159 GB, free: 11.87 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001274/0.5324, allocations: 367.1 kB / 0.5162 GB, free: 11.51 MB / 394.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.001734/0.5341, allocations: 1.513 MB / 0.5177 GB, free: 9.969 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002123/0.5363, allocations: 1.284 MB / 0.519 GB, free: 8.633 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5363, allocations: 0 / 0.519 GB, free: 8.633 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006472/0.5369, allocations: 445.2 kB / 0.5194 GB, free: 8.188 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000627/0.5376, allocations: 120.4 kB / 0.5195 GB, free: 8.074 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.5404, allocations: 1.25 MB / 0.5207 GB, free: 6.789 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/0.5409, allocations: 0.948 MB / 0.5216 GB, free: 5.809 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004607/0.5414, allocations: 93.11 kB / 0.5217 GB, free: 5.715 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003148/0.5417, allocations: 247.3 kB / 0.522 GB, free: 5.473 MB / 394.7 MB Notification: Performance of SimCode: time 1.423e-06/0.5417, allocations: 0 / 0.522 GB, free: 5.473 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03943/0.5811, allocations: 16.27 MB / 0.5379 GB, free: 5.637 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002325/0.5814, allocations: 239 kB / 0.5381 GB, free: 5.367 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.421/3.003, allocations: 0 / 0.5381 GB, free: 5.367 MB / 410.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)