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.0009524/0.0009525, allocations: 196.2 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 226.6 MB / 244.3 MB, free: 8.285 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008106/0.0008105, allocations: 93.72 kB / 296.4 MB, free: 7.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002235/0.0002236, allocations: 4 kB / 356.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1994, allocations: 51.3 MB / 407.5 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperBuckBoost.ChopperBuckBoost_DutyCycle): time 0.003437/0.2029, allocations: 4.478 MB / 412 MB, free: 23.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.2046, allocations: 1.278 MB / 413.3 MB, free: 22.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002627/0.2049, allocations: 15.94 kB / 413.3 MB, free: 22.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.2051, allocations: 99.17 kB / 413.4 MB, free: 21.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.2054, allocations: 169.6 kB / 413.6 MB, free: 21.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004933/0.2059, allocations: 215.7 kB / 413.8 MB, free: 21.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005348/0.2064, allocations: 0.9076 MB / 414.7 MB, free: 20.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003249/0.2067, allocations: 263.5 kB / 414.9 MB, free: 20.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001937/0.2069, allocations: 286.8 kB / 415.2 MB, free: 20.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.2072, allocations: 334.3 kB / 415.5 MB, free: 19.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.223e-05/0.2073, allocations: 40 kB / 415.6 MB, free: 19.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.818e-05/0.2074, allocations: 40 kB / 415.6 MB, free: 19.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.324e-05/0.2075, allocations: 139.4 kB / 415.7 MB, free: 19.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.2076, allocations: 169.3 kB / 415.9 MB, free: 19.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004011/0.208, allocations: 0.7401 MB / 416.7 MB, free: 18.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.208, allocations: 3.938 kB / 416.7 MB, free: 18.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.208, allocations: 0 / 416.7 MB, free: 18.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.208, allocations: 0 / 416.7 MB, free: 18.65 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.00142/0.2095, allocations: 1.028 MB / 417.7 MB, free: 17.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.2095, allocations: 8.031 kB / 417.7 MB, free: 17.56 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.2096, allocations: 90.97 kB / 417.8 MB, free: 17.47 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005166/0.2101, allocations: 494.4 kB / 418.3 MB, free: 16.94 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.478e-05/0.2102, allocations: 65.95 kB / 418.3 MB, free: 16.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.889e-05/0.2103, allocations: 75.91 kB / 418.4 MB, free: 16.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009815/0.2113, allocations: 0.7317 MB / 419.1 MB, free: 16.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.2113, allocations: 7.875 kB / 419.1 MB, free: 16.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.617e-05/0.2114, allocations: 28 kB / 419.2 MB, free: 16.01 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.2114, allocations: 16 kB / 419.2 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008298/0.2122, allocations: 0.527 MB / 419.7 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002602/0.2148, allocations: 2.558 MB / 422.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008286/0.2157, allocations: 0.5711 MB / 422.8 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005515/0.2162, allocations: 374.4 kB / 423.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.2163, allocations: 4.562 kB / 423.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005742/0.2169, allocations: 427.4 kB / 423.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=68): time 2.054e-06/0.2169, allocations: 0 / 423.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=68): time 0.002185/0.2191, allocations: 1.066 MB / 424.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.2191, allocations: 170.8 kB / 424.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/0.2195, allocations: 490 kB / 425.3 MB, free: 9.629 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.379e-05/0.2196, allocations: 45.69 kB / 425.4 MB, free: 9.578 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.2197, allocations: 320.4 kB / 425.7 MB, free: 9.262 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.2198, allocations: 205.1 kB / 425.9 MB, free: 9.059 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.2199, allocations: 16 kB / 425.9 MB, free: 9.043 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.829e-05/0.2199, allocations: 370.8 kB / 426.3 MB, free: 8.672 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003707/0.2203, allocations: 209.9 kB / 426.5 MB, free: 8.465 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004103/0.2207, allocations: 400.8 kB / 426.9 MB, free: 7.996 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003978/0.2212, allocations: 271.7 kB / 427.1 MB, free: 7.723 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.2212, allocations: 15.89 kB / 427.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001085/0.2223, allocations: 0.7778 MB / 427.9 MB, free: 6.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.526e-05/0.2224, allocations: 271.4 kB / 428.2 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.2224, allocations: 4 kB / 428.2 MB, free: 6.566 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004015/0.2228, allocations: 140.1 kB / 428.3 MB, free: 6.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004344/0.2232, allocations: 135.8 kB / 428.5 MB, free: 6.297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.2253, allocations: 2.144 MB / 430.6 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004627/0.2258, allocations: 91.39 kB / 430.7 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.864e-05/0.2258, allocations: 28.09 kB / 430.7 MB, free: 3.906 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.023e-06/0.2258, allocations: 4 kB / 430.7 MB, free: 3.902 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009235/0.2268, allocations: 0.6869 MB / 431.4 MB, free: 3.207 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2268, allocations: 12.5 kB / 431.4 MB, free: 3.195 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000306/0.2271, allocations: 132.8 kB / 431.6 MB, free: 3.062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003818/0.2275, allocations: 127.8 kB / 431.7 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/0.2292, allocations: 2.154 MB / 433.8 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004173/0.2297, allocations: 75.42 kB / 433.9 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.2297, allocations: 28 kB / 433.9 MB, free: 0.5469 MB / 298.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.0003035/0.23, allocations: 307.6 kB / 434.2 MB, free: 244 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.408e-05/0.2301, allocations: 67.2 kB / 434.3 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.2302, allocations: 73.83 kB / 434.4 MB, free: 96 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2302, allocations: 4 kB / 434.4 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2302, allocations: 0 / 434.4 MB, free: 92 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.2302, allocations: 11.92 kB / 434.4 MB, free: 80 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/0.2324, allocations: 1.491 MB / 435.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.2324, allocations: 0 / 435.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004267/0.2328, allocations: 103.9 kB / 436 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003447/0.2332, allocations: 120.8 kB / 436.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/0.2332, allocations: 12 kB / 436.1 MB, free: 14.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002182/0.2354, allocations: 2.09 MB / 438.2 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.2355, allocations: 3.953 kB / 438.2 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.2371, allocations: 1.015 MB / 439.2 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002276/0.2373, allocations: 196.1 kB / 439.4 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.731e-05/0.2374, allocations: 16 kB / 439.4 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/0.2378, allocations: 47.97 kB / 439.5 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.2379, allocations: 64.42 kB / 439.5 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-05/0.238, allocations: 16 kB / 439.6 MB, free: 10.67 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003722/0.2384, allocations: 330.9 kB / 439.9 MB, free: 10.35 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2384, allocations: 4 kB / 439.9 MB, free: 10.35 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009823/0.2394, allocations: 371 kB / 440.2 MB, free: 9.984 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.0001675/0.2395, allocations: 140 kB / 440.4 MB, free: 9.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002074/0.2416, allocations: 1.352 MB / 441.7 MB, free: 8.438 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.2416, allocations: 8.062 kB / 441.7 MB, free: 8.43 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006772/0.2423, allocations: 461.7 kB / 442.2 MB, free: 7.969 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006369/0.243, allocations: 126.5 kB / 442.3 MB, free: 7.848 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.2455, allocations: 1.803 MB / 444.1 MB, free: 6.016 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.2459, allocations: 0.9394 MB / 445.1 MB, free: 5.051 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.2461, allocations: 51.44 kB / 445.1 MB, free: 5 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.2461, allocations: 4 kB / 445.1 MB, free: 4.996 MB / 314.7 MB Notification: Performance of Templates: time 0.01298/0.2591, allocations: 11.34 MB / 456.5 MB, free: 9.707 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)