Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor.v|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepUp.vDC1|chopperStepUp.iDC1|chopperStepUp.vDC2|chopperStepUp.iDC2",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor.v|inductor.i|meanCurrent.x|meanVoltage.x|meanCurrent.y|meanVoltage.y|chopperStepUp.vDC1|chopperStepUp.iDC1|chopperStepUp.vDC2|chopperStepUp.iDC2",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00109/0.00109, allocations: 112.5 kB / 19.05 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001089/0.001089, allocations: 210.6 kB / 20.03 MB, free: 2.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.21/1.21, allocations: 230.4 MB / 251.3 MB, free: 8.844 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045e-05/1.045e-05, allocations: 2.281 kB / 368.9 MB, free: 6.543 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R): time 0.004934/0.004945, allocations: 4.186 MB / 373.1 MB, free: 2.328 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.006597, allocations: 1.13 MB / 374.2 MB, free: 1.195 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000177/0.006774, allocations: 11.94 kB / 374.2 MB, free: 1.184 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002347/0.007008, allocations: 103 kB / 374.3 MB, free: 1.082 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002383/0.007247, allocations: 146.7 kB / 374.4 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004918/0.007738, allocations: 235.5 kB / 374.7 MB, free: 0.707 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1211/0.1288, allocations: 0.823 MB / 375.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003724/0.1292, allocations: 171.6 kB / 375.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/0.1295, allocations: 279.3 kB / 375.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.1298, allocations: 281.8 kB / 376.2 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.849e-05/0.1298, allocations: 65.56 kB / 376.3 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.852e-05/0.1299, allocations: 60.5 kB / 376.3 MB, free: 9.996 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004257/0.1304, allocations: 0.932 MB / 377.3 MB, free: 9.492 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001832/0.1305, allocations: 0.5839 MB / 377.9 MB, free: 9.094 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.913e-05/0.1306, allocations: 102.2 kB / 378 MB, free: 9.074 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001207/0.1307, allocations: 30.5 kB / 378 MB, free: 9.066 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.001399/0.1321, allocations: 2.076 MB / 380.1 MB, free: 8.043 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001556/0.1323, allocations: 218.6 kB / 380.3 MB, free: 8.043 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0007329/0.133, allocations: 0.9299 MB / 381.2 MB, free: 7.969 MB / 302.1 MB Notification: Performance of Simplify 1: time 0.0002202/0.1333, allocations: 228.8 kB / 381.4 MB, free: 7.898 MB / 302.1 MB Notification: Performance of Alias: time 0.002118/0.1354, allocations: 2.177 MB / 383.6 MB, free: 6.75 MB / 302.1 MB Notification: Performance of Simplify 2: time 0.0001531/0.1355, allocations: 157.2 kB / 383.8 MB, free: 6.652 MB / 302.1 MB Notification: Performance of Remove Stream: time 0.0001152/0.1356, allocations: 152.8 kB / 383.9 MB, free: 6.535 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003284/0.136, allocations: 329.2 kB / 384.2 MB, free: 6.312 MB / 302.1 MB Notification: Performance of Events: time 0.00025/0.1362, allocations: 223.5 kB / 384.4 MB, free: 6.191 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000359/0.1366, allocations: 431.2 kB / 384.9 MB, free: 5.91 MB / 302.1 MB Notification: Performance of Causalize: time 0.001312/0.1379, allocations: 1.317 MB / 386.2 MB, free: 5.391 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005131/0.1384, allocations: 0.6273 MB / 386.8 MB, free: 5.047 MB / 302.1 MB Notification: Performance of Simplify: time 0.0007293/0.1391, allocations: 0.6732 MB / 387.5 MB, free: 4.652 MB / 302.1 MB Notification: Performance of Inline: time 0.000731/0.1399, allocations: 0.9199 MB / 388.4 MB, free: 4.137 MB / 302.1 MB Notification: Performance of Partitioning: time 6.244e-05/0.1399, allocations: 39.56 kB / 388.4 MB, free: 4.113 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0002421/0.1402, allocations: 375.1 kB / 388.8 MB, free: 3.891 MB / 302.1 MB Notification: Performance of Causalize: time 0.007134/0.1473, allocations: 6.684 MB / 395.5 MB, free: 1.867 MB / 302.1 MB Notification: Performance of Tearing: time 0.0008535/0.1482, allocations: 1.02 MB / 396.5 MB, free: 1.191 MB / 302.1 MB Notification: Performance of Initialization: time 7.71e-07/0.1482, allocations: 0 / 396.5 MB, free: 1.191 MB / 302.1 MB Notification: Performance of Tearing: time 0.0004117/0.1486, allocations: 483.7 kB / 397 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of Categorize: time 1.496e-05/0.1486, allocations: 6.219 kB / 397 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of Solve: time 0.0004599/0.149, allocations: 273.6 kB / 397.3 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0003791/0.1494, allocations: 0.5471 MB / 397.8 MB, free: 360 kB / 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, chopperStepUp.iDC1, 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) {} * Number of discrete variables: ................. 25 (25) {chopperStepUp.enableLogic.internalEnable, chopperStepUp.andCondition_p.u2, chopperStepUp.andCondition_p.y, chopperStepUp.fire_p, chopperStepUp.transistor.off, chopperStepUp.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 clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 50 (scalar:50, array:0, record:0) * Number of multi strong components: ............ 6 (algorithm:0, when:6, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0generic: 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:103, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0generic: 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:103, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 0.0001161/0.1495, allocations: 74.27 kB / 397.9 MB, free: 304 kB / 302.1 MB Notification: Performance of SimCode: time 0.002046/0.1516, allocations: 2.53 MB / 400.4 MB, free: 14.24 MB / 318.1 MB Notification: Performance of Templates: time 0.009291/0.1609, allocations: 5.416 MB / 405.8 MB, free: 9.926 MB / 318.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepUp.ChopperStepUp_R.pipe 2>&1)