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.001052/0.001052, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.377/1.377, allocations: 194.3 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001733/0.001733, allocations: 116.7 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.165e-05/3.166e-05, allocations: 0 / 305 MB, free: 29.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08252/0.08257, allocations: 44.5 MB / 349.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2868/0.3694, allocations: 80.11 MB / 429.6 MB, free: 9.875 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/0.3696, allocations: 81.67 kB / 429.6 MB, free: 9.863 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03057/0.4002, allocations: 15.11 MB / 444.7 MB, free: 2.379 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.4003, allocations: 4 kB / 444.8 MB, free: 2.375 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.91e-05/0.4003, allocations: 27.83 kB / 444.8 MB, free: 2.352 MB / 298.7 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.001486/0.4018, allocations: 1.073 MB / 445.9 MB, free: 1.293 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.4018, allocations: 8.031 kB / 445.9 MB, free: 1.285 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.402, allocations: 110.7 kB / 446 MB, free: 1.176 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007402/0.4028, allocations: 0.6371 MB / 446.6 MB, free: 0.668 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.282e-05/0.4028, allocations: 66.56 kB / 446.7 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.4029, allocations: 87.09 kB / 446.8 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.4043, allocations: 0.9301 MB / 447.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.4043, allocations: 0 / 447.7 MB, free: 15.92 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.879e-05/0.4044, allocations: 38.5 kB / 447.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.4044, allocations: 27.89 kB / 447.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.4055, allocations: 0.6952 MB / 448.4 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004464/0.41, allocations: 3.748 MB / 452.2 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.4111, allocations: 0.7689 MB / 453 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006927/0.4118, allocations: 471.5 kB / 453.4 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.49e-05/0.4119, allocations: 8.781 kB / 453.4 MB, free: 11.85 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007089/0.4126, allocations: 456.4 kB / 453.9 MB, free: 11.53 MB / 314.7 MB Notification: Performance of pre-optimization done (n=83): time 2.555e-06/0.4126, allocations: 4 kB / 453.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=83): time 0.001291/0.4139, allocations: 0.7893 MB / 454.7 MB, free: 10.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.414, allocations: 118.3 kB / 454.8 MB, free: 10.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007113/0.4147, allocations: 0.5863 MB / 455.4 MB, free: 10.4 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.527e-05/0.4148, allocations: 44.08 kB / 455.4 MB, free: 10.37 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.415, allocations: 364 kB / 455.8 MB, free: 10.13 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.4152, allocations: 250.5 kB / 456 MB, free: 9.926 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.4153, allocations: 16.31 kB / 456 MB, free: 9.922 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.4155, allocations: 391.8 kB / 456.4 MB, free: 9.562 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/0.4159, allocations: 246 kB / 456.7 MB, free: 9.426 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004844/0.4164, allocations: 393.6 kB / 457 MB, free: 9.109 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/0.4168, allocations: 296 kB / 457.3 MB, free: 8.914 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.4168, allocations: 0 / 457.3 MB, free: 8.914 MB / 314.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00136/0.4182, allocations: 0.918 MB / 458.2 MB, free: 8.258 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005236/0.4187, allocations: 1.337 MB / 459.6 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.4187, allocations: 4 kB / 459.6 MB, free: 6.836 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000775/0.4195, allocations: 293.8 kB / 459.9 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/0.4199, allocations: 111.2 kB / 460 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004782/0.4247, allocations: 4.551 MB / 464.5 MB, free: 2.656 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006302/0.4254, allocations: 95.84 kB / 464.6 MB, free: 2.574 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.768e-05/0.4254, allocations: 26.06 kB / 464.6 MB, free: 2.555 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.686e-06/0.4255, allocations: 4 kB / 464.7 MB, free: 2.551 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001337/0.4268, allocations: 0.8369 MB / 465.5 MB, free: 1.738 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4268, allocations: 11.94 kB / 465.5 MB, free: 1.727 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006932/0.4275, allocations: 282 kB / 465.8 MB, free: 1.445 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/0.4279, allocations: 103.8 kB / 465.9 MB, free: 1.344 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00496/0.4329, allocations: 4.563 MB / 470.4 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005799/0.4335, allocations: 87.39 kB / 470.5 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/0.4335, allocations: 28 kB / 470.6 MB, free: 12.39 MB / 330.7 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.000226/0.4338, allocations: 161 kB / 470.7 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.4339, allocations: 86.95 kB / 470.8 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.4342, allocations: 104.4 kB / 470.9 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.4342, allocations: 8 kB / 470.9 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.4342, allocations: 4 kB / 470.9 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.4342, allocations: 3.984 kB / 470.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002752/0.437, allocations: 1.941 MB / 472.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.437, allocations: 3.938 kB / 472.9 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003611/0.4373, allocations: 75.91 kB / 472.9 MB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006792/0.438, allocations: 281.5 kB / 473.2 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.587e-05/0.4381, allocations: 12 kB / 473.2 MB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004769/0.4429, allocations: 4.565 MB / 477.8 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4429, allocations: 7.938 kB / 477.8 MB, free: 4.824 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/0.4449, allocations: 1.296 MB / 479.1 MB, free: 3.512 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004885/0.4454, allocations: 259.9 kB / 479.3 MB, free: 3.238 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.4455, allocations: 16 kB / 479.4 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004421/0.446, allocations: 43.97 kB / 479.4 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002487/0.4462, allocations: 92.61 kB / 479.5 MB, free: 3.086 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.034e-05/0.4463, allocations: 20 kB / 479.5 MB, free: 3.066 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006889/0.447, allocations: 459.2 kB / 480 MB, free: 2.621 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.447, allocations: 0 / 480 MB, free: 2.621 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001428/0.4484, allocations: 451 kB / 480.4 MB, free: 2.18 MB / 330.7 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.0002173/0.4486, allocations: 138.5 kB / 480.5 MB, free: 2.035 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002726/0.4514, allocations: 1.925 MB / 482.5 MB, free: 36 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4514, allocations: 8.062 kB / 482.5 MB, free: 28 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009584/0.4524, allocations: 0.7318 MB / 483.2 MB, free: 15.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006448/0.453, allocations: 151.2 kB / 483.3 MB, free: 15.12 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.4555, allocations: 1.253 MB / 484.6 MB, free: 13.85 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/0.4561, allocations: 1.012 MB / 485.6 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004777/0.4565, allocations: 118.6 kB / 485.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.4567, allocations: 47.44 kB / 485.8 MB, free: 12.64 MB / 346.7 MB Notification: Performance of SimCode: time 7.72e-07/0.4567, allocations: 0 / 485.8 MB, free: 12.64 MB / 346.7 MB Notification: Performance of Templates: time 0.02563/0.4823, allocations: 16.68 MB / 0.4907 GB, free: 11.95 MB / 362.7 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)