Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.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_DC_Drive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=240000,variableFilter="time|dcpm.inertiaRotor.phi|dcpm.inertiaRotor.w|inductor.i|meanCurrent.y|meanVoltage.y|hbridge.dc_n1.v|hbridge.dc_n1.i|hbridge.dc_p1.v|hbridge.dc_p1.i|hbridge.dc_n2.v|hbridge.dc_n2.i|hbridge.dc_p2.v|hbridge.dc_p2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive") translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=240000,variableFilter="time|dcpm.inertiaRotor.phi|dcpm.inertiaRotor.w|inductor.i|meanCurrent.y|meanVoltage.y|hbridge.dc_n1.v|hbridge.dc_n1.i|hbridge.dc_p1.v|hbridge.dc_p1.i|hbridge.dc_n2.v|hbridge.dc_n2.i|hbridge.dc_p2.v|hbridge.dc_p2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00109/0.00109, allocations: 117 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001212/0.001212, allocations: 208 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.398/1.398, allocations: 227.4 MB / 247.6 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 63.89 kB / 359.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2478, allocations: 50.54 MB / 410 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive): time 0.01263/0.2605, allocations: 11.43 MB / 421.4 MB, free: 6.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00678/0.2673, allocations: 3.802 MB / 425.2 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.2689, allocations: 39.88 kB / 425.3 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001865/0.2708, allocations: 0.7606 MB / 426 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001769/0.2726, allocations: 0.7173 MB / 426.7 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.2741, allocations: 0.7251 MB / 427.5 MB, free: 0 / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002682/0.2768, allocations: 2.677 MB / 430.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/0.2782, allocations: 1.033 MB / 431.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/0.2795, allocations: 0.9846 MB / 432.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.2807, allocations: 1.074 MB / 433.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003103/0.281, allocations: 263.9 kB / 433.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006938/0.2817, allocations: 451.8 kB / 433.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000404/0.2821, allocations: 0.5178 MB / 434.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009913/0.2831, allocations: 1.155 MB / 435.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003165/0.2863, allocations: 3.173 MB / 438.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2863, allocations: 0 / 438.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2863, allocations: 0 / 438.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.73e-05/0.2864, allocations: 0 / 438.8 MB, free: 4.598 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.004249/0.2906, allocations: 2.471 MB / 441.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.2907, allocations: 12.03 kB / 441.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000667/0.2913, allocations: 262.2 kB / 441.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002097/0.2934, allocations: 1.238 MB / 442.7 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-05/0.2936, allocations: 127.6 kB / 442.9 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002228/0.2938, allocations: 172.3 kB / 443 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/0.2966, allocations: 1.767 MB / 444.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.615e-05/0.2967, allocations: 7.906 kB / 444.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/0.2968, allocations: 71.98 kB / 444.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.953e-05/0.2969, allocations: 43.94 kB / 444.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002469/0.2994, allocations: 1.308 MB / 446.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008928/0.3083, allocations: 6.895 MB / 453.1 MB, free: 5.762 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001996/0.3103, allocations: 1.123 MB / 454.3 MB, free: 4.625 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/0.3116, allocations: 0.6975 MB / 455 MB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.063e-05/0.3116, allocations: 13 kB / 455 MB, free: 3.914 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001273/0.3129, allocations: 0.7538 MB / 455.7 MB, free: 3.125 MB / 366.1 MB Notification: Performance of pre-optimization done (n=124): time 3.086e-06/0.3129, allocations: 0 / 455.7 MB, free: 3.125 MB / 366.1 MB Notification: Performance of matching and sorting (n=127): time 0.008702/0.3216, allocations: 4.25 MB / 460 MB, free: 14.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.3218, allocations: 208.9 kB / 460.2 MB, free: 14.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001859/0.3236, allocations: 1.429 MB / 461.6 MB, free: 13.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.284e-05/0.3237, allocations: 57.69 kB / 461.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006694/0.3244, allocations: 0.8169 MB / 462.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002948/0.3247, allocations: 394.5 kB / 462.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003732/0.3251, allocations: 271.3 kB / 463.1 MB, free: 11.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.538e-05/0.3252, allocations: 313 kB / 463.4 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009022/0.3261, allocations: 484.6 kB / 463.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.3273, allocations: 0.9056 MB / 464.8 MB, free: 9.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002162/0.3295, allocations: 1.501 MB / 466.3 MB, free: 7.898 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.3295, allocations: 4 kB / 466.3 MB, free: 7.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003256/0.3328, allocations: 1.889 MB / 468.2 MB, free: 5.973 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.264e-05/0.3329, allocations: 101.5 kB / 468.3 MB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.3329, allocations: 16.09 kB / 468.3 MB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009703/0.3339, allocations: 345.7 kB / 468.7 MB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008231/0.3347, allocations: 247.6 kB / 468.9 MB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006985/0.3417, allocations: 6.773 MB / 475.7 MB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.3429, allocations: 83.92 kB / 475.8 MB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.3431, allocations: 60 kB / 475.8 MB, free: 13.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001515/0.3446, allocations: 0.7694 MB / 476.6 MB, free: 13.15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001185/0.3458, allocations: 0.8938 MB / 477.5 MB, free: 12.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002079/0.3479, allocations: 1.478 MB / 479 MB, free: 10.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.051e-05/0.3479, allocations: 4 kB / 479 MB, free: 10.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.003376/0.3513, allocations: 1.87 MB / 480.8 MB, free: 8.477 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.76e-05/0.3514, allocations: 107.7 kB / 480.9 MB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/0.3514, allocations: 16 kB / 481 MB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00093/0.3523, allocations: 342.9 kB / 481.3 MB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008807/0.3532, allocations: 239.7 kB / 481.5 MB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009217/0.3625, allocations: 6.767 MB / 488.3 MB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.3641, allocations: 91.91 kB / 488.4 MB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/0.3642, allocations: 64 kB / 488.4 MB, free: 444 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 47 (signalPWM.zeroOrderHold.firstTrigger,$PRE.signalPWM.zeroOrderHold.firstTrigger,meanCurrent.y_last,$PRE.meanCurrent.y_last,meanVoltage.y_last,$PRE.meanVoltage.y_last,$whenCondition4,$whenCondition3,signalPWM.zeroOrderHold.sampleTrigger,$whenCondition6,dutyCycleTable.nextEventScaled,dutyCycleTable.nextEvent,$PRE.dutyCycleTable.nextEvent,dutyCycleTable.last,dutyCycleTable.b,dutyCycleTable.a,torqueTable.nextEventScaled,torqueTable.nextEvent,$PRE.torqueTable.nextEvent,torqueTable.last,torqueTable.b,torqueTable.a,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,hbridge.fire_p,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,11), (4,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005464/0.3648, allocations: 376.4 kB / 488.8 MB, free: 48 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004743/0.3653, allocations: 174 kB / 489 MB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004437/0.3697, allocations: 1.635 MB / 490.6 MB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.257e-05/0.3698, allocations: 7.969 kB / 490.6 MB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3698, allocations: 0 / 490.6 MB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009783/0.3708, allocations: 362.9 kB / 491 MB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004071/0.3712, allocations: 32 kB / 491 MB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.3723, allocations: 67.88 kB / 491.1 MB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003049/0.3727, allocations: 92.88 kB / 491.2 MB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004805/0.3775, allocations: 1.823 MB / 493 MB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003698/0.3812, allocations: 2.162 MB / 495.1 MB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009207/0.3821, allocations: 0.5704 MB / 495.7 MB, free: 9.004 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001802/0.3839, allocations: 0.9557 MB / 496.7 MB, free: 8.051 MB / 414.1 MB Notification: Performance of Backend: time 9.02e-07/0.384, allocations: 4 kB / 496.7 MB, free: 8.047 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008092/0.3921, allocations: 3.236 MB / 499.9 MB, free: 4.656 MB / 414.1 MB Notification: Performance of SimCode: time 0.00877/0.4009, allocations: 3.858 MB / 0.492 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of Templates: time 0.05652/0.4574, allocations: 31.13 MB / 0.5224 GB, free: 1.789 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_DC_Drive.pipe 2>&1)