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_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001383/0.001383, allocations: 187.8 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.367/1.367, allocations: 194.3 MB / 203.1 MB, free: 9.312 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.001707/0.001707, allocations: 113.7 kB / 248.1 MB, free: 6.348 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.927e-05/1.929e-05, allocations: 8 kB / 298.1 MB, free: 8.227 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08623/0.08626, allocations: 44.49 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.279/0.3653, allocations: 79.14 MB / 421.7 MB, free: 16.75 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003716/0.3657, allocations: 84.94 kB / 421.8 MB, free: 16.71 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05723/0.423, allocations: 14.6 MB / 436.4 MB, free: 4.824 MB / 315.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.423, allocations: 0 / 436.4 MB, free: 4.824 MB / 315.1 MB Notification: Performance of Transformations before backend: time 7.151e-05/0.4231, allocations: 28.16 kB / 436.4 MB, free: 4.797 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002453/0.4256, allocations: 1.043 MB / 437.5 MB, free: 3.758 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.4256, allocations: 8.031 kB / 437.5 MB, free: 3.75 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002409/0.4259, allocations: 110.7 kB / 437.6 MB, free: 3.641 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.4273, allocations: 0.637 MB / 438.2 MB, free: 3.121 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.608e-05/0.4273, allocations: 35.92 kB / 438.3 MB, free: 3.086 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.4275, allocations: 51.98 kB / 438.3 MB, free: 3.035 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001789/0.4293, allocations: 0.6149 MB / 438.9 MB, free: 2.684 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/0.4313, allocations: 0.7838 MB / 439.7 MB, free: 2.086 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/0.4314, allocations: 0 / 439.7 MB, free: 2.086 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.4315, allocations: 0 / 439.7 MB, free: 2.086 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/0.4315, allocations: 32.61 kB / 439.7 MB, free: 2.055 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00664/0.4382, allocations: 3.516 MB / 443.3 MB, free: 15.32 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.4401, allocations: 0.7321 MB / 444 MB, free: 14.91 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.4411, allocations: 418.8 kB / 444.4 MB, free: 14.66 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.017e-05/0.4412, allocations: 4.781 kB / 444.4 MB, free: 14.65 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/0.4423, allocations: 425 kB / 444.8 MB, free: 14.34 MB / 331.1 MB Notification: Performance of pre-optimization done (n=81): time 4.729e-06/0.4424, allocations: 0 / 444.8 MB, free: 14.34 MB / 331.1 MB Notification: Performance of matching and sorting (n=81): time 0.002424/0.4448, allocations: 0.773 MB / 445.6 MB, free: 13.8 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.825e-05/0.4449, allocations: 123.4 kB / 445.7 MB, free: 13.66 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008588/0.4458, allocations: 433.3 kB / 446.1 MB, free: 13.34 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 8.488e-05/0.4459, allocations: 29.7 kB / 446.2 MB, free: 13.3 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004763/0.4464, allocations: 367 kB / 446.5 MB, free: 13.04 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002964/0.4467, allocations: 227.4 kB / 446.7 MB, free: 12.84 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/0.4468, allocations: 0 / 446.7 MB, free: 12.84 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.447, allocations: 375.8 kB / 447.1 MB, free: 12.49 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006268/0.4477, allocations: 224.1 kB / 447.3 MB, free: 12.38 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008013/0.4485, allocations: 372.4 kB / 447.7 MB, free: 12.08 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006513/0.4492, allocations: 240.8 kB / 447.9 MB, free: 11.94 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.4492, allocations: 4 kB / 447.9 MB, free: 11.93 MB / 331.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002151/0.4513, allocations: 0.7922 MB / 448.7 MB, free: 11.39 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007002/0.4521, allocations: 1.338 MB / 450.1 MB, free: 9.969 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.4521, allocations: 4 kB / 450.1 MB, free: 9.965 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/0.4535, allocations: 311.2 kB / 450.4 MB, free: 9.754 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006862/0.4542, allocations: 91.45 kB / 450.5 MB, free: 9.668 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007492/0.4618, allocations: 3.519 MB / 454 MB, free: 7.07 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009918/0.4628, allocations: 79.39 kB / 454.1 MB, free: 6.992 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.579e-05/0.4629, allocations: 26.81 kB / 454.1 MB, free: 6.973 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.4629, allocations: 7.938 kB / 454.1 MB, free: 6.965 MB / 331.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002092/0.465, allocations: 0.7044 MB / 454.8 MB, free: 6.504 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.465, allocations: 4 kB / 454.8 MB, free: 6.5 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001353/0.4664, allocations: 312.8 kB / 455.1 MB, free: 6.289 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006261/0.467, allocations: 83.78 kB / 455.2 MB, free: 6.211 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007797/0.4749, allocations: 3.533 MB / 458.7 MB, free: 2.66 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005576/0.4754, allocations: 47.58 kB / 458.8 MB, free: 2.613 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/0.4755, allocations: 24 kB / 458.8 MB, free: 2.59 MB / 331.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 (62): * Single equations (assignments): 60 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 26} Notification: Performance of prepare postOptimizeDAE: time 0.0002283/0.4757, allocations: 146 kB / 458.9 MB, free: 2.441 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.4759, allocations: 71.16 kB / 459 MB, free: 2.371 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.4761, allocations: 75.23 kB / 459.1 MB, free: 2.293 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.4761, allocations: 8 kB / 459.1 MB, free: 2.285 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4761, allocations: 4 kB / 459.1 MB, free: 2.281 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/0.4761, allocations: 7.938 kB / 459.1 MB, free: 2.273 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/0.4784, allocations: 1.724 MB / 460.8 MB, free: 0.5039 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.4785, allocations: 4 kB / 460.8 MB, free: 0.5 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002963/0.4788, allocations: 59.91 kB / 460.9 MB, free: 452 kB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007255/0.4795, allocations: 296.9 kB / 461.2 MB, free: 152 kB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/0.4795, allocations: 11.94 kB / 461.2 MB, free: 140 kB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004361/0.4839, allocations: 3.517 MB / 464.7 MB, free: 12.49 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.4839, allocations: 7.922 kB / 464.7 MB, free: 12.48 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.4858, allocations: 1.222 MB / 465.9 MB, free: 11.25 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000297/0.4861, allocations: 224.2 kB / 466.2 MB, free: 11.01 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.498e-05/0.4862, allocations: 11.98 kB / 466.2 MB, free: 11 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003834/0.4865, allocations: 19.98 kB / 466.2 MB, free: 10.98 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002156/0.4868, allocations: 88.66 kB / 466.3 MB, free: 10.89 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.601e-05/0.4868, allocations: 27.98 kB / 466.3 MB, free: 10.86 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0003628/0.4872, allocations: 319 kB / 466.6 MB, free: 10.55 MB / 347.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4872, allocations: 0 / 466.6 MB, free: 10.55 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.001175/0.4884, allocations: 402.8 kB / 467 MB, free: 10.16 MB / 347.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (meanCurrent.x,meanVoltage.x) * 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 (48): * Single equations (assignments): 41 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001853/0.4886, allocations: 126.3 kB / 467.1 MB, free: 10.02 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.002488/0.4911, allocations: 1.658 MB / 468.8 MB, free: 8.32 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4911, allocations: 0 / 468.8 MB, free: 8.32 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008874/0.492, allocations: 0.6331 MB / 469.4 MB, free: 7.68 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005519/0.4926, allocations: 105.8 kB / 469.5 MB, free: 7.582 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002296/0.4949, allocations: 1.137 MB / 470.7 MB, free: 6.418 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006184/0.4955, allocations: 1.012 MB / 471.7 MB, free: 5.375 MB / 347.1 MB Notification: Performance of simCode: alias equations: time 0.0003748/0.4959, allocations: 85.55 kB / 471.8 MB, free: 5.289 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.736e-05/0.496, allocations: 35.44 kB / 471.8 MB, free: 5.254 MB / 347.1 MB Notification: Performance of SimCode: time 4.21e-07/0.496, allocations: 0 / 471.8 MB, free: 5.254 MB / 347.1 MB Notification: Performance of Templates: time 0.02258/0.5186, allocations: 14.79 MB / 486.6 MB, free: 6.492 MB / 363.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.pipe 2>&1)