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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001597/0.001597, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00179/0.00179, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001113/0.001113, allocations: 59.91 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2405, allocations: 50.54 MB / 410 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL): time 0.007113/0.2477, allocations: 6.18 MB / 416.2 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002576/0.2503, allocations: 1.684 MB / 417.9 MB, free: 9.664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003648/0.2506, allocations: 23.88 kB / 417.9 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003929/0.251, allocations: 206 kB / 418.1 MB, free: 9.438 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004722/0.2515, allocations: 285.5 kB / 418.4 MB, free: 9.156 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007413/0.2523, allocations: 447.4 kB / 418.8 MB, free: 8.719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001227/0.2535, allocations: 1.481 MB / 420.3 MB, free: 7.234 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007404/0.2543, allocations: 0.5671 MB / 420.8 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004497/0.2547, allocations: 0.5021 MB / 421.3 MB, free: 6.133 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005166/0.2553, allocations: 0.56 MB / 421.9 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000179/0.2555, allocations: 152 kB / 422 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.2556, allocations: 152 kB / 422.2 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.2559, allocations: 303 kB / 422.5 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005154/0.2564, allocations: 0.6104 MB / 423.1 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.2577, allocations: 1.674 MB / 424.8 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2577, allocations: 0 / 424.8 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2577, allocations: 0 / 424.8 MB, free: 2.684 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.2578, allocations: 4 kB / 424.8 MB, free: 2.68 MB / 334.1 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.002462/0.2602, allocations: 1.438 MB / 426.2 MB, free: 1.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.2603, allocations: 8.031 kB / 426.2 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.2604, allocations: 127.5 kB / 426.4 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.2616, allocations: 0.7234 MB / 427.1 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.964e-05/0.2617, allocations: 70.38 kB / 427.1 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.2618, allocations: 96.36 kB / 427.2 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.2636, allocations: 1.034 MB / 428.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/0.2636, allocations: 3.938 kB / 428.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.839e-05/0.2637, allocations: 44 kB / 428.3 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.2637, allocations: 20 kB / 428.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.2654, allocations: 0.812 MB / 429.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004659/0.2701, allocations: 3.83 MB / 433 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.2718, allocations: 0.9225 MB / 433.9 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009986/0.2728, allocations: 0.5308 MB / 434.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.627e-05/0.2729, allocations: 9 kB / 434.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000959/0.2739, allocations: 0.5241 MB / 435 MB, free: 8.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=89): time 2.544e-06/0.2739, allocations: 0 / 435 MB, free: 8.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=89): time 0.004625/0.2785, allocations: 1.791 MB / 436.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/0.2786, allocations: 119.8 kB / 436.9 MB, free: 6.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008254/0.2794, allocations: 0.7112 MB / 437.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.169e-05/0.2795, allocations: 41.7 kB / 437.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000281/0.2798, allocations: 392.6 kB / 438 MB, free: 5.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002226/0.28, allocations: 268.3 kB / 438.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.2803, allocations: 158.6 kB / 438.4 MB, free: 4.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.2804, allocations: 394.7 kB / 438.8 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000686/0.2811, allocations: 320.7 kB / 439.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007836/0.2819, allocations: 488.8 kB / 439.6 MB, free: 3.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.2833, allocations: 0.7737 MB / 440.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.2833, allocations: 0 / 440.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002/0.2853, allocations: 1.086 MB / 441.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.2853, allocations: 37.8 kB / 441.5 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.2854, allocations: 4 kB / 441.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008181/0.2862, allocations: 301.1 kB / 441.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000512/0.2867, allocations: 131.8 kB / 441.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005403/0.2921, allocations: 5.034 MB / 447 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005953/0.2927, allocations: 103.3 kB / 447.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.216e-05/0.2928, allocations: 35.94 kB / 447.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009071/0.2937, allocations: 0.4941 MB / 447.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007348/0.2945, allocations: 472.9 kB / 448.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001278/0.2957, allocations: 0.7503 MB / 448.8 MB, free: 9.688 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.946e-06/0.2958, allocations: 0 / 448.8 MB, free: 9.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.001891/0.2977, allocations: 1.07 MB / 449.9 MB, free: 8.602 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.848e-05/0.2977, allocations: 33.7 kB / 449.9 MB, free: 8.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2977, allocations: 4 kB / 449.9 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007366/0.2985, allocations: 290.2 kB / 450.2 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000468/0.2989, allocations: 119.8 kB / 450.3 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005228/0.3042, allocations: 5.053 MB / 455.4 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005841/0.3048, allocations: 87.52 kB / 455.4 MB, free: 2.738 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.924e-05/0.3049, allocations: 32 kB / 455.5 MB, free: 2.707 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 38 (signalPWM.zeroOrderHold.firstTrigger,$PRE.signalPWM.zeroOrderHold.firstTrigger,meanCurrent.y_last,$PRE.meanCurrent.y_last,meanVoltage.y_last,$PRE.meanVoltage.y_last,zeroOrderHold.firstTrigger,$PRE.zeroOrderHold.firstTrigger,$whenCondition3,$whenCondition2,zeroOrderHold.sampleTrigger,$whenCondition1,signalPWM.zeroOrderHold.sampleTrigger,$whenCondition5,zeroOrderHold.ySample,$PRE.zeroOrderHold.ySample,signalPWM.triangle.count,$PRE.signalPWM.triangle.count,signalPWM.triangle.T_start,$PRE.signalPWM.triangle.T_start,signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.zeroOrderHold.ySample,signalPWM.notFire,hbridge.not_n.y,hbridge.not_p.y,hbridge.inverter_n.diode_n.off,hbridge.inverter_n.transistor_n.off,hbridge.inverter_n.diode_p.off,hbridge.inverter_n.transistor_p.off,hbridge.inverter_n.andCondition_n.y,hbridge.inverter_n.andCondition_p.y,hbridge.inverter_p.diode_n.off,hbridge.inverter_p.transistor_n.off,hbridge.inverter_p.diode_p.off,hbridge.inverter_p.transistor_p.off,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.andCondition_p.y,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,11), (4,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002471/0.3051, allocations: 245.5 kB / 455.7 MB, free: 2.461 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.3052, allocations: 98.89 kB / 455.8 MB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.3055, allocations: 101.2 kB / 455.9 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.3055, allocations: 3.984 kB / 455.9 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3055, allocations: 0 / 455.9 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/0.3058, allocations: 271.7 kB / 456.2 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.306, allocations: 16 kB / 456.2 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004782/0.3064, allocations: 51.94 kB / 456.2 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.3066, allocations: 76.91 kB / 456.3 MB, free: 1.828 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002759/0.3094, allocations: 1.155 MB / 457.5 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002309/0.3117, allocations: 1.41 MB / 458.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006841/0.3124, allocations: 371.8 kB / 459.3 MB, free: 14.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005479/0.313, allocations: 483 kB / 459.7 MB, free: 14.4 MB / 382.1 MB Notification: Performance of Backend: time 6.01e-07/0.313, allocations: 3.938 kB / 459.7 MB, free: 14.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003336/0.3163, allocations: 1.97 MB / 461.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of SimCode: time 0.002946/0.3193, allocations: 2.22 MB / 463.9 MB, free: 10.09 MB / 382.1 MB Notification: Performance of Templates: time 0.03082/0.3501, allocations: 19.74 MB / 483.7 MB, free: 6.48 MB / 398.1 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)