Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") Notification: Performance of loadModel(Modelica): time 2.072/2.072, allocations: 194.9 MB / 211.2 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.033e-05/3.024e-05, allocations: 4 kB / 258.8 MB, free: 8.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3043, allocations: 44.5 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R): time 0.007318/0.3117, allocations: 4.012 MB / 307.3 MB, free: 9.582 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004045/0.3158, allocations: 1.351 MB / 308.7 MB, free: 8.289 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007666/0.3166, allocations: 39.88 kB / 308.7 MB, free: 8.25 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006692/0.3173, allocations: 167 kB / 308.9 MB, free: 8.086 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.001399/0.3187, allocations: 271.1 kB / 309.1 MB, free: 7.82 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008823/0.3196, allocations: 211.6 kB / 309.3 MB, free: 7.613 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.001907/0.3215, allocations: 0.7059 MB / 310.1 MB, free: 6.906 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001461/0.323, allocations: 0.7636 MB / 310.8 MB, free: 6.137 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.0008871/0.324, allocations: 370.9 kB / 311.2 MB, free: 5.773 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009278/0.3249, allocations: 458.3 kB / 311.6 MB, free: 5.324 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002262/0.3252, allocations: 44 kB / 311.7 MB, free: 5.281 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002045/0.3254, allocations: 48 kB / 311.7 MB, free: 5.234 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004017/0.3258, allocations: 287 kB / 312 MB, free: 4.953 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003153/0.3261, allocations: 108 kB / 312.1 MB, free: 4.848 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00293/0.3291, allocations: 1.835 MB / 313.9 MB, free: 3.008 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3291, allocations: 0 / 313.9 MB, free: 3.008 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.075e-06/0.3291, allocations: 0 / 313.9 MB, free: 3.008 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.587e-05/0.3292, allocations: 0 / 313.9 MB, free: 3.008 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: 318 * Number of variables: 318 Notification: Performance of Generate backend data structure: time 0.004781/0.334, allocations: 1.471 MB / 315.4 MB, free: 1.484 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.3341, allocations: 8.031 kB / 315.4 MB, free: 1.477 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005721/0.3347, allocations: 162.1 kB / 315.6 MB, free: 1.316 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002382/0.3371, allocations: 0.8797 MB / 316.5 MB, free: 400 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.3373, allocations: 106.4 kB / 316.6 MB, free: 292 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003619/0.3376, allocations: 124 kB / 316.7 MB, free: 168 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004985/0.3426, allocations: 1.687 MB / 318.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.941e-05/0.3427, allocations: 0 / 318.4 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001948/0.3429, allocations: 48 kB / 318.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.3431, allocations: 58.45 kB / 318.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004742/0.3478, allocations: 1.434 MB / 319.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01328/0.3611, allocations: 4.843 MB / 324.7 MB, free: 7.902 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002686/0.3639, allocations: 0.9637 MB / 325.7 MB, free: 6.926 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-05/0.364, allocations: 8.656 kB / 325.7 MB, free: 6.918 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001752/0.3658, allocations: 0.624 MB / 326.3 MB, free: 6.273 MB / 266.7 MB Notification: Performance of pre-optimization done (n=81): time 4.248e-06/0.3658, allocations: 0.9844 kB / 326.3 MB, free: 6.273 MB / 266.7 MB Notification: Performance of matching and sorting (n=81): time 0.006395/0.3722, allocations: 1.709 MB / 328.1 MB, free: 4.539 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.3724, allocations: 115.5 kB / 328.2 MB, free: 4.402 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001732/0.3742, allocations: 0.7611 MB / 328.9 MB, free: 3.633 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002198/0.3744, allocations: 53.69 kB / 329 MB, free: 3.574 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000706/0.3751, allocations: 0.5913 MB / 329.6 MB, free: 2.977 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003831/0.3755, allocations: 244.7 kB / 329.8 MB, free: 2.734 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.56e-05/0.3756, allocations: 16 kB / 329.8 MB, free: 2.719 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.3758, allocations: 354.8 kB / 330.2 MB, free: 2.363 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/0.3772, allocations: 445.6 kB / 330.6 MB, free: 1.926 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/0.3789, allocations: 0.6842 MB / 331.3 MB, free: 1.137 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/0.3803, allocations: 486.7 kB / 331.8 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.587e-06/0.3803, allocations: 0 / 331.8 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003604/0.384, allocations: 1.255 MB / 333 MB, free: 15.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001404/0.3854, allocations: 2.79 MB / 335.8 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.192e-05/0.3855, allocations: 12 kB / 335.8 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.3866, allocations: 224.7 kB / 336 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.3877, allocations: 147.7 kB / 336.2 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005683/0.3934, allocations: 2.858 MB / 339 MB, free: 9.016 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.3949, allocations: 143.1 kB / 339.2 MB, free: 8.875 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.395, allocations: 36 kB / 339.2 MB, free: 8.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.395, allocations: 4 kB / 339.2 MB, free: 8.836 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003323/0.3984, allocations: 1.184 MB / 340.4 MB, free: 7.648 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.623e-05/0.3984, allocations: 7.953 kB / 340.4 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000796/0.3993, allocations: 220.7 kB / 340.6 MB, free: 7.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.4003, allocations: 155.9 kB / 340.8 MB, free: 7.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005625/0.406, allocations: 2.89 MB / 343.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.4071, allocations: 123.3 kB / 343.8 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.496e-05/0.4072, allocations: 39.94 kB / 343.8 MB, free: 4.086 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 (106): * Single equations (assignments): 105 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.00131/0.4085, allocations: 0.5326 MB / 344.4 MB, free: 3.551 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002928/0.4088, allocations: 90.97 kB / 344.5 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003356/0.4091, allocations: 113 kB / 344.6 MB, free: 3.344 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.4092, allocations: 8 kB / 344.6 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.4092, allocations: 0 / 344.6 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.4092, allocations: 3.984 kB / 344.6 MB, free: 3.332 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006676/0.4159, allocations: 2.492 MB / 347.1 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.416, allocations: 0 / 347.1 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007402/0.4167, allocations: 79.83 kB / 347.1 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008582/0.4176, allocations: 212.7 kB / 347.4 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/0.4177, allocations: 20 kB / 347.4 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005286/0.423, allocations: 2.735 MB / 350.1 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4231, allocations: 0 / 350.1 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00486/0.4279, allocations: 1.775 MB / 351.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007149/0.4287, allocations: 259.9 kB / 352.1 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002503/0.429, allocations: 23.98 kB / 352.2 MB, free: 11.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009847/0.43, allocations: 83.86 kB / 352.2 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005132/0.4305, allocations: 148.6 kB / 352.4 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.58e-05/0.4306, allocations: 23.98 kB / 352.4 MB, free: 11.24 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001217/0.4318, allocations: 0.5654 MB / 353 MB, free: 10.67 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4318, allocations: 0 / 353 MB, free: 10.67 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002227/0.4341, allocations: 0.5951 MB / 353.6 MB, free: 10.07 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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 (68): * Single equations (assignments): 58 * 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003374/0.4345, allocations: 160.3 kB / 353.7 MB, free: 9.906 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.005599/0.4401, allocations: 2.001 MB / 355.7 MB, free: 7.883 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.594e-05/0.4401, allocations: 8.438 kB / 355.7 MB, free: 7.875 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002168/0.4423, allocations: 0.7521 MB / 356.5 MB, free: 7.109 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.4439, allocations: 181.4 kB / 356.7 MB, free: 6.934 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008197/0.4521, allocations: 3.05 MB / 359.7 MB, free: 3.844 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/0.4537, allocations: 1.37 MB / 361.1 MB, free: 2.441 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004488/0.4541, allocations: 67.42 kB / 361.2 MB, free: 2.375 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4542, allocations: 0 / 361.2 MB, free: 2.375 MB / 298.7 MB Notification: Performance of Templates: time 0.04771/0.5019, allocations: 21.35 MB / 382.5 MB, free: 13.02 MB / 330.7 MB