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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001533/0.001533, allocations: 191.6 kB / 8.135 MB, free: 2.199 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.093/1.093, allocations: 194.2 MB / 202.8 MB, free: 8.676 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.001787/0.001787, allocations: 117.7 kB / 247.7 MB, free: 6.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.77e-06/5.8e-06, allocations: 0 / 297.6 MB, free: 7.988 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07031/0.07033, allocations: 44.49 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.194/0.2644, allocations: 79.36 MB / 421.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.2646, allocations: 88.66 kB / 421.5 MB, free: 15.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.03366/0.2983, allocations: 14.74 MB / 436.3 MB, free: 3.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.434e-05/0.2984, allocations: 31.92 kB / 436.3 MB, free: 3.719 MB / 314.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.001907/0.3003, allocations: 1.078 MB / 437.4 MB, free: 2.645 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3004, allocations: 12.03 kB / 437.4 MB, free: 2.633 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002621/0.3006, allocations: 114.4 kB / 437.5 MB, free: 2.523 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009902/0.3016, allocations: 0.6382 MB / 438.1 MB, free: 1.996 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.358e-05/0.3017, allocations: 28 kB / 438.1 MB, free: 1.969 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.3018, allocations: 58.86 kB / 438.2 MB, free: 1.914 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001221/0.3031, allocations: 0.623 MB / 438.8 MB, free: 1.559 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.3044, allocations: 0.804 MB / 439.6 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.3044, allocations: 3.906 kB / 439.6 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-05/0.3045, allocations: 4 kB / 439.6 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.3045, allocations: 20 kB / 439.7 MB, free: 0.918 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004748/0.3093, allocations: 3.575 MB / 443.2 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.3104, allocations: 0.6404 MB / 443.9 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000721/0.3111, allocations: 438.9 kB / 444.3 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.445e-05/0.3112, allocations: 12.66 kB / 444.3 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006308/0.3118, allocations: 403.6 kB / 444.7 MB, free: 13.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=83): time 2.424e-06/0.3118, allocations: 0 / 444.7 MB, free: 13.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=83): time 0.001268/0.3131, allocations: 0.7098 MB / 445.4 MB, free: 12.65 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.3132, allocations: 123.1 kB / 445.5 MB, free: 12.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005299/0.3137, allocations: 443.9 kB / 446 MB, free: 12.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.3138, allocations: 25.7 kB / 446 MB, free: 12.15 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.314, allocations: 297.7 kB / 446.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.3142, allocations: 241.2 kB / 446.5 MB, free: 11.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/0.3143, allocations: 0 / 446.5 MB, free: 11.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3144, allocations: 375.6 kB / 446.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004045/0.3148, allocations: 232.3 kB / 447.1 MB, free: 11.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004862/0.3153, allocations: 372.9 kB / 447.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004108/0.3157, allocations: 249.8 kB / 447.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3158, allocations: 0 / 447.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001349/0.3171, allocations: 0.7897 MB / 448.5 MB, free: 10.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000418/0.3175, allocations: 1.311 MB / 449.8 MB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.3176, allocations: 4 kB / 449.8 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008489/0.3184, allocations: 280.9 kB / 450.1 MB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004986/0.3189, allocations: 115.6 kB / 450.2 MB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004819/0.3238, allocations: 4.019 MB / 454.2 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005734/0.3244, allocations: 75.48 kB / 454.3 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-05/0.3244, allocations: 29.81 kB / 454.3 MB, free: 4.906 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.3245, allocations: 5.562 kB / 454.3 MB, free: 4.902 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001238/0.3257, allocations: 0.6906 MB / 455 MB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.3257, allocations: 4 kB / 455 MB, free: 4.449 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008101/0.3265, allocations: 287.4 kB / 455.3 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004444/0.327, allocations: 99.27 kB / 455.4 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004594/0.3316, allocations: 4.017 MB / 459.4 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005272/0.3321, allocations: 55.66 kB / 459.5 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.3322, allocations: 31.97 kB / 459.5 MB, free: 0.5625 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.00022/0.3324, allocations: 148.5 kB / 459.7 MB, free: 424 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.3326, allocations: 71.16 kB / 459.7 MB, free: 352 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.3328, allocations: 81.05 kB / 459.8 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.3328, allocations: 8 kB / 459.8 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3328, allocations: 0 / 459.8 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.3329, allocations: 3.984 kB / 459.8 MB, free: 256 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002877/0.3357, allocations: 1.726 MB / 461.6 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.3358, allocations: 112 / 461.6 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000437/0.3362, allocations: 91.77 kB / 461.6 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007766/0.337, allocations: 269.5 kB / 461.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.749e-05/0.3371, allocations: 11.98 kB / 461.9 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004762/0.3419, allocations: 4.004 MB / 465.9 MB, free: 9.875 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3419, allocations: 4 kB / 465.9 MB, free: 9.871 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002013/0.3439, allocations: 1.218 MB / 467.1 MB, free: 8.633 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003664/0.3443, allocations: 232.2 kB / 467.4 MB, free: 8.387 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.3444, allocations: 12 kB / 467.4 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004802/0.3449, allocations: 35.91 kB / 467.4 MB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/0.3451, allocations: 64.67 kB / 467.5 MB, free: 8.277 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.704e-05/0.3452, allocations: 27.98 kB / 467.5 MB, free: 8.25 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0004116/0.3456, allocations: 319 kB / 467.8 MB, free: 7.941 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001283/0.3469, allocations: 394.8 kB / 468.2 MB, free: 7.555 MB / 346.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.0002074/0.3471, allocations: 134.3 kB / 468.3 MB, free: 7.414 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002622/0.3497, allocations: 1.615 MB / 470 MB, free: 5.746 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3497, allocations: 0 / 470 MB, free: 5.746 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009473/0.3507, allocations: 0.6201 MB / 470.6 MB, free: 5.109 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005864/0.3513, allocations: 117.3 kB / 470.7 MB, free: 4.992 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/0.3544, allocations: 1.2 MB / 471.9 MB, free: 3.762 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007327/0.3552, allocations: 1.045 MB / 472.9 MB, free: 2.691 MB / 346.7 MB Notification: Performance of SimCode: time 3e-07/0.3552, allocations: 0 / 472.9 MB, free: 2.691 MB / 346.7 MB Notification: Performance of Templates: time 0.02786/0.3831, allocations: 16.69 MB / 489.6 MB, free: 2.008 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)