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.HBridge.HBridge_TrianglePWM_RL.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.HBridge.HBridge_TrianglePWM_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001337/0.001337, allocations: 111.3 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.001335/0.001335, allocations: 211.7 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.217/1.217, allocations: 230.4 MB / 251.3 MB, free: 8.879 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.658e-06/9.658e-06, allocations: 2.281 kB / 368.9 MB, free: 6.578 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL): time 0.006674/0.006684, allocations: 6.215 MB / 375.1 MB, free: 344 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.124/0.1307, allocations: 1.703 MB / 376.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004447/0.1311, allocations: 25.56 kB / 376.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.1315, allocations: 204.6 kB / 377 MB, free: 9.914 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003926/0.1319, allocations: 302.5 kB / 377.3 MB, free: 9.832 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005886/0.1324, allocations: 455.8 kB / 377.7 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.1336, allocations: 1.707 MB / 379.5 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004465/0.134, allocations: 352 kB / 379.8 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004152/0.1344, allocations: 0.5345 MB / 380.3 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004483/0.1349, allocations: 0.5523 MB / 380.9 MB, free: 8.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.135, allocations: 152.7 kB / 381 MB, free: 8.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.1352, allocations: 151.4 kB / 381.2 MB, free: 8.52 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0007693/0.1359, allocations: 1.85 MB / 383 MB, free: 7.281 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003393/0.1363, allocations: 1.126 MB / 384.2 MB, free: 6.492 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.1364, allocations: 217.3 kB / 384.4 MB, free: 6.371 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001317/0.1366, allocations: 63 kB / 384.4 MB, free: 6.352 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: 233 (233) * Number of variables: 233 (233) Notification: Performance of Bindings: time 0.002449/0.139, allocations: 3.883 MB / 388.3 MB, free: 3.832 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0003025/0.1393, allocations: 497.9 kB / 388.8 MB, free: 3.492 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001518/0.1408, allocations: 1.95 MB / 390.8 MB, free: 2.211 MB / 302.1 MB Notification: Performance of Simplify 1: time 0.0003936/0.1412, allocations: 375.5 kB / 391.1 MB, free: 2.008 MB / 302.1 MB Notification: Performance of Alias: time 0.00476/0.146, allocations: 4.428 MB / 395.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of Simplify 2: time 0.0002878/0.1463, allocations: 250.5 kB / 395.8 MB, free: 15.57 MB / 318.1 MB Notification: Performance of Remove Stream: time 0.0002478/0.1465, allocations: 244.2 kB / 396 MB, free: 15.4 MB / 318.1 MB Notification: Performance of Detect States: time 0.0005862/0.1471, allocations: 0.5416 MB / 396.6 MB, free: 15.02 MB / 318.1 MB Notification: Performance of Events: time 0.0004615/0.1476, allocations: 399.7 kB / 397 MB, free: 14.77 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0008248/0.1484, allocations: 0.8428 MB / 397.8 MB, free: 14.23 MB / 318.1 MB Notification: Performance of Causalize: time 0.003297/0.1517, allocations: 2.967 MB / 400.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.001217/0.1529, allocations: 1.287 MB / 402.1 MB, free: 11.95 MB / 318.1 MB Notification: Performance of Simplify: time 0.001701/0.1546, allocations: 1.338 MB / 403.4 MB, free: 11 MB / 318.1 MB Notification: Performance of Inline: time 0.001828/0.1564, allocations: 1.997 MB / 405.4 MB, free: 9.406 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001295/0.1566, allocations: 77.5 kB / 405.5 MB, free: 9.355 MB / 318.1 MB Notification: Performance of Cleanup: time 0.0005918/0.1572, allocations: 0.7934 MB / 406.3 MB, free: 8.672 MB / 318.1 MB Notification: Performance of Causalize: time 0.01875/0.1759, allocations: 15.1 MB / 421.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of Tearing: time 0.003867/0.1798, allocations: 3.446 MB / 424.8 MB, free: 6.883 MB / 334.1 MB Notification: Performance of Initialization: time 6.81e-07/0.1798, allocations: 0 / 424.8 MB, free: 6.883 MB / 334.1 MB Notification: Performance of Tearing: time 0.00184/0.1816, allocations: 1.634 MB / 426.4 MB, free: 5.188 MB / 334.1 MB Notification: Performance of Categorize: time 1.522e-05/0.1816, allocations: 4 kB / 426.4 MB, free: 5.184 MB / 334.1 MB Notification: Performance of Solve: time 0.0008414/0.1825, allocations: 0.4966 MB / 426.9 MB, free: 4.676 MB / 334.1 MB Notification: Performance of Jacobian: time 0.001564/0.184, allocations: 1.567 MB / 428.5 MB, free: 3.066 MB / 334.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: ............................. 3 (3) {meanCurrent.x, meanVoltage.x, inductor.i} * Number of discrete states: .................... 8 (8) {zeroOrderHold.firstTrigger, zeroOrderHold.ySample, meanVoltage.y, meanCurrent.y, signalPWM.triangle.T_start, signalPWM.triangle.count, signalPWM.zeroOrderHold.firstTrigger, signalPWM.zeroOrderHold.ySample} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 58 (58) {hbridge.enableLogic.internalEnable, hbridge.andCondition_p.u2, hbridge.andCondition_n.u2, hbridge.inverter_p.enableLogic.internalEnable, hbridge.inverter_p.andCondition_p.u2, hbridge.inverter_p.andCondition_p.y, hbridge.inverter_p.fire_p, hbridge.inverter_p.andCondition_n.u2, hbridge.inverter_p.andCondition_n.y, hbridge.inverter_p.transistor_p.off, hbridge.inverter_p.diode_p.off, hbridge.inverter_p.transistor_n.off, hbridge.inverter_p.diode_n.off, hbridge.inverter_n.enableLogic.internalEnable, hbridge.inverter_n.andCondition_p.u2, hbridge.inverter_n.andCondition_p.y, hbridge.inverter_n.fire_p, hbridge.inverter_n.andCondition_n.u2, hbridge.inverter_n.andCondition_n.y, hbridge.inverter_n.transistor_p.off, hbridge.inverter_n.diode_p.off, hbridge.inverter_n.transistor_n.off, hbridge.inverter_n.diode_n.off, signalPWM.fire, signalPWM.zeroOrderHold.sampleTrigger, zeroOrderHold.sampleTrigger, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $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: ........... 86 (scalar:86, array:0, record:0) * Number of multi strong components: ............ 8 (algorithm:0, when:8, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 187 (scalar:187, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:3, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 187 (scalar:187, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:3, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 0.0001103/0.1842, allocations: 120.4 kB / 428.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of SimCode: time 0.004539/0.1887, allocations: 5.453 MB / 434.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of Templates: time 0.01888/0.2076, allocations: 12.36 MB / 446.4 MB, free: 1.117 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.pipe 2>&1)