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") [: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 trunk/package.mo): time 0.001104/0.001104, allocations: 192.1 kB / 8.534 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.256/1.256, allocations: 225.5 MB / 234.4 MB, free: 3.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008564/0.0008565, allocations: 91.38 kB / 286.3 MB, free: 5.301 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.402e-06/6.512e-06, allocations: 0 / 343.2 MB, free: 8.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09934/0.09936, allocations: 51.47 MB / 394.6 MB, free: 5.141 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3111/0.4105, allocations: 88.57 MB / 483.2 MB, free: 4.609 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.4108, allocations: 88.62 kB / 483.3 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.04588/0.4567, allocations: 18.55 MB / 0.4901 GB, free: 5.305 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.412e-05/0.4568, allocations: 31.88 kB / 0.4901 GB, free: 5.273 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.003098/0.4599, allocations: 1.181 MB / 0.4913 GB, free: 4.102 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.46, allocations: 8.031 kB / 0.4913 GB, free: 4.094 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002502/0.4602, allocations: 121.1 kB / 0.4914 GB, free: 3.977 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.4613, allocations: 0.6709 MB / 0.492 GB, free: 3.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.413e-05/0.4614, allocations: 31.98 kB / 0.4921 GB, free: 3.398 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000174/0.4616, allocations: 56 kB / 0.4921 GB, free: 3.344 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001372/0.463, allocations: 0.6558 MB / 0.4928 GB, free: 2.969 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.4646, allocations: 0.8387 MB / 0.4936 GB, free: 2.336 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.4647, allocations: 7.938 kB / 0.4936 GB, free: 2.328 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.798e-05/0.4647, allocations: 4.734 kB / 0.4936 GB, free: 2.324 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.4648, allocations: 27.91 kB / 0.4936 GB, free: 2.297 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005776/0.4706, allocations: 3.702 MB / 0.4972 GB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.4717, allocations: 0.671 MB / 0.4979 GB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000763/0.4724, allocations: 446.3 kB / 0.4983 GB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.614e-05/0.4725, allocations: 8.781 kB / 0.4983 GB, free: 14.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006614/0.4732, allocations: 436.9 kB / 0.4987 GB, free: 14.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=88): time 2.735e-06/0.4732, allocations: 0 / 0.4987 GB, free: 14.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=88): time 0.001374/0.4746, allocations: 0.741 MB / 0.4995 GB, free: 13.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.4746, allocations: 119.6 kB / 0.4996 GB, free: 13.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005798/0.4752, allocations: 478.1 kB / 0.5 GB, free: 13.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.46e-05/0.4753, allocations: 25.7 kB / 0.5001 GB, free: 12.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/0.4756, allocations: 312.5 kB / 0.5004 GB, free: 12.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003175/0.4759, allocations: 256.3 kB / 0.5006 GB, free: 12.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.476, allocations: 0 / 0.5006 GB, free: 12.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4761, allocations: 374.8 kB / 0.501 GB, free: 12.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004232/0.4766, allocations: 246 kB / 0.5012 GB, free: 11.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005342/0.4771, allocations: 405.7 kB / 0.5016 GB, free: 11.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004509/0.4776, allocations: 259.1 kB / 0.5018 GB, free: 11.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4776, allocations: 0 / 0.5018 GB, free: 11.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001462/0.479, allocations: 0.8499 MB / 0.5027 GB, free: 10.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006064/0.4797, allocations: 1.561 MB / 0.5042 GB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.4797, allocations: 4 kB / 0.5042 GB, free: 8.551 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008455/0.4805, allocations: 284.2 kB / 0.5045 GB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005835/0.4811, allocations: 139.7 kB / 0.5046 GB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004715/0.4859, allocations: 4.025 MB / 0.5085 GB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008032/0.4867, allocations: 91.62 kB / 0.5086 GB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-05/0.4868, allocations: 35.91 kB / 0.5086 GB, free: 3.754 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.183e-06/0.4868, allocations: 4 kB / 0.5086 GB, free: 3.75 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001279/0.4881, allocations: 0.7266 MB / 0.5094 GB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.4881, allocations: 7.984 kB / 0.5094 GB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007367/0.4888, allocations: 277.5 kB / 0.5096 GB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004968/0.4893, allocations: 128 kB / 0.5098 GB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004546/0.4939, allocations: 4.032 MB / 0.5137 GB, free: 14.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006919/0.4946, allocations: 75.69 kB / 0.5138 GB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.165e-05/0.4947, allocations: 37.59 kB / 0.5138 GB, free: 14.24 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.0002549/0.495, allocations: 150.1 kB / 0.5139 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.4951, allocations: 79.05 kB / 0.514 GB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.4953, allocations: 83.78 kB / 0.5141 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.4954, allocations: 8 kB / 0.5141 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4954, allocations: 0 / 0.5141 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.4954, allocations: 3.984 kB / 0.5141 GB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002822/0.4982, allocations: 1.801 MB / 0.5159 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.4982, allocations: 4 kB / 0.5159 GB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004944/0.4987, allocations: 95.88 kB / 0.516 GB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007421/0.4995, allocations: 281.5 kB / 0.5162 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.313e-05/0.4995, allocations: 11.83 kB / 0.5162 GB, free: 11.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004373/0.5039, allocations: 4.004 MB / 0.5202 GB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.504, allocations: 0 / 0.5202 GB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001935/0.5059, allocations: 1.272 MB / 0.5214 GB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003603/0.5063, allocations: 248.4 kB / 0.5216 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.5064, allocations: 3.984 kB / 0.5216 GB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005181/0.5069, allocations: 57.83 kB / 0.5217 GB, free: 5.832 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.5071, allocations: 72.67 kB / 0.5218 GB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.624e-05/0.5072, allocations: 27.97 kB / 0.5218 GB, free: 5.734 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0004407/0.5076, allocations: 343 kB / 0.5221 GB, free: 5.398 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001189/0.5088, allocations: 422.6 kB / 0.5225 GB, free: 4.984 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.0001938/0.509, allocations: 131.2 kB / 0.5226 GB, free: 4.852 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002581/0.5116, allocations: 1.688 MB / 0.5243 GB, free: 3.113 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5116, allocations: 0 / 0.5243 GB, free: 3.113 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009094/0.5125, allocations: 0.6351 MB / 0.5249 GB, free: 2.461 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006396/0.5132, allocations: 123.7 kB / 0.525 GB, free: 2.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003055/0.5163, allocations: 1.274 MB / 0.5263 GB, free: 1.039 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007377/0.517, allocations: 1.074 MB / 0.5273 GB, free: 15.94 MB / 410.7 MB Notification: Performance of SimCode: time 9.11e-07/0.517, allocations: 0 / 0.5273 GB, free: 15.94 MB / 410.7 MB Notification: Performance of Templates: time 0.0283/0.5453, allocations: 17.86 MB / 0.5448 GB, free: 14.26 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)