Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_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.HBridge.HBridge_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.y|meanVoltage.y|hbridge.dc_n1.v|hbridge.dc_n1.i|hbridge.dc_p1.v|hbridge.dc_p1.i|hbridge.dc_n2.v|hbridge.dc_n2.i|hbridge.dc_p2.v|hbridge.dc_p2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.y|meanVoltage.y|hbridge.dc_n1.v|hbridge.dc_n1.i|hbridge.dc_p1.v|hbridge.dc_p1.i|hbridge.dc_n2.v|hbridge.dc_n2.i|hbridge.dc_p2.v|hbridge.dc_p2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 116.5 kB / 17.75 MB, free: 5.207 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.001116/0.001116, allocations: 189.8 kB / 18.68 MB, free: 4.285 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.243/1.243, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.403e-05, allocations: 5.656 kB / 352 MB, free: 3.27 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R): time 0.006356/0.006389, allocations: 5.728 MB / 357.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.008834, allocations: 1.528 MB / 359.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003501/0.009198, allocations: 23.88 kB / 359.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003517/0.009557, allocations: 190.2 kB / 359.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004924/0.01006, allocations: 277.7 kB / 359.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006812/0.01078, allocations: 415.5 kB / 360.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.01212, allocations: 1.54 MB / 361.7 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006994/0.01283, allocations: 0.5514 MB / 362.2 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004092/0.01325, allocations: 478.3 kB / 362.7 MB, free: 8.492 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004514/0.01371, allocations: 0.5055 MB / 363.2 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.01387, allocations: 144 kB / 363.3 MB, free: 7.844 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.01404, allocations: 144 kB / 363.5 MB, free: 7.703 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001112/0.01516, allocations: 1.688 MB / 365.2 MB, free: 5.996 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005356/0.0157, allocations: 1.035 MB / 366.2 MB, free: 4.945 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001918/0.0159, allocations: 207.4 kB / 366.4 MB, free: 4.742 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001625/0.01607, allocations: 55.73 kB / 366.4 MB, free: 4.688 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: 218 (218) * Number of variables: 218 (218) Notification: Performance of Bindings: time 0.1828/0.1989, allocations: 4.894 MB / 371.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0003272/0.1992, allocations: 220.1 kB / 371.6 MB, free: 15.71 MB / 302.1 MB Notification: Performance of Early Inline: time 0.00259/0.2018, allocations: 2.769 MB / 374.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002791/0.2021, allocations: 207.6 kB / 374.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of Alias: time 0.005286/0.2074, allocations: 5.374 MB / 379.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001542/0.2076, allocations: 128 kB / 380 MB, free: 13.22 MB / 302.1 MB Notification: Performance of Detect States: time 0.000532/0.2081, allocations: 0.6298 MB / 380.7 MB, free: 12.8 MB / 302.1 MB Notification: Performance of Events: time 0.0005138/0.2087, allocations: 0.4975 MB / 381.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0007375/0.2094, allocations: 0.8414 MB / 382 MB, free: 11.97 MB / 302.1 MB Notification: Performance of Causalize: time 0.003658/0.2131, allocations: 3.414 MB / 385.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0016/0.2147, allocations: 1.904 MB / 387.3 MB, free: 9.418 MB / 302.1 MB Notification: Performance of Inline: time 0.003321/0.218, allocations: 3.64 MB / 391 MB, free: 7.203 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002822/0.2183, allocations: 229.8 kB / 391.2 MB, free: 7.062 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0004052/0.2187, allocations: 414.6 kB / 391.6 MB, free: 6.797 MB / 302.1 MB Notification: Performance of Causalize: time 0.02038/0.2391, allocations: 19.68 MB / 411.3 MB, free: 7.203 MB / 318.1 MB Notification: Performance of Tearing: time 0.007275/0.2464, allocations: 6.51 MB / 417.8 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of Initialization: time 2.995e-06/0.2465, allocations: 4 kB / 417.8 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of Tearing: time 0.003753/0.2502, allocations: 3.234 MB / 421 MB, free: 13.46 MB / 334.1 MB Notification: Performance of Categorize: time 3.845e-05/0.2503, allocations: 4 kB / 421 MB, free: 13.46 MB / 334.1 MB Notification: Performance of Solve: time 0.001575/0.2519, allocations: 0.5591 MB / 421.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of Jacobian: time 0.003042/0.2549, allocations: 2.516 MB / 424.1 MB, free: 10.34 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: ............................. 2 (2) {meanCurrent.x, meanVoltage.x} * 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: ................. 55 (55) {hbridge.enableLogic.booleanReplicator.y, hbridge.enableLogic.internalEnable, hbridge.andCondition_p.u2, hbridge.andCondition_n.u2, hbridge.inverter_p.enableLogic.booleanReplicator.y, hbridge.inverter_p.enableLogic.internalEnable, hbridge.inverter_p.andCondition_p.u2, hbridge.inverter_p.andCondition_p.y, hbridge.inverter_p.andCondition_n.u2, hbridge.inverter_p.andCondition_n.y, hbridge.inverter_p.fire_n, 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.booleanReplicator.y, hbridge.inverter_n.enableLogic.internalEnable, hbridge.inverter_n.andCondition_p.u2, hbridge.inverter_n.andCondition_p.y, hbridge.inverter_n.andCondition_n.u2, hbridge.inverter_n.andCondition_n.y, hbridge.inverter_n.fire_n, 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.zeroOrderHold.sampleTrigger, signalPWM.inverse.u, $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_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: ........... 76 (scalar:70, array:6, 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: ........... 165 (scalar:159, array:6, 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: ........... 165 (scalar:159, array:6, 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.0001419/0.2551, allocations: 94.98 kB / 424.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of SimCode: time 0.005331/0.2604, allocations: 5.588 MB / 429.8 MB, free: 4.656 MB / 334.1 MB Notification: Performance of Templates: time 0.01798/0.2784, allocations: 11.41 MB / 441.2 MB, free: 9.266 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe 2>&1)