Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_DC_Drive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_DC_Drive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=150000,variableFilter="time|dcpm.inertiaRotor.phi|dcpm.inertiaRotor.w|inductor.i|lMains.inductor.2..i|lMains.inductor.3..i|meanCurrent.x|meanVoltage.x|pulse2.twomPulse.filter.1..firstOrder.y|pulse2.twomPulse.filter.1..transferFunction.1..x_scaled.1.|pulse2.twomPulse.filter.1..transferFunction.2..x_scaled.1.|pulse2.twomPulse.filter.2..firstOrder.y|pulse2.twomPulse.filter.2..transferFunction.1..x_scaled.1.|pulse2.twomPulse.filter.2..transferFunction.2..x_scaled.1.|pulse2.twomPulse.filter.3..firstOrder.y|pulse2.twomPulse.filter.3..transferFunction.1..x_scaled.1.|pulse2.twomPulse.filter.3..transferFunction.2..x_scaled.1.|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twomPulse.timerNegative.1..entryTime|pulse2.twomPulse.timerNegative.2..entryTime|pulse2.twomPulse.timerNegative.3..entryTime|pulse2.twomPulse.timerPositive.1..entryTime|pulse2.twomPulse.timerPositive.2..entryTime|pulse2.twomPulse.timerPositive.3..entryTime|rectifier.pre_n.1..u|rectifier.pre_n.2..u|rectifier.pre_n.3..u|rectifier.pre_p.1..u|rectifier.pre_p.2..u|rectifier.pre_p.3..u|rectifier.thyristor_n.idealThyristor.1..off|rectifier.thyristor_n.idealThyristor.2..off|rectifier.thyristor_n.idealThyristor.3..off|rectifier.thyristor_p.idealThyristor.1..off|rectifier.thyristor_p.idealThyristor.2..off|rectifier.thyristor_p.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_DC_Drive") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_DC_Drive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=150000,variableFilter="time|dcpm.inertiaRotor.phi|dcpm.inertiaRotor.w|inductor.i|lMains.inductor.2..i|lMains.inductor.3..i|meanCurrent.x|meanVoltage.x|pulse2.twomPulse.filter.1..firstOrder.y|pulse2.twomPulse.filter.1..transferFunction.1..x_scaled.1.|pulse2.twomPulse.filter.1..transferFunction.2..x_scaled.1.|pulse2.twomPulse.filter.2..firstOrder.y|pulse2.twomPulse.filter.2..transferFunction.1..x_scaled.1.|pulse2.twomPulse.filter.2..transferFunction.2..x_scaled.1.|pulse2.twomPulse.filter.3..firstOrder.y|pulse2.twomPulse.filter.3..transferFunction.1..x_scaled.1.|pulse2.twomPulse.filter.3..transferFunction.2..x_scaled.1.|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twomPulse.timerNegative.1..entryTime|pulse2.twomPulse.timerNegative.2..entryTime|pulse2.twomPulse.timerNegative.3..entryTime|pulse2.twomPulse.timerPositive.1..entryTime|pulse2.twomPulse.timerPositive.2..entryTime|pulse2.twomPulse.timerPositive.3..entryTime|rectifier.pre_n.1..u|rectifier.pre_n.2..u|rectifier.pre_n.3..u|rectifier.pre_p.1..u|rectifier.pre_p.2..u|rectifier.pre_p.3..u|rectifier.thyristor_n.idealThyristor.1..off|rectifier.thyristor_n.idealThyristor.2..off|rectifier.thyristor_n.idealThyristor.3..off|rectifier.thyristor_p.idealThyristor.1..off|rectifier.thyristor_p.idealThyristor.2..off|rectifier.thyristor_p.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_DC_Drive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 106.3 kB / 17.16 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.316/2.316, allocations: 222.9 MB / 241.8 MB, free: 13.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002404/0.002404, allocations: 50.78 kB / 300.6 MB, free: 6.082 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2129, allocations: 49.45 MB / 350.1 MB, free: 4.625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_DC_Drive): time 0.02992/0.2429, allocations: 11.91 MB / 362 MB, free: 8.652 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01732/0.2603, allocations: 3.872 MB / 365.9 MB, free: 4.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004734/0.2651, allocations: 59.75 kB / 365.9 MB, free: 4.711 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007235/0.2725, allocations: 0.7264 MB / 366.6 MB, free: 3.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008578/0.2812, allocations: 0.8079 MB / 367.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004583/0.2859, allocations: 0.5912 MB / 368 MB, free: 2.578 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.4028/0.6888, allocations: 5.134 MB / 373.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009407/0.6982, allocations: 2.577 MB / 375.8 MB, free: 9.949 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007352/0.7057, allocations: 1.658 MB / 377.4 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008575/0.7143, allocations: 1.983 MB / 379.4 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00309/0.7175, allocations: 254.3 kB / 379.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004173/0.7217, allocations: 291 kB / 379.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003792/0.7256, allocations: 0.955 MB / 380.9 MB, free: 9.191 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009907/0.7356, allocations: 1.854 MB / 382.7 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01384/0.7495, allocations: 5.259 MB / 388 MB, free: 6.773 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.23e-05/0.7496, allocations: 1.188 kB / 388 MB, free: 6.773 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.238e-06/0.7496, allocations: 0 / 388 MB, free: 6.773 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003842/0.75, allocations: 6.719 kB / 388 MB, free: 6.77 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 748 * Number of variables: 748 Notification: Performance of Generate backend data structure: time 0.03329/0.7833, allocations: 5.009 MB / 393 MB, free: 3.492 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.049e-05/0.7834, allocations: 9.781 kB / 393 MB, free: 3.492 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00459/0.788, allocations: 442 kB / 393.5 MB, free: 3.277 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01697/0.8051, allocations: 3.093 MB / 396.5 MB, free: 1.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005065/0.8056, allocations: 229.2 kB / 396.8 MB, free: 1.234 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002427/0.8081, allocations: 302.2 kB / 397.1 MB, free: 1.133 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02241/0.8306, allocations: 3.906 MB / 401 MB, free: 14.79 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003081/0.831, allocations: 11.45 kB / 401 MB, free: 14.78 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002073/0.8331, allocations: 111.8 kB / 401.1 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002409/0.8333, allocations: 117.5 kB / 401.2 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01613/0.8495, allocations: 3.262 MB / 404.5 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05011/0.8997, allocations: 12.37 MB / 416.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008491/0.9083, allocations: 2.426 MB / 419.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005214/0.9136, allocations: 1.481 MB / 420.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000238/0.9139, allocations: 22 kB / 420.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004792/0.9187, allocations: 1.365 MB / 422.1 MB, free: 9.789 MB / 334.1 MB Notification: Performance of pre-optimization done (n=181): time 1.307e-05/0.9187, allocations: 0 / 422.1 MB, free: 9.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=185): time 0.03431/0.9531, allocations: 7.598 MB / 429.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002965/0.9534, allocations: 320.7 kB / 430 MB, free: 1.715 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01062/0.9641, allocations: 2.647 MB / 432.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009629/0.9651, allocations: 89.67 kB / 432.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003229/0.9684, allocations: 1.496 MB / 434.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001717/0.9701, allocations: 0.5963 MB / 434.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002789/0.973, allocations: 464.4 kB / 435.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.9732, allocations: 301.1 kB / 435.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004277/0.9775, allocations: 1.139 MB / 436.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005032/0.9825, allocations: 1.828 MB / 438.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008946/0.9915, allocations: 2.798 MB / 441.4 MB, free: 5.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.577e-05/0.9917, allocations: 4 kB / 441.4 MB, free: 5.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01511/1.007, allocations: 3.58 MB / 445 MB, free: 2.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/1.007, allocations: 12.59 kB / 445 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.682e-05/1.007, allocations: 27.92 kB / 445 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002674/1.01, allocations: 0.5872 MB / 445.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00363/1.013, allocations: 447.2 kB / 446 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01815/1.032, allocations: 8.065 MB / 454.1 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005399/1.037, allocations: 175.8 kB / 454.3 MB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001011/1.038, allocations: 96 kB / 454.4 MB, free: 8.559 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009865/1.048, allocations: 2.109 MB / 456.5 MB, free: 6.441 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005535/1.054, allocations: 1.812 MB / 458.3 MB, free: 4.336 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009643/1.063, allocations: 2.783 MB / 461.1 MB, free: 1.297 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.324e-05/1.064, allocations: 8.156 kB / 461.1 MB, free: 1.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=301) (initialization_lambda0): time 0.01504/1.079, allocations: 3.563 MB / 464.6 MB, free: 13.69 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.593e-05/1.079, allocations: 12.59 kB / 464.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.577e-05/1.079, allocations: 24.08 kB / 464.7 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002731/1.082, allocations: 0.5881 MB / 465.3 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00358/1.085, allocations: 439.2 kB / 465.7 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01807/1.103, allocations: 8.065 MB / 473.8 MB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005805/1.109, allocations: 195.8 kB / 473.9 MB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/1.11, allocations: 99.98 kB / 474 MB, free: 3.875 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 69 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,pulse2.fire_n[3],pulse2.fire_n[2],pulse2.fire_n[1],pulse2.fire_p[3],pulse2.fire_p[2],pulse2.fire_p[1],pulse2.twomPulse.timerNegative[3].entryTime,$PRE.pulse2.twomPulse.timerNegative[3].entryTime,pulse2.twomPulse.timerNegative[2].entryTime,$PRE.pulse2.twomPulse.timerNegative[2].entryTime,pulse2.twomPulse.timerNegative[1].entryTime,$PRE.pulse2.twomPulse.timerNegative[1].entryTime,pulse2.twomPulse.timerPositive[3].entryTime,$PRE.pulse2.twomPulse.timerPositive[3].entryTime,pulse2.twomPulse.timerPositive[2].entryTime,$PRE.pulse2.twomPulse.timerPositive[2].entryTime,pulse2.twomPulse.timerPositive[1].entryTime,$PRE.pulse2.twomPulse.timerPositive[1].entryTime,pulse2.twomPulse.negativeThreshold[3].y,pulse2.twomPulse.negativeThreshold[2].y,pulse2.twomPulse.negativeThreshold[1].y,pulse2.twomPulse.positiveThreshold[3].y,pulse2.twomPulse.positiveThreshold[2].y,pulse2.twomPulse.positiveThreshold[1].y,rectifier.pre_n[3].y,rectifier.pre_n[3].u,$PRE.rectifier.pre_n[3].u,rectifier.pre_n[2].y,rectifier.pre_n[2].u,$PRE.rectifier.pre_n[2].u,rectifier.pre_n[1].y,rectifier.pre_n[1].u,$PRE.rectifier.pre_n[1].u,rectifier.pre_p[3].y,rectifier.pre_p[3].u,$PRE.rectifier.pre_p[3].u,rectifier.pre_p[2].y,rectifier.pre_p[2].u,$PRE.rectifier.pre_p[2].u,rectifier.pre_p[1].y,rectifier.pre_p[1].u,$PRE.rectifier.pre_p[1].u,rectifier.thyristor_n.idealThyristor[3].off,$PRE.rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,$PRE.rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[1].off,$PRE.rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[1].off,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 258 * Array equations: 0 * Algorithm blocks: 0 * 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): 2 systems {(1,12,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,19)} Notification: Performance of prepare postOptimizeDAE: time 0.002266/1.113, allocations: 388 kB / 474.4 MB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002055/1.115, allocations: 256.9 kB / 474.7 MB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/1.127, allocations: 2.839 MB / 477.5 MB, free: 352 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.89e-05/1.127, allocations: 20 kB / 477.5 MB, free: 332 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-05/1.127, allocations: 4 kB / 477.5 MB, free: 328 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.459e-05/1.127, allocations: 11.95 kB / 477.5 MB, free: 316 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02646/1.153, allocations: 6.341 MB / 483.9 MB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.313e-05/1.154, allocations: 4 kB / 483.9 MB, free: 9.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002506/1.156, allocations: 235.6 kB / 484.1 MB, free: 9.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00263/1.159, allocations: 0.5425 MB / 484.7 MB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000555/1.159, allocations: 59.95 kB / 484.7 MB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01697/1.176, allocations: 7.774 MB / 492.5 MB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.158e-05/1.176, allocations: 7.969 kB / 492.5 MB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01622/1.193, allocations: 4.165 MB / 496.7 MB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00348/1.196, allocations: 0.5877 MB / 497.3 MB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002015/1.198, allocations: 75.95 kB / 497.3 MB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004122/1.202, allocations: 147.8 kB / 497.5 MB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001502/1.204, allocations: 257.6 kB / 497.7 MB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005348/1.205, allocations: 55.97 kB / 497.8 MB, free: 11.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.007504/1.212, allocations: 1.801 MB / 499.6 MB, free: 9.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.122e-06/1.212, allocations: 0 / 499.6 MB, free: 9.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.01303/1.225, allocations: 1.176 MB / 0.489 GB, free: 8.504 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 17 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,pulse2.twomPulse.filter[1].firstOrder.y,pulse2.twomPulse.filter[1].transferFunction[1].x_scaled[1],pulse2.twomPulse.filter[1].transferFunction[2].x_scaled[1],pulse2.twomPulse.filter[2].firstOrder.y,pulse2.twomPulse.filter[2].transferFunction[1].x_scaled[1],pulse2.twomPulse.filter[2].transferFunction[2].x_scaled[1],pulse2.twomPulse.filter[3].firstOrder.y,pulse2.twomPulse.filter[3].transferFunction[1].x_scaled[1],pulse2.twomPulse.filter[3].transferFunction[2].x_scaled[1],inductor.i,dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,lMains.inductor[2].i,lMains.inductor[3].i) * Number of discrete variables: 48 (pulse2.twomPulse.positiveThreshold[1].y,pulse2.twomPulse.positiveThreshold[2].y,pulse2.twomPulse.positiveThreshold[3].y,pulse2.twomPulse.negativeThreshold[1].y,pulse2.twomPulse.negativeThreshold[2].y,pulse2.twomPulse.negativeThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.pre_p[1].u,rectifier.pre_p[1].y,rectifier.pre_p[2].u,rectifier.pre_p[2].y,rectifier.pre_p[3].u,rectifier.pre_p[3].y,rectifier.pre_n[1].u,rectifier.pre_n[1].y,rectifier.pre_n[2].u,rectifier.pre_n[2].y,rectifier.pre_n[3].u,rectifier.pre_n[3].y,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twomPulse.timerPositive[1].entryTime,pulse2.twomPulse.timerPositive[2].entryTime,pulse2.twomPulse.timerPositive[3].entryTime,pulse2.twomPulse.timerNegative[1].entryTime,pulse2.twomPulse.timerNegative[2].entryTime,pulse2.twomPulse.timerNegative[3].entryTime,pulse2.fire_p[1],pulse2.fire_p[2],pulse2.fire_p[3],pulse2.fire_n[1],pulse2.fire_n[2],pulse2.fire_n[3]) * Number of discrete states: 15 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre_n[3].u,rectifier.pre_n[2].u,rectifier.pre_n[1].u,rectifier.pre_p[3].u,rectifier.pre_p[2].u,rectifier.pre_p[1].u,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (145): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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): 2 systems {(1,12,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001376/1.227, allocations: 257.8 kB / 0.4893 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01887/1.246, allocations: 5.239 MB / 0.4944 GB, free: 2.938 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.184e-05/1.246, allocations: 0.5625 kB / 0.4944 GB, free: 2.938 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007241/1.253, allocations: 2.059 MB / 0.4964 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009546/1.263, allocations: 0.6264 MB / 0.497 GB, free: 228 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0321/1.295, allocations: 8.292 MB / 0.5051 GB, free: 7.883 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006454/1.301, allocations: 2.43 MB / 0.5075 GB, free: 5.422 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001926/1.303, allocations: 175.4 kB / 0.5076 GB, free: 5.25 MB / 430.1 MB Notification: Performance of SimCode: time 3.046e-06/1.303, allocations: 0 / 0.5076 GB, free: 5.25 MB / 430.1 MB Notification: Performance of Templates: time 0.5023/1.806, allocations: 95.34 MB / 0.6008 GB, free: 89.63 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_DC_Drive.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_DC_Drive.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_DC_Drive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_DC_Drive.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_DC_Drive.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_DC_Drive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_DC_Drive.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_DC_Drive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierBridge2mPulse/ThyristorBridge2mPulse_DC_Drive/ThyristorBridge2mPulse_DC_Drive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_DC_Drive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,inductor.i,lMains.inductor[2].i,lMains.inductor[3].i,meanCurrent.x,meanVoltage.x,pulse2.twomPulse.filter[1].firstOrder.y,pulse2.twomPulse.filter[1].transferFunction[1].x_scaled[1],pulse2.twomPulse.filter[1].transferFunction[2].x_scaled[1],pulse2.twomPulse.filter[2].firstOrder.y,pulse2.twomPulse.filter[2].transferFunction[1].x_scaled[1],pulse2.twomPulse.filter[2].transferFunction[2].x_scaled[1],pulse2.twomPulse.filter[3].firstOrder.y,pulse2.twomPulse.filter[3].transferFunction[1].x_scaled[1],pulse2.twomPulse.filter[3].transferFunction[2].x_scaled[1],rootMeanSquareVoltage.mean.x,meanCurrent.y,meanVoltage.y,pulse2.twomPulse.timerNegative[1].entryTime,pulse2.twomPulse.timerNegative[2].entryTime,pulse2.twomPulse.timerNegative[3].entryTime,pulse2.twomPulse.timerPositive[1].entryTime,pulse2.twomPulse.timerPositive[2].entryTime,pulse2.twomPulse.timerPositive[3].entryTime,rectifier.pre_n[1].u,rectifier.pre_n[2].u,rectifier.pre_n[3].u,rectifier.pre_p[1].u,rectifier.pre_p[2].u,rectifier.pre_p[3].u,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rootMeanSquareVoltage.mean.y Variables in the result:dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,inductor.i,lMains.inductor[2].i,lMains.inductor[3].i,meanCurrent.x,meanCurrent.y,meanVoltage.x,meanVoltage.y,pulse2.twomPulse.filter[1].firstOrder.y,pulse2.twomPulse.filter[1].transferFunction[1].x_scaled[1],pulse2.twomPulse.filter[1].transferFunction[2].x_scaled[1],pulse2.twomPulse.filter[2].firstOrder.y,pulse2.twomPulse.filter[2].transferFunction[1].x_scaled[1],pulse2.twomPulse.filter[2].transferFunction[2].x_scaled[1],pulse2.twomPulse.filter[3].firstOrder.y,pulse2.twomPulse.filter[3].transferFunction[1].x_scaled[1],pulse2.twomPulse.filter[3].transferFunction[2].x_scaled[1],pulse2.twomPulse.timerNegative[1].entryTime,pulse2.twomPulse.timerNegative[2].entryTime,pulse2.twomPulse.timerNegative[3].entryTime,pulse2.twomPulse.timerPositive[1].entryTime,pulse2.twomPulse.timerPositive[2].entryTime,pulse2.twomPulse.timerPositive[3].entryTime,rectifier.pre_n[1].u,rectifier.pre_n[2].u,rectifier.pre_n[3].u,rectifier.pre_p[1].u,rectifier.pre_p[2].u,rectifier.pre_p[3].u,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rootMeanSquareVoltage.mean.x,rootMeanSquareVoltage.mean.y,time