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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 2.104/2.104, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.771e-05/2.779e-05, allocations: 4 kB / 258.8 MB, free: 8.68 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2982, allocations: 44.51 MB / 303.3 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic): time 0.007506/0.3058, allocations: 4.21 MB / 307.5 MB, free: 9.422 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004224/0.3101, allocations: 1.397 MB / 308.9 MB, free: 8.066 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007532/0.3109, allocations: 43.81 kB / 309 MB, free: 8.023 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000674/0.3116, allocations: 174.9 kB / 309.1 MB, free: 7.852 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.001344/0.3129, allocations: 287 kB / 309.4 MB, free: 7.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009152/0.3139, allocations: 219.7 kB / 309.6 MB, free: 7.355 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.001889/0.3158, allocations: 0.7414 MB / 310.4 MB, free: 6.613 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.3173, allocations: 0.7721 MB / 311.1 MB, free: 5.836 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.0008939/0.3183, allocations: 386.8 kB / 311.5 MB, free: 5.457 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009388/0.3192, allocations: 478.2 kB / 312 MB, free: 4.988 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002406/0.3195, allocations: 48 kB / 312 MB, free: 4.941 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000212/0.3197, allocations: 48 kB / 312.1 MB, free: 4.895 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004147/0.3201, allocations: 302.9 kB / 312.4 MB, free: 4.598 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003307/0.3205, allocations: 108 kB / 312.5 MB, free: 4.492 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002798/0.3233, allocations: 1.882 MB / 314.4 MB, free: 2.605 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3233, allocations: 0 / 314.4 MB, free: 2.605 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.538e-06/0.3234, allocations: 0 / 314.4 MB, free: 2.605 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.806e-05/0.3234, allocations: 3.938 kB / 314.4 MB, free: 2.602 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.004896/0.3283, allocations: 1.528 MB / 315.9 MB, free: 1.02 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.3284, allocations: 8.031 kB / 315.9 MB, free: 1.012 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006502/0.3291, allocations: 170.1 kB / 316.1 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002487/0.3316, allocations: 0.8914 MB / 317 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.3318, allocations: 102.5 kB / 317.1 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003877/0.3322, allocations: 132 kB / 317.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005557/0.3378, allocations: 1.743 MB / 318.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.369e-05/0.3379, allocations: 4 kB / 318.9 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002078/0.3381, allocations: 55.98 kB / 319 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/0.3382, allocations: 58.56 kB / 319.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005581/0.3438, allocations: 1.497 MB / 320.5 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01491/0.3588, allocations: 4.971 MB / 325.5 MB, free: 7.156 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003516/0.3624, allocations: 1.071 MB / 326.6 MB, free: 6.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-05/0.3625, allocations: 8.656 kB / 326.6 MB, free: 6.062 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001919/0.3644, allocations: 0.6719 MB / 327.3 MB, free: 5.367 MB / 266.7 MB Notification: Performance of pre-optimization done (n=85): time 4.598e-06/0.3645, allocations: 0 / 327.3 MB, free: 5.367 MB / 266.7 MB Notification: Performance of matching and sorting (n=85): time 0.006626/0.3711, allocations: 1.786 MB / 329.1 MB, free: 3.559 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.3713, allocations: 123.7 kB / 329.2 MB, free: 3.414 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.3731, allocations: 0.7575 MB / 329.9 MB, free: 2.648 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002588/0.3734, allocations: 61.69 kB / 330 MB, free: 2.582 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007122/0.3742, allocations: 0.6069 MB / 330.6 MB, free: 1.969 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004259/0.3746, allocations: 248.5 kB / 330.8 MB, free: 1.723 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.027e-05/0.3747, allocations: 20 kB / 330.9 MB, free: 1.703 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.3749, allocations: 350.8 kB / 331.2 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/0.3764, allocations: 473.7 kB / 331.7 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/0.3781, allocations: 0.7155 MB / 332.4 MB, free: 68 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/0.3796, allocations: 0.491 MB / 332.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.3797, allocations: 4 kB / 332.9 MB, free: 15.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003873/0.3836, allocations: 1.306 MB / 334.2 MB, free: 14.25 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00121/0.3848, allocations: 2.798 MB / 337 MB, free: 11.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.694e-05/0.3849, allocations: 8 kB / 337 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009817/0.3859, allocations: 216.8 kB / 337.2 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.3872, allocations: 167.7 kB / 337.4 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005645/0.3929, allocations: 2.822 MB / 340.2 MB, free: 7.891 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.3944, allocations: 151.1 kB / 340.3 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001972/0.3946, allocations: 40.14 kB / 340.4 MB, free: 7.703 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.3947, allocations: 8 kB / 340.4 MB, free: 7.695 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004101/0.3988, allocations: 1.246 MB / 341.6 MB, free: 6.445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.081e-05/0.3989, allocations: 8 kB / 341.6 MB, free: 6.438 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008251/0.3997, allocations: 220.8 kB / 341.9 MB, free: 6.219 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.401, allocations: 163.8 kB / 342 MB, free: 6.059 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005706/0.4068, allocations: 2.857 MB / 344.9 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.408, allocations: 135.3 kB / 345 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.4083, allocations: 36 kB / 345 MB, free: 2.902 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.001545/0.4098, allocations: 0.5443 MB / 345.6 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003335/0.4102, allocations: 90.88 kB / 345.7 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003763/0.4106, allocations: 121.4 kB / 345.8 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.4106, allocations: 8 kB / 345.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.4106, allocations: 0 / 345.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.4106, allocations: 3.984 kB / 345.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007653/0.4183, allocations: 2.551 MB / 348.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/0.4183, allocations: 0 / 348.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009136/0.4193, allocations: 99.88 kB / 348.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000793/0.4201, allocations: 200.7 kB / 348.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/0.4203, allocations: 12.75 kB / 348.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005329/0.4256, allocations: 2.814 MB / 351.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4257, allocations: 0 / 351.5 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005202/0.4309, allocations: 1.826 MB / 353.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007356/0.4317, allocations: 271.8 kB / 353.6 MB, free: 10.13 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002476/0.4319, allocations: 19.98 kB / 353.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.433, allocations: 91.86 kB / 353.7 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005188/0.4335, allocations: 140.7 kB / 353.8 MB, free: 9.879 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.825e-05/0.4336, allocations: 31.98 kB / 353.8 MB, free: 9.848 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001292/0.4349, allocations: 0.577 MB / 354.4 MB, free: 9.266 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.32e-07/0.435, allocations: 4 kB / 354.4 MB, free: 9.262 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002684/0.4377, allocations: 0.6185 MB / 355 MB, free: 8.641 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.0004196/0.4381, allocations: 156.5 kB / 355.2 MB, free: 8.477 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.006605/0.4448, allocations: 2.088 MB / 357.3 MB, free: 6.371 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/0.4448, allocations: 4.625 kB / 357.3 MB, free: 6.367 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002336/0.4472, allocations: 0.7112 MB / 358 MB, free: 5.645 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.4487, allocations: 183.7 kB / 358.2 MB, free: 5.469 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007128/0.4558, allocations: 3.003 MB / 361.2 MB, free: 2.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/0.4573, allocations: 1.382 MB / 362.6 MB, free: 1.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004774/0.4578, allocations: 71.42 kB / 362.6 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of SimCode: time 1.283e-06/0.4578, allocations: 0 / 362.6 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of Templates: time 0.04641/0.5043, allocations: 21.92 MB / 384.6 MB, free: 11.03 MB / 330.7 MB