Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001681/0.001681, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 225.6 MB / 234.8 MB, free: 3.199 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009165/0.0009169, allocations: 100.7 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.64e-05/1.619e-05, allocations: 4 kB / 343.7 MB, free: 8.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 51.48 MB / 395.2 MB, free: 4.707 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3783/0.4826, allocations: 88.64 MB / 483.8 MB, free: 4.555 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/0.4829, allocations: 89.75 kB / 483.9 MB, free: 4.504 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0439/0.5268, allocations: 18.7 MB / 0.4908 GB, free: 5.098 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.5269, allocations: 0 / 0.4908 GB, free: 5.098 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.353e-05/0.5269, allocations: 24 kB / 0.4909 GB, free: 5.074 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.002081/0.529, allocations: 1.152 MB / 0.492 GB, free: 3.926 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.5291, allocations: 11.97 kB / 0.492 GB, free: 3.914 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/0.5293, allocations: 125.4 kB / 0.4921 GB, free: 3.793 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.5303, allocations: 0.6588 MB / 0.4928 GB, free: 3.262 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.786e-05/0.5304, allocations: 39.92 kB / 0.4928 GB, free: 3.223 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.5305, allocations: 56 kB / 0.4928 GB, free: 3.168 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001193/0.5317, allocations: 0.6535 MB / 0.4935 GB, free: 2.793 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.5331, allocations: 0.8417 MB / 0.4943 GB, free: 2.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.5332, allocations: 0 / 0.4943 GB, free: 2.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-05/0.5333, allocations: 3.953 kB / 0.4943 GB, free: 2.156 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.5333, allocations: 24 kB / 0.4943 GB, free: 2.133 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004917/0.5382, allocations: 3.7 MB / 0.4979 GB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.5394, allocations: 0.7584 MB / 0.4987 GB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007157/0.5401, allocations: 451.2 kB / 0.4991 GB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.817e-05/0.5402, allocations: 12.77 kB / 0.4991 GB, free: 14.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007524/0.5409, allocations: 451.6 kB / 0.4996 GB, free: 13.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=88): time 3.226e-06/0.5409, allocations: 4 kB / 0.4996 GB, free: 13.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=88): time 0.001368/0.5423, allocations: 0.7628 MB / 0.5003 GB, free: 13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.572e-05/0.5424, allocations: 115.6 kB / 0.5004 GB, free: 12.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005938/0.543, allocations: 470.1 kB / 0.5009 GB, free: 12.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.891e-05/0.5431, allocations: 33.7 kB / 0.5009 GB, free: 12.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/0.5434, allocations: 392.4 kB / 0.5013 GB, free: 11.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/0.5436, allocations: 244.4 kB / 0.5015 GB, free: 11.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-05/0.5436, allocations: 4 kB / 0.5015 GB, free: 11.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.5438, allocations: 386.7 kB / 0.5019 GB, free: 11.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004/0.5442, allocations: 242.6 kB / 0.5021 GB, free: 11.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005172/0.5447, allocations: 408.4 kB / 0.5025 GB, free: 10.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004324/0.5452, allocations: 260.5 kB / 0.5028 GB, free: 10.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.5452, allocations: 7.938 kB / 0.5028 GB, free: 10.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001398/0.5466, allocations: 0.8406 MB / 0.5036 GB, free: 9.523 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000684/0.5473, allocations: 1.601 MB / 0.5051 GB, free: 7.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.5473, allocations: 5.5 kB / 0.5051 GB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000809/0.5481, allocations: 283.5 kB / 0.5054 GB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000544/0.5487, allocations: 139.7 kB / 0.5056 GB, free: 7.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004899/0.5536, allocations: 4.416 MB / 0.5099 GB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006919/0.5543, allocations: 99.52 kB / 0.51 GB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.236e-05/0.5544, allocations: 24 kB / 0.51 GB, free: 2.602 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.5544, allocations: 4 kB / 0.51 GB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001267/0.5557, allocations: 0.75 MB / 0.5107 GB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.5557, allocations: 4 kB / 0.5107 GB, free: 1.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006661/0.5564, allocations: 282.3 kB / 0.511 GB, free: 1.559 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004758/0.5569, allocations: 119.8 kB / 0.5111 GB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004603/0.5615, allocations: 4.434 MB / 0.5154 GB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000645/0.5621, allocations: 75.41 kB / 0.5155 GB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.469e-05/0.5622, allocations: 32.19 kB / 0.5155 GB, free: 12.68 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 38 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$PRE.meanCurrent.y_last,meanCurrent.y_last,$PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.zeroOrderHold.firstTrigger,zeroOrderHold.firstTrigger,$whenCondition3,$whenCondition2,$whenCondition1,zeroOrderHold.sampleTrigger,$PRE.zeroOrderHold.ySample,$whenCondition5,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition4,hbridge.fire_n,hbridge.inverter_p.andCondition_p.y,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.fire_n,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.fire_n,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.triangle.T_start,signalPWM.triangle.T_start,$PRE.signalPWM.triangle.count,signalPWM.triangle.count,zeroOrderHold.ySample) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 74 * 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.0002608/0.5625, allocations: 146 kB / 0.5157 GB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.5626, allocations: 79.11 kB / 0.5158 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.5628, allocations: 85.66 kB / 0.5158 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.5628, allocations: 8 kB / 0.5158 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5629, allocations: 0 / 0.5158 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.5629, allocations: 3.984 kB / 0.5158 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002638/0.5655, allocations: 1.838 MB / 0.5176 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.5655, allocations: 0 / 0.5176 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004344/0.566, allocations: 99.81 kB / 0.5177 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006618/0.5666, allocations: 279.3 kB / 0.518 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-05/0.5667, allocations: 4 kB / 0.518 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00456/0.5713, allocations: 4.412 MB / 0.5223 GB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.5713, allocations: 3.938 kB / 0.5223 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.5732, allocations: 1.277 MB / 0.5236 GB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003649/0.5736, allocations: 248 kB / 0.5238 GB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.541e-05/0.5737, allocations: 7.984 kB / 0.5238 GB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004792/0.5742, allocations: 47.95 kB / 0.5239 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/0.5744, allocations: 88.66 kB / 0.5239 GB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.143e-05/0.5745, allocations: 23.98 kB / 0.524 GB, free: 3.719 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004173/0.5749, allocations: 342.9 kB / 0.5243 GB, free: 3.383 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5749, allocations: 4 kB / 0.5243 GB, free: 3.379 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001436/0.5763, allocations: 430.7 kB / 0.5247 GB, free: 2.957 MB / 394.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: 30 (signalPWM.zeroOrderHold.sampleTrigger,zeroOrderHold.sampleTrigger,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hbridge.fire_n,hbridge.inverter_p.andCondition_p.y,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.fire_n,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.fire_n,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.triangle.T_start,signalPWM.triangle.count,meanCurrent.y_last,meanVoltage.y_last,zeroOrderHold.firstTrigger,zeroOrderHold.ySample) * Number of discrete states: 5 (signalPWM.triangle.count,meanCurrent.x,meanVoltage.x,zeroOrderHold.ySample,signalPWM.zeroOrderHold.ySample) * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002182/0.5766, allocations: 142.5 kB / 0.5248 GB, free: 2.812 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002742/0.5793, allocations: 1.878 MB / 0.5267 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5793, allocations: 0 / 0.5267 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009486/0.5803, allocations: 0.7179 MB / 0.5274 GB, free: 136 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006531/0.5809, allocations: 126.1 kB / 0.5275 GB, free: 8 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002582/0.5835, allocations: 1.249 MB / 0.5287 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006505/0.5842, allocations: 1.04 MB / 0.5297 GB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004507/0.5847, allocations: 101.6 kB / 0.5298 GB, free: 13.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.5848, allocations: 39.44 kB / 0.5299 GB, free: 13.53 MB / 410.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5848, allocations: 3.938 kB / 0.5299 GB, free: 13.52 MB / 410.7 MB Notification: Performance of Templates: time 0.02428/0.6091, allocations: 15.19 MB / 0.5447 GB, free: 14.51 MB / 426.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL.pipe 2>&1)