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_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 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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|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_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|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_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 116.6 kB / 17.75 MB, free: 5.203 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.001326/0.001326, allocations: 188.2 kB / 18.69 MB, free: 4.277 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.253/1.253, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.303e-05, allocations: 3.688 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R): time 0.00485/0.004881, allocations: 3.902 MB / 355.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.006725, allocations: 1.001 MB / 356.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002444/0.006984, allocations: 8 kB / 356.9 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.007253, allocations: 95.03 kB / 357 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.007505, allocations: 146.7 kB / 357.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005238/0.008103, allocations: 227.6 kB / 357.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006819/0.008795, allocations: 0.7518 MB / 358.1 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003751/0.009179, allocations: 268.5 kB / 358.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.00942, allocations: 247 kB / 358.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.009689, allocations: 278.7 kB / 358.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.292e-05/0.009778, allocations: 60 kB / 358.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.422e-05/0.00988, allocations: 64 kB / 359 MB, free: 12.2 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000589/0.01048, allocations: 0.9115 MB / 359.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003014/0.01078, allocations: 0.5657 MB / 360.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.01089, allocations: 99.69 kB / 360.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.565e-05/0.011, allocations: 27.81 kB / 360.6 MB, free: 10.57 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: 116 (116) * Number of variables: 116 (116) Notification: Performance of Bindings: time 0.002196/0.0132, allocations: 2.604 MB / 363.2 MB, free: 7.848 MB / 302.1 MB Notification: Performance of FunctionAlias: time 8.701e-05/0.01329, allocations: 95.91 kB / 363.3 MB, free: 7.754 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001162/0.01446, allocations: 1.339 MB / 364.6 MB, free: 6.387 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001286/0.0146, allocations: 111.8 kB / 364.7 MB, free: 6.277 MB / 302.1 MB Notification: Performance of Alias: time 0.002885/0.01749, allocations: 2.686 MB / 367.4 MB, free: 3.332 MB / 302.1 MB Notification: Performance of simplify2: time 6.963e-05/0.01757, allocations: 71.91 kB / 367.5 MB, free: 3.262 MB / 302.1 MB Notification: Performance of Detect States: time 0.0004084/0.01799, allocations: 380.6 kB / 367.9 MB, free: 2.879 MB / 302.1 MB Notification: Performance of Events: time 0.0003212/0.01832, allocations: 265.1 kB / 368.1 MB, free: 2.621 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0004024/0.01873, allocations: 414.4 kB / 368.5 MB, free: 2.164 MB / 302.1 MB Notification: Performance of Causalize: time 0.001681/0.02042, allocations: 1.555 MB / 370.1 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.1676/0.188, allocations: 0.9739 MB / 371.1 MB, free: 18.82 MB / 302.1 MB Notification: Performance of Inline: time 0.001993/0.19, allocations: 1.766 MB / 372.8 MB, free: 18.7 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001322/0.1902, allocations: 111.9 kB / 372.9 MB, free: 18.68 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0002057/0.1904, allocations: 210 kB / 373.1 MB, free: 18.66 MB / 302.1 MB Notification: Performance of Causalize: time 0.01127/0.2017, allocations: 8.829 MB / 382 MB, free: 16.63 MB / 302.1 MB Notification: Performance of Tearing: time 0.001281/0.203, allocations: 1.281 MB / 383.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of Initialization: time 2.314e-06/0.203, allocations: 0 / 383.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of Tearing: time 0.0006002/0.2036, allocations: 0.6242 MB / 383.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of Categorize: time 2.22e-05/0.2036, allocations: 3.406 kB / 383.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of Solve: time 0.0007166/0.2044, allocations: 333.2 kB / 384.2 MB, free: 15.4 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0006294/0.205, allocations: 0.6846 MB / 384.9 MB, free: 14.99 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: ............................. 4 (4) {meanCurrent.x, meanVoltage.x, inductor.i, capacitor.v} * 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: ........... 51 (scalar:49, 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: ........... 103 (scalar:101, 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: ........... 103 (scalar:101, 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.212e-05/0.2051, allocations: 65.38 kB / 385 MB, free: 14.97 MB / 302.1 MB Notification: Performance of SimCode: time 0.002222/0.2073, allocations: 2.629 MB / 387.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of Templates: time 0.009204/0.2165, allocations: 5.283 MB / 392.9 MB, free: 11.89 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe 2>&1)