Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009678/0.0009679, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.258/1.258, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00161/0.00161, allocations: 114.3 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.786e-05/1.787e-05, allocations: 7.938 kB / 298.1 MB, free: 8.227 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08384/0.08387, allocations: 44.51 MB / 342.6 MB, free: 11.62 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2633/0.3472, allocations: 79.43 MB / 422 MB, free: 16.4 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/0.3474, allocations: 89.62 kB / 422.1 MB, free: 16.35 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03021/0.3776, allocations: 14.94 MB / 437.1 MB, free: 4.184 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3777, allocations: 4 kB / 437.1 MB, free: 4.18 MB / 315.1 MB Notification: Performance of Transformations before backend: time 4.966e-05/0.3777, allocations: 23.94 kB / 437.1 MB, free: 4.156 MB / 315.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.001468/0.3792, allocations: 1.062 MB / 438.1 MB, free: 3.102 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.3793, allocations: 11.97 kB / 438.2 MB, free: 3.09 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.3794, allocations: 117.7 kB / 438.3 MB, free: 2.977 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007766/0.3802, allocations: 0.6373 MB / 438.9 MB, free: 2.453 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.3802, allocations: 28 kB / 438.9 MB, free: 2.426 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.531e-05/0.3803, allocations: 55.91 kB / 439 MB, free: 2.371 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009624/0.3813, allocations: 0.6238 MB / 439.6 MB, free: 2.016 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.3824, allocations: 0.8018 MB / 440.4 MB, free: 1.402 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.3825, allocations: 0 / 440.4 MB, free: 1.402 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/0.3825, allocations: 11.77 kB / 440.4 MB, free: 1.395 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.3826, allocations: 20 kB / 440.4 MB, free: 1.375 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004067/0.3866, allocations: 3.572 MB / 444 MB, free: 14.59 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.3877, allocations: 0.7262 MB / 444.7 MB, free: 14.2 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000644/0.3883, allocations: 443.8 kB / 445.2 MB, free: 13.92 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.963e-05/0.3884, allocations: 12.78 kB / 445.2 MB, free: 13.91 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006143/0.389, allocations: 426.1 kB / 445.6 MB, free: 13.6 MB / 331.1 MB Notification: Performance of pre-optimization done (n=83): time 2.034e-06/0.389, allocations: 0 / 445.6 MB, free: 13.6 MB / 331.1 MB Notification: Performance of matching and sorting (n=83): time 0.001158/0.3902, allocations: 0.7231 MB / 446.3 MB, free: 13.09 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.922e-05/0.3903, allocations: 119 kB / 446.4 MB, free: 12.96 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004814/0.3908, allocations: 438 kB / 446.9 MB, free: 12.63 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 5.317e-05/0.3908, allocations: 33.02 kB / 446.9 MB, free: 12.6 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.3911, allocations: 370.8 kB / 447.3 MB, free: 12.32 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.3913, allocations: 241.4 kB / 447.5 MB, free: 12.11 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.3913, allocations: 0 / 447.5 MB, free: 12.11 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3915, allocations: 372.1 kB / 447.9 MB, free: 11.77 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003955/0.3919, allocations: 228.8 kB / 448.1 MB, free: 11.65 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004493/0.3923, allocations: 379.4 kB / 448.5 MB, free: 11.36 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/0.3927, allocations: 239.6 kB / 448.7 MB, free: 11.22 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.3927, allocations: 11.94 kB / 448.7 MB, free: 11.21 MB / 331.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001355/0.3941, allocations: 0.7946 MB / 449.5 MB, free: 10.64 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007001/0.3948, allocations: 1.341 MB / 450.8 MB, free: 9.223 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.3948, allocations: 4 kB / 450.8 MB, free: 9.219 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008332/0.3957, allocations: 276.8 kB / 451.1 MB, free: 9.031 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004378/0.3961, allocations: 107.4 kB / 451.2 MB, free: 8.934 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00446/0.4006, allocations: 4.42 MB / 455.6 MB, free: 5.188 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005512/0.4012, allocations: 79.55 kB / 455.7 MB, free: 5.109 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.373e-05/0.4012, allocations: 27.81 kB / 455.7 MB, free: 5.09 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.206e-06/0.4013, allocations: 4 kB / 455.7 MB, free: 5.086 MB / 331.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001106/0.4024, allocations: 0.7096 MB / 456.5 MB, free: 4.621 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4024, allocations: 4 kB / 456.5 MB, free: 4.617 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006702/0.4031, allocations: 286.5 kB / 456.7 MB, free: 4.426 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.4035, allocations: 103.5 kB / 456.8 MB, free: 4.328 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004591/0.4081, allocations: 4.431 MB / 461.3 MB, free: 15.86 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004867/0.4086, allocations: 59.48 kB / 461.3 MB, free: 15.8 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/0.4086, allocations: 28 kB / 461.4 MB, free: 15.78 MB / 347.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$PRE.meanCurrent.y,meanCurrent.y,$PRE.meanVoltage.y,meanVoltage.y,$whenCondition2,$whenCondition1,$whenCondition4,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition3,hbridge.andCondition_p.y,hbridge.andCondition_n.y,hbridge.fire_n,hbridge.inverter_p.andCondition_p.y,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.andCondition_p.y,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,$PRE.signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.sawtooth.T_start,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 11,4 11} Notification: Performance of prepare postOptimizeDAE: time 0.000242/0.4089, allocations: 145.3 kB / 461.5 MB, free: 15.63 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.409, allocations: 79.09 kB / 461.6 MB, free: 15.55 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/0.4092, allocations: 75.38 kB / 461.7 MB, free: 15.48 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.4092, allocations: 8 kB / 461.7 MB, free: 15.47 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4092, allocations: 0 / 461.7 MB, free: 15.47 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.4093, allocations: 7.969 kB / 461.7 MB, free: 15.46 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/0.4117, allocations: 1.74 MB / 463.4 MB, free: 13.67 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.4117, allocations: 3.953 kB / 463.4 MB, free: 13.67 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000403/0.4121, allocations: 75.84 kB / 463.5 MB, free: 13.59 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000668/0.4128, allocations: 277.6 kB / 463.8 MB, free: 13.32 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/0.4129, allocations: 0 / 463.8 MB, free: 13.32 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004938/0.4178, allocations: 4.41 MB / 468.2 MB, free: 8.672 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4178, allocations: 0 / 468.2 MB, free: 8.672 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/0.4201, allocations: 1.218 MB / 469.4 MB, free: 7.43 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004242/0.4206, allocations: 240 kB / 469.6 MB, free: 7.176 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.4207, allocations: 3.953 kB / 469.6 MB, free: 7.172 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004959/0.4212, allocations: 35.97 kB / 469.7 MB, free: 7.137 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002069/0.4214, allocations: 80.66 kB / 469.7 MB, free: 7.059 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.244e-05/0.4215, allocations: 20 kB / 469.8 MB, free: 7.039 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0004323/0.4219, allocations: 322.9 kB / 470.1 MB, free: 6.723 MB / 347.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4219, allocations: 0 / 470.1 MB, free: 6.723 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.001671/0.4236, allocations: 418.8 kB / 470.5 MB, free: 6.312 MB / 347.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,meanVoltage.x,inductor.i) * Number of discrete variables: 26 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hbridge.andCondition_p.y,hbridge.andCondition_n.y,hbridge.fire_n,hbridge.inverter_p.andCondition_p.y,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.andCondition_p.y,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.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,meanCurrent.y,meanVoltage.y) * Number of discrete states: 4 (signalPWM.sawtooth.count,meanCurrent.x,meanVoltage.x,signalPWM.zeroOrderHold.ySample) * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 11,4 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.000236/0.4239, allocations: 130.5 kB / 470.6 MB, free: 6.18 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.002536/0.4264, allocations: 1.819 MB / 472.4 MB, free: 4.293 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.4264, allocations: 0 / 472.4 MB, free: 4.293 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008885/0.4273, allocations: 0.6983 MB / 473.1 MB, free: 3.578 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005781/0.4279, allocations: 110.2 kB / 473.2 MB, free: 3.477 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.4302, allocations: 1.18 MB / 474.4 MB, free: 2.262 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/0.4308, allocations: 1.023 MB / 475.4 MB, free: 1.207 MB / 347.1 MB Notification: Performance of simCode: alias equations: time 0.0003776/0.4312, allocations: 85.64 kB / 475.5 MB, free: 1.121 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.4313, allocations: 39.44 kB / 475.6 MB, free: 1.082 MB / 347.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4313, allocations: 0 / 475.6 MB, free: 1.082 MB / 347.1 MB Notification: Performance of Templates: time 0.02209/0.4534, allocations: 14.3 MB / 489.9 MB, free: 2.793 MB / 363.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL.pipe 2>&1)