Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 87.09 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001255/0.001256, allocations: 176 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.4 MB / 223.7 MB, free: 12.98 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004288/0.0004288, allocations: 14.81 kB / 280.8 MB, free: 3.383 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07776/0.07819, allocations: 47.58 MB / 328.3 MB, free: 3.734 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R): time 0.003753/0.08198, allocations: 3.362 MB / 331.7 MB, free: 360 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.08378, allocations: 0.9786 MB / 332.7 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.084, allocations: 15.94 kB / 332.7 MB, free: 15.35 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.08423, allocations: 59.47 kB / 332.7 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002305/0.08446, allocations: 111.1 kB / 332.9 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004799/0.08495, allocations: 183.7 kB / 333 MB, free: 15 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005682/0.08553, allocations: 0.5835 MB / 333.6 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003756/0.08591, allocations: 214.6 kB / 333.8 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.0861, allocations: 187.1 kB / 334 MB, free: 14.02 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.08635, allocations: 214.8 kB / 334.2 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.132e-05/0.08641, allocations: 24 kB / 334.2 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.617e-05/0.08647, allocations: 24 kB / 334.3 MB, free: 13.76 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.08657, allocations: 91.53 kB / 334.4 MB, free: 13.67 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.0868, allocations: 260.3 kB / 334.6 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004834/0.08728, allocations: 0.5953 MB / 335.2 MB, free: 12.81 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.0873, allocations: 0 / 335.2 MB, free: 12.81 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.0873, allocations: 0 / 335.2 MB, free: 12.81 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.08732, allocations: 4 kB / 335.2 MB, free: 12.8 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001275/0.0886, allocations: 0.7577 MB / 336 MB, free: 12 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.08864, allocations: 8.031 kB / 336 MB, free: 11.99 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.08875, allocations: 56.28 kB / 336 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004931/0.08925, allocations: 388 kB / 336.4 MB, free: 11.51 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.328e-05/0.08933, allocations: 45.5 kB / 336.5 MB, free: 11.46 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.688e-05/0.08942, allocations: 52.36 kB / 336.5 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007833/0.09021, allocations: 480.8 kB / 337 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.09024, allocations: 4 kB / 337 MB, free: 10.92 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.516e-05/0.09029, allocations: 23.94 kB / 337 MB, free: 10.9 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.09031, allocations: 8 kB / 337 MB, free: 10.89 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006374/0.09095, allocations: 331.8 kB / 337.3 MB, free: 10.57 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002278/0.09324, allocations: 1.714 MB / 339 MB, free: 8.758 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007379/0.09399, allocations: 342.9 kB / 339.4 MB, free: 8.414 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00046/0.09446, allocations: 220.7 kB / 339.6 MB, free: 8.195 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.0945, allocations: 8 kB / 339.6 MB, free: 8.188 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005148/0.09503, allocations: 271.8 kB / 339.9 MB, free: 7.902 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 1.913e-06/0.09504, allocations: 0 / 339.9 MB, free: 7.902 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.001533/0.09658, allocations: 0.6481 MB / 340.5 MB, free: 7.227 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.09665, allocations: 110.8 kB / 340.6 MB, free: 7.094 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003753/0.09703, allocations: 357.6 kB / 341 MB, free: 6.73 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.09708, allocations: 41.64 kB / 341 MB, free: 6.684 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/0.0973, allocations: 232.3 kB / 341.2 MB, free: 6.449 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.09741, allocations: 126.3 kB / 341.4 MB, free: 6.324 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.546e-05/0.09748, allocations: 45.7 kB / 341.4 MB, free: 6.273 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.09765, allocations: 362.7 kB / 341.8 MB, free: 5.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.09793, allocations: 125.1 kB / 341.9 MB, free: 5.789 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/0.09829, allocations: 257 kB / 342.1 MB, free: 5.484 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000625/0.09893, allocations: 414.8 kB / 342.5 MB, free: 5.023 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.09894, allocations: 0 / 342.5 MB, free: 5.023 MB / 286.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008914/0.09984, allocations: 0.5066 MB / 343.1 MB, free: 4.5 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001533/0.1, allocations: 220 kB / 343.3 MB, free: 4.227 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.1, allocations: 7.938 kB / 343.3 MB, free: 4.219 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002881/0.1003, allocations: 84.67 kB / 343.4 MB, free: 4.133 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002985/0.1006, allocations: 83.89 kB / 343.4 MB, free: 4.051 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/0.1024, allocations: 1.69 MB / 345.1 MB, free: 2.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/0.1027, allocations: 63.59 kB / 345.2 MB, free: 2.168 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.1027, allocations: 16 kB / 345.2 MB, free: 2.152 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.932e-06/0.1027, allocations: 8.062 kB / 345.2 MB, free: 2.145 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000681/0.1034, allocations: 437.9 kB / 345.6 MB, free: 1.707 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1034, allocations: 11.97 kB / 345.7 MB, free: 1.695 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/0.1036, allocations: 72.75 kB / 345.7 MB, free: 1.621 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.1039, allocations: 71.91 kB / 345.8 MB, free: 1.551 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.1053, allocations: 1.687 MB / 347.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002706/0.1056, allocations: 55.52 kB / 347.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.1057, allocations: 24.06 kB / 347.6 MB, free: 15.65 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 21 (signalPWM.zeroOrderHold.firstTrigger,$PRE.signalPWM.zeroOrderHold.firstTrigger,meanCurrent.y,$PRE.meanCurrent.y,meanVoltage.y,$PRE.meanVoltage.y,$whenCondition2,$whenCondition1,signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.count,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.T_start,$PRE.signalPWM.zeroOrderHold.ySample,signalPWM.notFire,chopperStepUp.diode.off,chopperStepUp.transistor.off,chopperStepUp.andCondition_p.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002369/0.1059, allocations: 259.2 kB / 347.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.47e-05/0.106, allocations: 39.53 kB / 347.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.451e-05/0.1061, allocations: 48.12 kB / 347.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.1061, allocations: 8 kB / 347.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1061, allocations: 3.938 kB / 347.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1061, allocations: 0 / 347.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.1075, allocations: 0.9842 MB / 348.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.1075, allocations: 3.938 kB / 348.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.1078, allocations: 56.03 kB / 349 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001873/0.108, allocations: 76.73 kB / 349 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.108, allocations: 8 kB / 349 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001419/0.1094, allocations: 1.695 MB / 350.7 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1095, allocations: 8 kB / 350.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.1105, allocations: 0.6548 MB / 351.4 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001408/0.1106, allocations: 144.6 kB / 351.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.4e-05/0.1107, allocations: 15.98 kB / 351.5 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/0.111, allocations: 31.98 kB / 351.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.888e-05/0.1111, allocations: 39.58 kB / 351.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.1111, allocations: 19.98 kB / 351.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002421/0.1114, allocations: 247.2 kB / 351.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1114, allocations: 0 / 351.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007496/0.1121, allocations: 227.3 kB / 352.1 MB, free: 10.84 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanCurrent.x,meanVoltage.x,inductorSource.i,capacitor.v) * Number of discrete variables: 15 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chopperStepUp.andCondition_p.y,chopperStepUp.transistor.off,chopperStepUp.diode.off,signalPWM.notFire,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,meanCurrent.y,meanVoltage.y) * Number of discrete states: 4 (signalPWM.sawtooth.count,meanCurrent.x,meanVoltage.x,signalPWM.zeroOrderHold.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001347/0.1123, allocations: 126.7 kB / 352.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.1136, allocations: 0.9073 MB / 353.1 MB, free: 9.758 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1136, allocations: 0 / 353.1 MB, free: 9.758 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000446/0.1141, allocations: 318.5 kB / 353.4 MB, free: 9.434 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/0.1146, allocations: 77.45 kB / 353.5 MB, free: 9.359 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.1163, allocations: 1.207 MB / 354.7 MB, free: 8.121 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.1167, allocations: 0.8276 MB / 355.6 MB, free: 7.266 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001961/0.1169, allocations: 51.33 kB / 355.6 MB, free: 7.211 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.091e-05/0.117, allocations: 31.44 kB / 355.6 MB, free: 7.18 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.117, allocations: 3.938 kB / 355.6 MB, free: 7.176 MB / 302.1 MB Notification: Performance of Templates: time 0.01078/0.1278, allocations: 6.283 MB / 361.9 MB, free: 0.8984 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe 2>&1)