Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009632/0.0009632, allocations: 196.3 kB / 17.38 MB, free: 4.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 226.6 MB / 244.7 MB, free: 8.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007543/0.0007543, allocations: 96.28 kB / 296.8 MB, free: 6.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003548, allocations: 8 kB / 356.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2161, allocations: 51.31 MB / 408.1 MB, free: 27.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle): time 0.003545/0.2197, allocations: 4.478 MB / 412.6 MB, free: 23.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.2217, allocations: 1.275 MB / 413.8 MB, free: 21.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002983/0.222, allocations: 23.41 kB / 413.9 MB, free: 21.94 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.2222, allocations: 99.17 kB / 413.9 MB, free: 21.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.2225, allocations: 170.5 kB / 414.1 MB, free: 21.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000497/0.223, allocations: 203.7 kB / 414.3 MB, free: 21.47 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005892/0.2236, allocations: 0.9153 MB / 415.2 MB, free: 20.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003981/0.224, allocations: 298.2 kB / 415.5 MB, free: 20.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002193/0.2242, allocations: 290.8 kB / 415.8 MB, free: 19.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.2245, allocations: 334.3 kB / 416.1 MB, free: 19.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.229e-05/0.2246, allocations: 40 kB / 416.2 MB, free: 19.6 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.835e-05/0.2247, allocations: 36 kB / 416.2 MB, free: 19.56 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.2248, allocations: 139.4 kB / 416.3 MB, free: 19.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002615/0.2251, allocations: 387.8 kB / 416.7 MB, free: 19.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004113/0.2255, allocations: 0.7401 MB / 417.5 MB, free: 18.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2255, allocations: 7.875 kB / 417.5 MB, free: 18.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2255, allocations: 0 / 417.5 MB, free: 18.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.2255, allocations: 0 / 417.5 MB, free: 18.29 MB / 298.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.001392/0.2269, allocations: 1.02 MB / 418.5 MB, free: 17.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.2269, allocations: 8.031 kB / 418.5 MB, free: 17.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.2271, allocations: 91.91 kB / 418.6 MB, free: 17.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005475/0.2276, allocations: 0.4994 MB / 419.1 MB, free: 16.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.224e-05/0.2277, allocations: 58.55 kB / 419.1 MB, free: 16.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.468e-05/0.2278, allocations: 76.38 kB / 419.2 MB, free: 16.44 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009855/0.2288, allocations: 0.7395 MB / 420 MB, free: 15.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.2288, allocations: 7.938 kB / 420 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.852e-05/0.2289, allocations: 28 kB / 420 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.2289, allocations: 16 kB / 420 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008449/0.2298, allocations: 0.5231 MB / 420.5 MB, free: 15.1 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002701/0.2325, allocations: 2.558 MB / 423.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000878/0.2334, allocations: 0.5712 MB / 423.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005595/0.2339, allocations: 378.4 kB / 424 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.026e-05/0.234, allocations: 4.562 kB / 424 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006013/0.2346, allocations: 419.5 kB / 424.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=68): time 2.174e-06/0.2346, allocations: 0 / 424.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=68): time 0.002224/0.2368, allocations: 1.078 MB / 425.5 MB, free: 9.945 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.2369, allocations: 174.8 kB / 425.7 MB, free: 9.738 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003978/0.2373, allocations: 490 kB / 426.2 MB, free: 9.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.027e-05/0.2373, allocations: 41.7 kB / 426.2 MB, free: 9.203 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.2375, allocations: 324.3 kB / 426.5 MB, free: 8.883 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.2376, allocations: 209.1 kB / 426.7 MB, free: 8.676 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.2376, allocations: 16 kB / 426.7 MB, free: 8.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.524e-05/0.2377, allocations: 370.8 kB / 427.1 MB, free: 8.289 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003477/0.2381, allocations: 209.9 kB / 427.3 MB, free: 8.082 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.2385, allocations: 404.7 kB / 427.7 MB, free: 7.605 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007243/0.2392, allocations: 0.6123 MB / 428.3 MB, free: 6.918 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.2392, allocations: 7.938 kB / 428.3 MB, free: 6.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001082/0.2403, allocations: 0.7821 MB / 429.1 MB, free: 6.109 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.951e-05/0.2404, allocations: 263 kB / 429.4 MB, free: 5.777 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.2404, allocations: 4 kB / 429.4 MB, free: 5.773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003789/0.2408, allocations: 144.7 kB / 429.5 MB, free: 5.629 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000424/0.2412, allocations: 123.8 kB / 429.6 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/0.2431, allocations: 2.157 MB / 431.8 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004095/0.2435, allocations: 87.3 kB / 431.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/0.2436, allocations: 31.98 kB / 431.9 MB, free: 3.102 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.17e-06/0.2436, allocations: 4 kB / 431.9 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009509/0.2445, allocations: 0.6835 MB / 432.6 MB, free: 2.402 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2445, allocations: 11.88 kB / 432.6 MB, free: 2.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003049/0.2449, allocations: 139.8 kB / 432.7 MB, free: 2.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003963/0.2453, allocations: 119.8 kB / 432.9 MB, free: 2.137 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.2471, allocations: 2.145 MB / 435 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003973/0.2475, allocations: 79.47 kB / 435.1 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/0.2476, allocations: 35.98 kB / 435.1 MB, free: 15.75 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.transistorLS.off,dcdc.diodeLS.off,dcdc.transistorHS.off,dcdc.diodeHS.off,pwm.notFire,$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 (77): * Single equations (assignments): 75 * 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.0003158/0.2479, allocations: 295.5 kB / 435.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.355e-05/0.248, allocations: 63.25 kB / 435.5 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.2481, allocations: 73.77 kB / 435.5 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.2481, allocations: 8 kB / 435.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2482, allocations: 0 / 435.5 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.2482, allocations: 11.92 kB / 435.6 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/0.2503, allocations: 1.502 MB / 437.1 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2504, allocations: 0 / 437.1 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004046/0.2508, allocations: 95.88 kB / 437.2 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000328/0.2511, allocations: 124.7 kB / 437.3 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.202e-05/0.2512, allocations: 23.98 kB / 437.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002162/0.2533, allocations: 2.094 MB / 439.4 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2533, allocations: 0 / 439.4 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.2549, allocations: 1.015 MB / 440.4 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.2551, allocations: 188.2 kB / 440.6 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.217e-05/0.2552, allocations: 27.92 kB / 440.6 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.2556, allocations: 39.97 kB / 440.7 MB, free: 9.961 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.2557, allocations: 60.48 kB / 440.7 MB, free: 9.898 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.301e-05/0.2558, allocations: 23.98 kB / 440.7 MB, free: 9.875 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003458/0.2561, allocations: 326.9 kB / 441.1 MB, free: 9.559 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2561, allocations: 0 / 441.1 MB, free: 9.559 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009912/0.2571, allocations: 374.9 kB / 441.4 MB, free: 9.191 MB / 314.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.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.notFire,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 (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.0001582/0.2573, allocations: 137 kB / 441.6 MB, free: 9.047 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001995/0.2593, allocations: 1.355 MB / 442.9 MB, free: 7.645 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2593, allocations: 7.938 kB / 442.9 MB, free: 7.637 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006636/0.26, allocations: 466.8 kB / 443.4 MB, free: 7.168 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000625/0.2606, allocations: 130.3 kB / 443.5 MB, free: 7.043 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.263, allocations: 1.793 MB / 445.3 MB, free: 5.223 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.2635, allocations: 0.9433 MB / 446.2 MB, free: 4.254 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.2636, allocations: 43.44 kB / 446.3 MB, free: 4.211 MB / 314.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2636, allocations: 0 / 446.3 MB, free: 4.211 MB / 314.7 MB Notification: Performance of Templates: time 0.01335/0.277, allocations: 11.35 MB / 457.6 MB, free: 8.918 MB / 330.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.sim & ./Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle --alarm=480 > Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle.pipe 2>&1)