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.001502/0.001502, allocations: 114.2 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001658/0.001658, allocations: 214.8 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 59.91 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2177, allocations: 50.55 MB / 410 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_TrianglePWM_RL): time 0.006759/0.2245, allocations: 6.175 MB / 416.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002525/0.2271, allocations: 1.691 MB / 417.9 MB, free: 9.664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003795/0.2275, allocations: 23.88 kB / 417.9 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003986/0.2279, allocations: 202 kB / 418.1 MB, free: 9.441 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004766/0.2284, allocations: 305.4 kB / 418.4 MB, free: 9.141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007416/0.2291, allocations: 451.4 kB / 418.8 MB, free: 8.699 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.2303, allocations: 1.485 MB / 420.3 MB, free: 7.211 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007121/0.231, allocations: 0.5593 MB / 420.9 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004412/0.2315, allocations: 0.5098 MB / 421.4 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005144/0.232, allocations: 0.5561 MB / 421.9 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001673/0.2322, allocations: 152 kB / 422.1 MB, free: 5.402 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.2324, allocations: 152 kB / 422.2 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002265/0.2326, allocations: 303 kB / 422.5 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000479/0.2331, allocations: 0.6143 MB / 423.1 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.2345, allocations: 1.674 MB / 424.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.2345, allocations: 0 / 424.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2345, allocations: 0 / 424.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.887e-05/0.2345, allocations: 0 / 424.8 MB, free: 2.66 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.002361/0.2369, allocations: 1.469 MB / 426.3 MB, free: 1.133 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.2369, allocations: 8.031 kB / 426.3 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.2371, allocations: 128.1 kB / 426.4 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.2382, allocations: 0.7278 MB / 427.1 MB, free: 236 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.707e-05/0.2383, allocations: 78.31 kB / 427.2 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.2384, allocations: 92.38 kB / 427.3 MB, free: 68 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.2402, allocations: 1.049 MB / 428.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.745e-05/0.2402, allocations: 4 kB / 428.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.329e-05/0.2403, allocations: 36 kB / 428.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.2403, allocations: 24 kB / 428.4 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/0.2419, allocations: 0.8158 MB / 429.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004618/0.2466, allocations: 3.838 MB / 433.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.2483, allocations: 0.9186 MB / 434 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009943/0.2493, allocations: 0.5231 MB / 434.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.122e-05/0.2494, allocations: 9 kB / 434.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009622/0.2504, allocations: 0.5202 MB / 435 MB, free: 8.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=89): time 2.435e-06/0.2504, allocations: 4 kB / 435 MB, free: 8.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=89): time 0.004627/0.255, allocations: 1.799 MB / 436.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.963e-05/0.2551, allocations: 123.8 kB / 437 MB, free: 6.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008246/0.256, allocations: 0.7036 MB / 437.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.409e-05/0.256, allocations: 41.7 kB / 437.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002731/0.2563, allocations: 401.2 kB / 438.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.2565, allocations: 273.8 kB / 438.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/0.2568, allocations: 166.6 kB / 438.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.2569, allocations: 390.8 kB / 438.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000685/0.2576, allocations: 316.7 kB / 439.2 MB, free: 3.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007706/0.2584, allocations: 488.9 kB / 439.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.2598, allocations: 0.7737 MB / 440.5 MB, free: 2.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.2598, allocations: 8 kB / 440.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001974/0.2618, allocations: 1.09 MB / 441.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/0.2618, allocations: 41.69 kB / 441.6 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.2618, allocations: 4 kB / 441.6 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008386/0.2627, allocations: 285.9 kB / 441.9 MB, free: 1.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005123/0.2632, allocations: 123.8 kB / 442 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005362/0.2686, allocations: 5.058 MB / 447.1 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006077/0.2692, allocations: 103.5 kB / 447.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.595e-05/0.2693, allocations: 32 kB / 447.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009139/0.2702, allocations: 494 kB / 447.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000751/0.2709, allocations: 484.8 kB / 448.2 MB, free: 10.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00125/0.2722, allocations: 0.7425 MB / 448.9 MB, free: 9.594 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.499e-06/0.2722, allocations: 4 kB / 448.9 MB, free: 9.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.001874/0.2741, allocations: 1.067 MB / 450 MB, free: 8.508 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.2741, allocations: 37.69 kB / 450 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.2742, allocations: 4 kB / 450 MB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007478/0.2749, allocations: 304.6 kB / 450.3 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004772/0.2754, allocations: 127.8 kB / 450.4 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005193/0.2806, allocations: 5.05 MB / 455.5 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005753/0.2812, allocations: 91.62 kB / 455.6 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.392e-05/0.2813, allocations: 28 kB / 455.6 MB, free: 2.594 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.0002563/0.2815, allocations: 253.1 kB / 455.9 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.2817, allocations: 107.3 kB / 456 MB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002066/0.2819, allocations: 105.1 kB / 456.1 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.2819, allocations: 3.984 kB / 456.1 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.2819, allocations: 4 kB / 456.1 MB, free: 2.121 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003412/0.2823, allocations: 268.2 kB / 456.3 MB, free: 1.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.2824, allocations: 16 kB / 456.3 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004679/0.2829, allocations: 47.95 kB / 456.4 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/0.2831, allocations: 68.91 kB / 456.5 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002737/0.2858, allocations: 1.174 MB / 457.6 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002317/0.2881, allocations: 1.403 MB / 459 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006769/0.2888, allocations: 375.8 kB / 459.4 MB, free: 14.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005651/0.2894, allocations: 487 kB / 459.9 MB, free: 14.27 MB / 382.1 MB Notification: Performance of Backend: time 1.463e-06/0.2894, allocations: 0 / 459.9 MB, free: 14.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003181/0.2926, allocations: 1.957 MB / 461.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of SimCode: time 0.002721/0.2953, allocations: 2.269 MB / 464.1 MB, free: 9.91 MB / 382.1 MB Notification: Performance of Templates: time 0.0297/0.325, allocations: 19.74 MB / 483.8 MB, free: 6.305 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)