Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulsem.twomPulse.timerNegative.1..entryTime|pulsem.twomPulse.timerNegative.2..entryTime|pulsem.twomPulse.timerNegative.3..entryTime|pulsem.twomPulse.timerPositive.1..entryTime|pulsem.twomPulse.timerPositive.2..entryTime|pulsem.twomPulse.timerPositive.3..entryTime|rectifier.thyristor.idealThyristor.1..off|rectifier.thyristor.idealThyristor.2..off|rectifier.thyristor.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 1.912/1.912, allocations: 194.9 MB / 210.6 MB, free: 8.34 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.649e-05/2.651e-05, allocations: 4 kB / 258.8 MB, free: 8.027 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2914, allocations: 44.51 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic): time 0.007155/0.2986, allocations: 4.215 MB / 307.6 MB, free: 9.367 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004047/0.3027, allocations: 1.392 MB / 309 MB, free: 7.969 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006852/0.3035, allocations: 39.88 kB / 309 MB, free: 7.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006435/0.3041, allocations: 178.9 kB / 309.2 MB, free: 7.754 MB / 250.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5325:20-5325:43:writable] Warning: 'each' used when modifying non-array element thyristor. Notification: Performance of NFTyping.typeBindings: time 0.001086/0.3052, allocations: 279 kB / 309.4 MB, free: 7.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007559/0.306, allocations: 227.6 kB / 309.7 MB, free: 7.258 MB / 250.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5325:20-5325:43:writable] Warning: 'each' used when modifying non-array element thyristor. Notification: Performance of NFFlatten.flatten: time 0.001382/0.3074, allocations: 0.7336 MB / 310.4 MB, free: 6.523 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.3088, allocations: 0.7721 MB / 311.2 MB, free: 5.746 MB / 250.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5325:20-5325:43:writable] Warning: 'each' used when modifying non-array element thyristor. Notification: Performance of NFEvalConstants.evaluate: time 0.0008062/0.3097, allocations: 390.9 kB / 311.5 MB, free: 5.363 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008428/0.3105, allocations: 486.2 kB / 312 MB, free: 4.887 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/0.3108, allocations: 48 kB / 312.1 MB, free: 4.84 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001583/0.3109, allocations: 48 kB / 312.1 MB, free: 4.793 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003622/0.3113, allocations: 294.9 kB / 312.4 MB, free: 4.504 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003308/0.3116, allocations: 108 kB / 312.5 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.3141, allocations: 1.886 MB / 314.4 MB, free: 2.508 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.3142, allocations: 0 / 314.4 MB, free: 2.508 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.3142, allocations: 0 / 314.4 MB, free: 2.508 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.474e-05/0.3142, allocations: 0 / 314.4 MB, free: 2.508 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.004548/0.3188, allocations: 1.528 MB / 315.9 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.3188, allocations: 8.031 kB / 315.9 MB, free: 0.918 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004697/0.3193, allocations: 166.1 kB / 316.1 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002155/0.3215, allocations: 0.8954 MB / 317 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.3216, allocations: 106.5 kB / 317.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002949/0.3219, allocations: 124 kB / 317.2 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004754/0.3267, allocations: 1.751 MB / 319 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.658e-05/0.3268, allocations: 4 kB / 319 MB, free: 13.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001927/0.327, allocations: 52 kB / 319 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-05/0.3271, allocations: 58.5 kB / 319.1 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004532/0.3317, allocations: 1.497 MB / 320.6 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01213/0.3438, allocations: 4.975 MB / 325.6 MB, free: 7.055 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003136/0.347, allocations: 1.067 MB / 326.6 MB, free: 5.973 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.121e-05/0.3471, allocations: 12.64 kB / 326.6 MB, free: 5.961 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001775/0.3489, allocations: 0.668 MB / 327.3 MB, free: 5.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=85): time 3.456e-06/0.3489, allocations: 0 / 327.3 MB, free: 5.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=85): time 0.006296/0.3552, allocations: 1.779 MB / 329.1 MB, free: 3.469 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.3554, allocations: 127.8 kB / 329.2 MB, free: 3.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.357, allocations: 0.7575 MB / 330 MB, free: 2.555 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000176/0.3572, allocations: 61.69 kB / 330 MB, free: 2.488 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007094/0.358, allocations: 0.5927 MB / 330.6 MB, free: 1.887 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003435/0.3583, allocations: 260.5 kB / 330.9 MB, free: 1.629 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.812e-05/0.3584, allocations: 20 kB / 330.9 MB, free: 1.609 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.3586, allocations: 345.9 kB / 331.2 MB, free: 1.266 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/0.3601, allocations: 469.7 kB / 331.7 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/0.3617, allocations: 0.7115 MB / 332.4 MB, free: 15.99 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.3632, allocations: 0.491 MB / 332.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.3632, allocations: 4 kB / 332.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003927/0.3671, allocations: 1.365 MB / 334.3 MB, free: 14.12 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001133/0.3683, allocations: 2.793 MB / 337 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/0.3684, allocations: 8 kB / 337.1 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009069/0.3693, allocations: 220.7 kB / 337.3 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.3705, allocations: 167.7 kB / 337.4 MB, free: 10.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005152/0.3757, allocations: 2.826 MB / 340.3 MB, free: 7.754 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.3771, allocations: 155.1 kB / 340.4 MB, free: 7.602 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.3772, allocations: 39.98 kB / 340.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.3772, allocations: 8 kB / 340.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003434/0.3806, allocations: 1.239 MB / 341.7 MB, free: 6.312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.3807, allocations: 8 kB / 341.7 MB, free: 6.305 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007792/0.3815, allocations: 224.6 kB / 341.9 MB, free: 6.082 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.3826, allocations: 159.9 kB / 342.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005056/0.3876, allocations: 2.827 MB / 344.9 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.389, allocations: 143.2 kB / 345 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.676e-05/0.3891, allocations: 40 kB / 345.1 MB, free: 2.789 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.001203/0.3903, allocations: 0.5365 MB / 345.6 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002308/0.3905, allocations: 98.86 kB / 345.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.3908, allocations: 113.4 kB / 345.8 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.3909, allocations: 8 kB / 345.8 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.3909, allocations: 0 / 345.8 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.3909, allocations: 3.984 kB / 345.8 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006572/0.3975, allocations: 2.559 MB / 348.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.3975, allocations: 0 / 348.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008744/0.3984, allocations: 103.9 kB / 348.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007503/0.3992, allocations: 188.7 kB / 348.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.848e-05/0.3993, allocations: 20.73 kB / 348.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005066/0.4044, allocations: 2.806 MB / 351.5 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.4044, allocations: 0 / 351.5 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005002/0.4094, allocations: 1.833 MB / 353.3 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006156/0.4101, allocations: 267.9 kB / 353.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/0.4103, allocations: 23.98 kB / 353.6 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009804/0.4113, allocations: 91.86 kB / 353.7 MB, free: 9.906 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005104/0.4119, allocations: 144.8 kB / 353.9 MB, free: 9.762 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.229e-05/0.412, allocations: 23.98 kB / 353.9 MB, free: 9.738 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001213/0.4132, allocations: 0.5809 MB / 354.5 MB, free: 9.156 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4132, allocations: 7.938 kB / 354.5 MB, free: 9.148 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002092/0.4153, allocations: 0.6107 MB / 355.1 MB, free: 8.535 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003208/0.4156, allocations: 156.3 kB / 355.2 MB, free: 8.367 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.005689/0.4213, allocations: 2.108 MB / 357.3 MB, free: 6.234 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.4214, allocations: 8 kB / 357.4 MB, free: 6.227 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001876/0.4233, allocations: 0.715 MB / 358.1 MB, free: 5.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.4247, allocations: 187.8 kB / 358.3 MB, free: 5.316 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006885/0.4316, allocations: 3.01 MB / 361.3 MB, free: 2.277 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/0.4331, allocations: 1.41 MB / 362.7 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.002149/0.4353, allocations: 447.1 kB / 363.1 MB, free: 408 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002976/0.4357, allocations: 63.42 kB / 363.2 MB, free: 344 kB / 298.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4357, allocations: 0 / 363.2 MB, free: 344 kB / 298.7 MB Notification: Performance of Templates: time 0.04612/0.4818, allocations: 16.59 MB / 379.8 MB, free: 15.75 MB / 330.7 MB