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.001393/0.001393, allocations: 201.1 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 226.5 MB / 245.4 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007492/0.0007492, allocations: 93.27 kB / 297.5 MB, free: 6.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002792/0.0002794, allocations: 8 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.1865, allocations: 51.3 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09719/0.2837, allocations: 89.01 MB / 498.4 MB, free: 2.484 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.284, allocations: 94.72 kB / 498.5 MB, free: 2.395 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1948/0.4788, allocations: 18.67 MB / 0.5051 GB, free: 88.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4789, allocations: 0 / 0.5051 GB, free: 88.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000112/0.479, allocations: 24.27 kB / 0.5051 GB, free: 88.77 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002543/0.4815, allocations: 1.232 MB / 0.5063 GB, free: 88.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.4816, allocations: 9.375 kB / 0.5063 GB, free: 88.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.4818, allocations: 121 kB / 0.5064 GB, free: 88.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.4828, allocations: 0.6926 MB / 0.5071 GB, free: 87.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.912e-05/0.4829, allocations: 69.61 kB / 0.5071 GB, free: 87.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.483, allocations: 90.03 kB / 0.5072 GB, free: 87.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/0.4847, allocations: 1.034 MB / 0.5082 GB, free: 87.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.4848, allocations: 4.781 kB / 0.5082 GB, free: 87.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.827e-05/0.4848, allocations: 41.25 kB / 0.5083 GB, free: 87.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.4849, allocations: 22.03 kB / 0.5083 GB, free: 87.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.4865, allocations: 0.832 MB / 0.5091 GB, free: 87.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004855/0.4914, allocations: 3.878 MB / 0.5129 GB, free: 86.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.4928, allocations: 0.9059 MB / 0.5138 GB, free: 86.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007737/0.4936, allocations: 0.5109 MB / 0.5143 GB, free: 86.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.4936, allocations: 15.77 kB / 0.5143 GB, free: 86.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000772/0.4944, allocations: 0.5134 MB / 0.5148 GB, free: 85.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=88): time 3.056e-06/0.4944, allocations: 0 / 0.5148 GB, free: 85.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=88): time 0.003629/0.498, allocations: 1.753 MB / 0.5165 GB, free: 85.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.4981, allocations: 118.9 kB / 0.5166 GB, free: 84.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007435/0.4988, allocations: 0.7209 MB / 0.5173 GB, free: 84.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.325e-05/0.4989, allocations: 41.58 kB / 0.5174 GB, free: 84.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.4991, allocations: 382.1 kB / 0.5177 GB, free: 84.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.4993, allocations: 260.3 kB / 0.518 GB, free: 84.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.4993, allocations: 15.81 kB / 0.518 GB, free: 84.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001041/0.4994, allocations: 391.7 kB / 0.5184 GB, free: 83.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005599/0.5, allocations: 323.8 kB / 0.5187 GB, free: 83.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006096/0.5006, allocations: 497 kB / 0.5192 GB, free: 83.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/0.5017, allocations: 0.7565 MB / 0.5199 GB, free: 82.87 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.5017, allocations: 2.562 kB / 0.5199 GB, free: 82.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001704/0.5034, allocations: 1.087 MB / 0.521 GB, free: 82.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.568e-05/0.5035, allocations: 237.2 kB / 0.5212 GB, free: 82.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.5035, allocations: 3.844 kB / 0.5212 GB, free: 82.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006922/0.5042, allocations: 294.3 kB / 0.5215 GB, free: 82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004637/0.5047, allocations: 130.1 kB / 0.5216 GB, free: 81.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004029/0.5087, allocations: 4.579 MB / 0.5261 GB, free: 78.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007021/0.5094, allocations: 120.4 kB / 0.5262 GB, free: 78.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.043e-05/0.5095, allocations: 29.44 kB / 0.5262 GB, free: 78.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.783e-06/0.5095, allocations: 3.531 kB / 0.5262 GB, free: 78.19 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001501/0.511, allocations: 0.967 MB / 0.5272 GB, free: 77.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.511, allocations: 3.844 kB / 0.5272 GB, free: 77.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006163/0.5117, allocations: 297.6 kB / 0.5274 GB, free: 77.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004064/0.5121, allocations: 121.5 kB / 0.5276 GB, free: 77.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003664/0.5157, allocations: 4.595 MB / 0.5321 GB, free: 73.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005946/0.5164, allocations: 101.7 kB / 0.5321 GB, free: 73.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.454e-05/0.5164, allocations: 27.25 kB / 0.5322 GB, free: 73.81 MB / 378.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.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.triangle.T_start,signalPWM.triangle.T_start,$PRE.signalPWM.triangle.count,signalPWM.triangle.count,zeroOrderHold.ySample) * Number of discrete states: 0 () * Number of clocked 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.0004545/0.5169, allocations: 359.3 kB / 0.5325 GB, free: 73.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.517, allocations: 91.56 kB / 0.5326 GB, free: 73.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.5172, allocations: 108.7 kB / 0.5327 GB, free: 73.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.5172, allocations: 9.906 kB / 0.5327 GB, free: 73.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.5172, allocations: 1.969 kB / 0.5327 GB, free: 73.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.5172, allocations: 7.125 kB / 0.5327 GB, free: 73.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002646/0.5199, allocations: 2.112 MB / 0.5348 GB, free: 71.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5199, allocations: 0 / 0.5348 GB, free: 71.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000381/0.5203, allocations: 102.6 kB / 0.5349 GB, free: 71.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005913/0.5209, allocations: 282.7 kB / 0.5352 GB, free: 71.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.366e-05/0.5209, allocations: 16 kB / 0.5352 GB, free: 71.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003669/0.5246, allocations: 4.588 MB / 0.5397 GB, free: 66.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5246, allocations: 0 / 0.5397 GB, free: 66.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/0.5267, allocations: 1.512 MB / 0.5411 GB, free: 65.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002769/0.527, allocations: 270.7 kB / 0.5414 GB, free: 65.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.649e-05/0.5271, allocations: 16 kB / 0.5414 GB, free: 65.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004537/0.5276, allocations: 57.59 kB / 0.5415 GB, free: 65.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/0.5278, allocations: 95.95 kB / 0.5415 GB, free: 65.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.311e-05/0.5278, allocations: 27.28 kB / 0.5416 GB, free: 65.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005038/0.5283, allocations: 0.4888 MB / 0.5421 GB, free: 64.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5284, allocations: 0 / 0.5421 GB, free: 64.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0012/0.5296, allocations: 467.1 kB / 0.5425 GB, free: 64.28 MB / 378.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.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.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) * Number of clocked states: 0 () * 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.000164/0.5297, allocations: 144.9 kB / 0.5426 GB, free: 64.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002753/0.5325, allocations: 2.162 MB / 0.5447 GB, free: 62.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5325, allocations: 4 kB / 0.5448 GB, free: 62.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009535/0.5335, allocations: 0.8033 MB / 0.5455 GB, free: 61.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008173/0.5343, allocations: 182.7 kB / 0.5457 GB, free: 61.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.5369, allocations: 2.044 MB / 0.5477 GB, free: 59.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.5373, allocations: 1.012 MB / 0.5487 GB, free: 58.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00037/0.5377, allocations: 96.77 kB / 0.5488 GB, free: 58.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.5378, allocations: 55.44 kB / 0.5488 GB, free: 58.26 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.5378, allocations: 0 / 0.5488 GB, free: 58.26 MB / 378.7 MB Notification: Performance of Templates: time 0.02183/0.5597, allocations: 16.86 MB / 0.5653 GB, free: 43.3 MB / 378.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)