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.001205/0.001205, allocations: 179.2 kB / 16.38 MB, free: 5.766 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.124/1.124, allocations: 194.5 MB / 211.6 MB, free: 3.047 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.001663/0.001663, allocations: 107.4 kB / 256.9 MB, free: 4.336 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002804/0.0002804, allocations: 8 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06955/0.06984, allocations: 44.49 MB / 355.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.216/0.2859, allocations: 80.2 MB / 435.3 MB, free: 9.453 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.2862, allocations: 89.22 kB / 435.3 MB, free: 9.402 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03016/0.3163, allocations: 15.09 MB / 450.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3164, allocations: 0 / 450.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.041e-05/0.3164, allocations: 27.98 kB / 450.5 MB, free: 12.81 MB / 330.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.001767/0.3182, allocations: 1.16 MB / 451.6 MB, free: 11.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.3183, allocations: 8.031 kB / 451.6 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001788/0.3184, allocations: 114.7 kB / 451.7 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008624/0.3193, allocations: 0.637 MB / 452.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.862e-05/0.3194, allocations: 73.98 kB / 452.5 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.3195, allocations: 87.91 kB / 452.5 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.321, allocations: 0.9592 MB / 453.5 MB, free: 9.625 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.321, allocations: 0 / 453.5 MB, free: 9.625 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.673e-05/0.3211, allocations: 40 kB / 453.5 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.3211, allocations: 23.95 kB / 453.6 MB, free: 9.562 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.3224, allocations: 0.7509 MB / 454.3 MB, free: 8.812 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004458/0.3269, allocations: 3.759 MB / 458.1 MB, free: 4.945 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.3281, allocations: 0.7995 MB / 458.9 MB, free: 4.137 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.484e-05/0.3282, allocations: 12.66 kB / 458.9 MB, free: 4.125 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007533/0.329, allocations: 468.4 kB / 459.3 MB, free: 3.648 MB / 330.7 MB Notification: Performance of pre-optimization done (n=83): time 2.505e-06/0.329, allocations: 0 / 459.3 MB, free: 3.648 MB / 330.7 MB Notification: Performance of matching and sorting (n=83): time 0.003551/0.3325, allocations: 1.571 MB / 460.9 MB, free: 2.031 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/0.3326, allocations: 115.8 kB / 461 MB, free: 1.895 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007876/0.3334, allocations: 0.6049 MB / 461.6 MB, free: 1.281 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.14e-05/0.3335, allocations: 45.7 kB / 461.7 MB, free: 1.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.3338, allocations: 360.7 kB / 462 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.334, allocations: 248.5 kB / 462.3 MB, free: 0.625 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.334, allocations: 16 kB / 462.3 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3342, allocations: 389 kB / 462.7 MB, free: 228 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005159/0.3347, allocations: 273.9 kB / 462.9 MB, free: 15.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005941/0.3353, allocations: 425.1 kB / 463.4 MB, free: 15.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005324/0.3358, allocations: 312.9 kB / 463.7 MB, free: 15.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3359, allocations: 0 / 463.7 MB, free: 15.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001572/0.3374, allocations: 0.9607 MB / 464.6 MB, free: 14.19 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004795/0.3379, allocations: 1.34 MB / 466 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.3379, allocations: 4 kB / 466 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000817/0.3388, allocations: 293.4 kB / 466.2 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/0.3392, allocations: 107.8 kB / 466.4 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004816/0.344, allocations: 4.676 MB / 471 MB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005309/0.3446, allocations: 91.38 kB / 471.1 MB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/0.3446, allocations: 28 kB / 471.1 MB, free: 7.289 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/0.3446, allocations: 4 kB / 471.1 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001334/0.346, allocations: 0.8541 MB / 472 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.346, allocations: 4.438 kB / 472 MB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006797/0.3467, allocations: 293.5 kB / 472.3 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/0.347, allocations: 95.83 kB / 472.4 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004534/0.3516, allocations: 4.662 MB / 477.1 MB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004932/0.3521, allocations: 79.5 kB / 477.1 MB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.424e-05/0.3521, allocations: 28 kB / 477.2 MB, free: 0.9883 MB / 346.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 () * Number of clocked 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.0004668/0.3526, allocations: 344.9 kB / 477.5 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.3527, allocations: 83.16 kB / 477.6 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.3529, allocations: 104.4 kB / 477.7 MB, free: 468 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.3529, allocations: 19.94 kB / 477.7 MB, free: 448 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3529, allocations: 0 / 477.7 MB, free: 448 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.353, allocations: 7.969 kB / 477.7 MB, free: 440 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00252/0.3555, allocations: 1.951 MB / 479.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.3555, allocations: 0 / 479.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/0.3558, allocations: 79.89 kB / 479.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006786/0.3565, allocations: 281.5 kB / 480 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/0.3566, allocations: 15.98 kB / 480 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004645/0.3612, allocations: 4.653 MB / 484.7 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3612, allocations: 0 / 484.7 MB, free: 9.117 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.3633, allocations: 1.351 MB / 486 MB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003554/0.3636, allocations: 259.9 kB / 486.3 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.009e-05/0.3637, allocations: 16 kB / 486.3 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000398/0.3641, allocations: 39.97 kB / 486.3 MB, free: 7.418 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/0.3643, allocations: 88.83 kB / 486.4 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.507e-05/0.3644, allocations: 20 kB / 486.4 MB, free: 7.312 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005995/0.365, allocations: 479 kB / 486.9 MB, free: 6.848 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.365, allocations: 0 / 486.9 MB, free: 6.848 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001282/0.3663, allocations: 447.2 kB / 487.3 MB, free: 6.41 MB / 362.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) * Number of clocked states: 0 () * 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.0001976/0.3665, allocations: 143.3 kB / 487.5 MB, free: 6.258 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002791/0.3693, allocations: 1.987 MB / 489.5 MB, free: 4.199 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3693, allocations: 0 / 489.5 MB, free: 4.199 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009942/0.3703, allocations: 0.7687 MB / 490.2 MB, free: 3.402 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006356/0.371, allocations: 146 kB / 490.4 MB, free: 3.266 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.3738, allocations: 1.947 MB / 492.3 MB, free: 1.293 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005873/0.3744, allocations: 1.015 MB / 493.3 MB, free: 248 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003321/0.3748, allocations: 86.69 kB / 493.4 MB, free: 156 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.3749, allocations: 47.44 kB / 493.5 MB, free: 108 kB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.3749, allocations: 0 / 493.5 MB, free: 108 kB / 362.7 MB Notification: Performance of Templates: time 0.02243/0.3973, allocations: 15.82 MB / 0.4974 GB, free: 276 kB / 378.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)