Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_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 trunk/package.mo", uses=false) 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) 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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00105/0.00105, allocations: 112.9 kB / 18.47 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001704/0.001704, allocations: 217.1 kB / 19.43 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.261/1.261, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.356e-05, allocations: 2.281 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R): time 0.005358/0.005391, allocations: 4.156 MB / 363.5 MB, free: 8.746 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002424/0.007847, allocations: 1.13 MB / 364.7 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005432/0.008409, allocations: 11.94 kB / 364.7 MB, free: 7.602 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004177/0.008837, allocations: 99.02 kB / 364.8 MB, free: 7.504 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004917/0.00934, allocations: 142.7 kB / 364.9 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007748/0.01017, allocations: 231.6 kB / 365.2 MB, free: 7.137 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001056/0.01124, allocations: 0.7983 MB / 366 MB, free: 6.336 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004764/0.01172, allocations: 268.6 kB / 366.2 MB, free: 6.062 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000384/0.01212, allocations: 251.1 kB / 366.5 MB, free: 5.816 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003854/0.01251, allocations: 282.6 kB / 366.7 MB, free: 5.539 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.01265, allocations: 60 kB / 366.8 MB, free: 5.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.01279, allocations: 64 kB / 366.9 MB, free: 5.418 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0007301/0.01352, allocations: 0.9345 MB / 367.8 MB, free: 4.473 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003967/0.01393, allocations: 0.5734 MB / 368.4 MB, free: 3.891 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.01413, allocations: 103.7 kB / 368.5 MB, free: 3.789 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001348/0.01428, allocations: 23.88 kB / 368.5 MB, free: 3.766 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.00282/0.0171, allocations: 2.623 MB / 371.1 MB, free: 1.023 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001879/0.0173, allocations: 115.8 kB / 371.2 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of Early Inline: time 0.156/0.1734, allocations: 1.333 MB / 372.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002618/0.1737, allocations: 116.4 kB / 372.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of Alias: time 0.003168/0.1768, allocations: 2.693 MB / 375.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of simplify2: time 8.698e-05/0.1769, allocations: 71.92 kB / 375.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003369/0.1773, allocations: 385.1 kB / 375.8 MB, free: 12.76 MB / 302.1 MB Notification: Performance of Events: time 0.0002736/0.1776, allocations: 265.8 kB / 376.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0003512/0.1779, allocations: 427.5 kB / 376.5 MB, free: 12.55 MB / 302.1 MB Notification: Performance of Causalize: time 0.001484/0.1794, allocations: 1.545 MB / 378 MB, free: 12.12 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0007764/0.1802, allocations: 1.002 MB / 379 MB, free: 11.87 MB / 302.1 MB Notification: Performance of Inline: time 0.001506/0.1817, allocations: 1.785 MB / 380.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001158/0.1818, allocations: 110.7 kB / 380.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0001764/0.182, allocations: 217.3 kB / 381.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of Causalize: time 0.009382/0.1914, allocations: 8.858 MB / 390 MB, free: 7.523 MB / 302.1 MB Notification: Performance of Tearing: time 0.001122/0.1926, allocations: 1.277 MB / 391.3 MB, free: 6.766 MB / 302.1 MB Notification: Performance of Initialization: time 1.282e-06/0.1926, allocations: 0 / 391.3 MB, free: 6.766 MB / 302.1 MB Notification: Performance of Tearing: time 0.0006305/0.1932, allocations: 0.6215 MB / 391.9 MB, free: 6.395 MB / 302.1 MB Notification: Performance of Categorize: time 2.2e-05/0.1932, allocations: 3.594 kB / 391.9 MB, free: 6.395 MB / 302.1 MB Notification: Performance of Solve: time 0.000692/0.1939, allocations: 329.3 kB / 392.2 MB, free: 6.297 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0005464/0.1945, allocations: 0.6982 MB / 392.9 MB, free: 5.879 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 0.0001496/0.1946, allocations: 71.7 kB / 393 MB, free: 5.859 MB / 302.1 MB Notification: Performance of SimCode: time 0.002283/0.1969, allocations: 2.655 MB / 395.6 MB, free: 4.355 MB / 302.1 MB Notification: Performance of Templates: time 0.007804/0.2047, allocations: 5.338 MB / 401 MB, free: 15.95 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.ChopperStepDown.ChopperStepDown_R.pipe 2>&1)