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.001763/0.001763, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 225.6 MB / 234.8 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009045/0.0009045, allocations: 98.98 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.977e-05/1.98e-05, allocations: 0 / 343.8 MB, free: 8.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1144, allocations: 51.49 MB / 395.3 MB, free: 4.695 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3658/0.4802, allocations: 87.93 MB / 483.2 MB, free: 5.047 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/0.4806, allocations: 83.75 kB / 483.3 MB, free: 5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03312/0.5137, allocations: 13.69 MB / 497 MB, free: 9.621 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.5137, allocations: 0 / 497 MB, free: 9.621 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.555e-05/0.5138, allocations: 20 kB / 497 MB, free: 9.602 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.001654/0.5154, allocations: 0.9644 MB / 498 MB, free: 8.645 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.5155, allocations: 8.031 kB / 498 MB, free: 8.637 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001664/0.5157, allocations: 94.88 kB / 498.1 MB, free: 8.543 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007398/0.5164, allocations: 488.3 kB / 498.5 MB, free: 8.102 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.5165, allocations: 31.38 kB / 498.6 MB, free: 8.074 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.904e-05/0.5166, allocations: 44 kB / 498.6 MB, free: 8.031 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007294/0.5173, allocations: 433.6 kB / 499 MB, free: 7.773 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009478/0.5182, allocations: 0.5894 MB / 499.6 MB, free: 7.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.5183, allocations: 3.906 kB / 499.6 MB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.7e-05/0.5183, allocations: 12.92 kB / 499.6 MB, free: 7.305 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-05/0.5184, allocations: 19.95 kB / 499.7 MB, free: 7.285 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003345/0.5217, allocations: 2.423 MB / 0.4903 GB, free: 5.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007074/0.5225, allocations: 491.1 kB / 0.4908 GB, free: 4.996 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004957/0.523, allocations: 324.4 kB / 0.4911 GB, free: 4.781 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.586e-05/0.523, allocations: 11.98 kB / 0.4911 GB, free: 4.773 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005452/0.5236, allocations: 373.6 kB / 0.4915 GB, free: 4.469 MB / 362.7 MB Notification: Performance of pre-optimization done (n=68): time 2.515e-06/0.5236, allocations: 0 / 0.4915 GB, free: 4.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=68): time 0.0008896/0.5245, allocations: 0.5138 MB / 0.492 GB, free: 4.082 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.024e-05/0.5246, allocations: 165.2 kB / 0.4921 GB, free: 3.887 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003725/0.525, allocations: 365.3 kB / 0.4925 GB, free: 3.605 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/0.525, allocations: 29.08 kB / 0.4925 GB, free: 3.574 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.5252, allocations: 320.9 kB / 0.4928 GB, free: 3.332 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.5254, allocations: 200.5 kB / 0.493 GB, free: 3.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.5254, allocations: 0 / 0.493 GB, free: 3.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5256, allocations: 374.7 kB / 0.4934 GB, free: 2.809 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.5258, allocations: 160.2 kB / 0.4935 GB, free: 2.719 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/0.5262, allocations: 354.2 kB / 0.4938 GB, free: 2.387 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.5265, allocations: 188.1 kB / 0.494 GB, free: 2.266 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.371e-06/0.5265, allocations: 4 kB / 0.494 GB, free: 2.262 MB / 362.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0009192/0.5274, allocations: 0.6121 MB / 0.4946 GB, free: 1.793 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006271/0.5281, allocations: 1.864 MB / 0.4964 GB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.5281, allocations: 4 kB / 0.4964 GB, free: 15.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004002/0.5285, allocations: 128.1 kB / 0.4966 GB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004908/0.529, allocations: 134.8 kB / 0.4967 GB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.5312, allocations: 2.075 MB / 0.4987 GB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005537/0.5318, allocations: 71.59 kB / 0.4988 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.5319, allocations: 27.69 kB / 0.4988 GB, free: 13.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.5319, allocations: 5.562 kB / 0.4988 GB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008375/0.5327, allocations: 0.5363 MB / 0.4993 GB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.5327, allocations: 8 kB / 0.4994 GB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003269/0.5331, allocations: 123.4 kB / 0.4995 GB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004371/0.5335, allocations: 131.5 kB / 0.4996 GB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/0.5355, allocations: 2.072 MB / 0.5016 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004832/0.536, allocations: 59.47 kB / 0.5017 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.5361, allocations: 31.94 kB / 0.5017 GB, free: 11.08 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.0002045/0.5363, allocations: 139.9 kB / 0.5018 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007921/0.5371, allocations: 0.5109 MB / 0.5023 GB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-05/0.5372, allocations: 59.47 kB / 0.5024 GB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.5374, allocations: 65.78 kB / 0.5025 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.5374, allocations: 11.95 kB / 0.5025 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.5374, allocations: 0 / 0.5025 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.5374, allocations: 3.984 kB / 0.5025 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.5392, allocations: 1.288 MB / 0.5037 GB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.5392, allocations: 4 kB / 0.5037 GB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004467/0.5397, allocations: 91.89 kB / 0.5038 GB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003262/0.54, allocations: 124.7 kB / 0.5039 GB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.733e-05/0.5401, allocations: 5.5 kB / 0.504 GB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002002/0.5421, allocations: 2.023 MB / 0.5059 GB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.5421, allocations: 0 / 0.5059 GB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.5433, allocations: 0.8711 MB / 0.5068 GB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002353/0.5436, allocations: 184.2 kB / 0.507 GB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.621e-05/0.5437, allocations: 7.984 kB / 0.507 GB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003961/0.5441, allocations: 43.97 kB / 0.507 GB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.5442, allocations: 60.41 kB / 0.5071 GB, free: 5.379 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.923e-05/0.5443, allocations: 27.98 kB / 0.5071 GB, free: 5.352 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003084/0.5446, allocations: 259 kB / 0.5073 GB, free: 5.102 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5446, allocations: 1.969 kB / 0.5073 GB, free: 5.102 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001184/0.5458, allocations: 338.9 kB / 0.5077 GB, free: 4.77 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.001718/0.5475, allocations: 1.449 MB / 0.5091 GB, free: 3.293 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002049/0.5496, allocations: 1.201 MB / 0.5102 GB, free: 2.047 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.5496, allocations: 1.75 kB / 0.5102 GB, free: 2.047 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006197/0.5502, allocations: 422 kB / 0.5107 GB, free: 1.625 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005953/0.5509, allocations: 79.38 kB / 0.5107 GB, free: 1.555 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.5535, allocations: 1.18 MB / 0.5119 GB, free: 336 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005456/0.5541, allocations: 0.9503 MB / 0.5128 GB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003917/0.5545, allocations: 92.7 kB / 0.5129 GB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/0.5548, allocations: 243.4 kB / 0.5131 GB, free: 15.03 MB / 394.7 MB Notification: Performance of SimCode: time 4.91e-07/0.5548, allocations: 4 kB / 0.5131 GB, free: 15.02 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03893/0.5937, allocations: 14.32 MB / 0.5271 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000208/0.594, allocations: 197.5 kB / 0.5273 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.407/3.001, allocations: 0 / 0.5273 GB, free: 0.6992 MB / 394.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)