Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepDown.vDC1|chopperStepDown.iDC1|chopperStepDown.vDC2|chopperStepDown.iDC2",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 115.8 kB / 17.75 MB, free: 5.414 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.001393/0.001393, allocations: 177.9 kB / 18.67 MB, free: 4.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/1.854e-05, allocations: 5.656 kB / 352 MB, free: 3.262 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL): time 0.004512/0.004538, allocations: 4.001 MB / 356 MB, free: 15.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.0061, allocations: 1.02 MB / 357 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.006305, allocations: 11.94 kB / 357 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.006549, allocations: 99.02 kB / 357.1 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.006788, allocations: 154.6 kB / 357.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004719/0.007282, allocations: 231.6 kB / 357.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006855/0.007977, allocations: 0.7751 MB / 358.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003568/0.008341, allocations: 276.6 kB / 358.5 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002275/0.008577, allocations: 263 kB / 358.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.008852, allocations: 282.6 kB / 359.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.656e-05/0.008945, allocations: 64 kB / 359.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.413e-05/0.009036, allocations: 64 kB / 359.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000596/0.009637, allocations: 0.954 MB / 360.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003068/0.00995, allocations: 0.5888 MB / 360.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.57e-05/0.01005, allocations: 103.7 kB / 360.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.333e-05/0.01014, allocations: 31.8 kB / 360.9 MB, free: 10.31 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 (122) * Number of variables: 122 (122) Notification: Performance of Bindings: time 0.002161/0.01231, allocations: 2.709 MB / 363.6 MB, free: 7.477 MB / 302.1 MB Notification: Performance of FunctionAlias: time 8.254e-05/0.0124, allocations: 103.9 kB / 363.7 MB, free: 7.375 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001163/0.01357, allocations: 1.397 MB / 365.1 MB, free: 5.945 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001096/0.01368, allocations: 119.8 kB / 365.2 MB, free: 5.828 MB / 302.1 MB Notification: Performance of Alias: time 0.002755/0.01644, allocations: 2.823 MB / 368 MB, free: 2.738 MB / 302.1 MB Notification: Performance of simplify2: time 6.78e-05/0.01652, allocations: 79.88 kB / 368.1 MB, free: 2.66 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003934/0.01692, allocations: 386.5 kB / 368.5 MB, free: 2.27 MB / 302.1 MB Notification: Performance of Events: time 0.0003115/0.01724, allocations: 262.8 kB / 368.7 MB, free: 2.016 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0004065/0.01766, allocations: 438.3 kB / 369.1 MB, free: 1.535 MB / 302.1 MB Notification: Performance of Causalize: time 0.1889/0.2066, allocations: 1.625 MB / 370.8 MB, free: 18.39 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001227/0.2079, allocations: 1.003 MB / 371.8 MB, free: 18.33 MB / 302.1 MB Notification: Performance of Inline: time 0.00185/0.2098, allocations: 1.812 MB / 373.6 MB, free: 18.18 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001212/0.2099, allocations: 115.2 kB / 373.7 MB, free: 18.16 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0001979/0.2101, allocations: 221 kB / 373.9 MB, free: 18.14 MB / 302.1 MB Notification: Performance of Causalize: time 0.009883/0.22, allocations: 9.097 MB / 383 MB, free: 15.68 MB / 302.1 MB Notification: Performance of Tearing: time 0.001257/0.2213, allocations: 1.27 MB / 384.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of Initialization: time 1.834e-06/0.2213, allocations: 0.9688 kB / 384.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of Tearing: time 0.0005958/0.2219, allocations: 0.6249 MB / 384.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of Categorize: time 2.514e-05/0.2219, allocations: 6.172 kB / 384.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of Solve: time 0.0007704/0.2227, allocations: 347.5 kB / 385.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0006063/0.2233, allocations: 0.7143 MB / 386 MB, free: 14.03 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 6 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 5 (5) {meanCurrent.x, meanVoltage.x, inductor.i, capacitor.v, loadInductor.i} * Number of discrete states: .................... 6 (6) {meanVoltage.y, meanCurrent.y, signalPWM.sawtooth.T_start, signalPWM.sawtooth.count, signalPWM.zeroOrderHold.firstTrigger, signalPWM.zeroOrderHold.ySample} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 26 (26) {chopperStepDown.enableLogic.booleanReplicator.y, chopperStepDown.enableLogic.internalEnable, chopperStepDown.andCondition_p.u1, chopperStepDown.andCondition_p.u2, chopperStepDown.andCondition_p.y, chopperStepDown.transistor.off, chopperStepDown.diode.off, signalPWM.zeroOrderHold.sampleTrigger, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 53 (scalar:51, array:2, record:0) * Number of multi strong components: ............ 6 (algorithm:0, when:6, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 107 (scalar:105, array:2, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 107 (scalar:105, array:2, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 7.552e-05/0.2234, allocations: 61.19 kB / 386 MB, free: 14.01 MB / 302.1 MB Notification: Performance of SimCode: time 0.00217/0.2256, allocations: 2.723 MB / 388.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of Templates: time 0.008595/0.2342, allocations: 5.4 MB / 394.2 MB, free: 10.54 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_RL.pipe 2>&1)