Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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") Notification: Performance of loadModel(Modelica): time 2.244/2.244, allocations: 194.9 MB / 211.2 MB, free: 9.32 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.068e-05/3.07e-05, allocations: 7.984 kB / 258.8 MB, free: 9.648 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3217, allocations: 44.5 MB / 303.3 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV): time 0.0075/0.3293, allocations: 4.182 MB / 307.5 MB, free: 9.348 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004408/0.3338, allocations: 1.387 MB / 308.9 MB, free: 8.227 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009346/0.3348, allocations: 42.12 kB / 308.9 MB, free: 8.191 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007339/0.3355, allocations: 171 kB / 309.1 MB, free: 8.023 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.001647/0.3372, allocations: 283 kB / 309.4 MB, free: 7.746 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.3384, allocations: 219.6 kB / 309.6 MB, free: 7.531 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.002167/0.3406, allocations: 0.7293 MB / 310.3 MB, free: 6.801 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00153/0.3421, allocations: 0.7717 MB / 311.1 MB, free: 6.023 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.0008969/0.3431, allocations: 374.9 kB / 311.4 MB, free: 5.656 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009398/0.344, allocations: 482.2 kB / 311.9 MB, free: 5.184 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002351/0.3443, allocations: 48 kB / 312 MB, free: 5.137 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001989/0.3445, allocations: 48 kB / 312 MB, free: 5.09 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003846/0.3449, allocations: 294.9 kB / 312.3 MB, free: 4.801 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003312/0.3452, allocations: 108 kB / 312.4 MB, free: 4.695 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002778/0.348, allocations: 1.878 MB / 314.3 MB, free: 2.812 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3481, allocations: 0 / 314.3 MB, free: 2.812 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.3481, allocations: 3.938 kB / 314.3 MB, free: 2.809 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.393e-05/0.3482, allocations: 0 / 314.3 MB, free: 2.809 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.00479/0.353, allocations: 1.501 MB / 315.8 MB, free: 1.254 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.3531, allocations: 12.03 kB / 315.8 MB, free: 1.242 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005571/0.3536, allocations: 166.1 kB / 316 MB, free: 1.078 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002475/0.3561, allocations: 0.8952 MB / 316.9 MB, free: 144 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/0.3563, allocations: 102.5 kB / 317 MB, free: 40 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004305/0.3568, allocations: 132.1 kB / 317.1 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005061/0.3618, allocations: 1.728 MB / 318.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.136e-05/0.3619, allocations: 0 / 318.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002253/0.3622, allocations: 55.97 kB / 318.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/0.3623, allocations: 58.55 kB / 318.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004726/0.367, allocations: 1.454 MB / 320.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0131/0.3802, allocations: 4.96 MB / 325.3 MB, free: 7.457 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002624/0.3829, allocations: 0.9893 MB / 326.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.789e-05/0.383, allocations: 12.64 kB / 326.3 MB, free: 6.441 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001677/0.3847, allocations: 0.6418 MB / 327 MB, free: 5.777 MB / 266.7 MB Notification: Performance of pre-optimization done (n=84): time 4.649e-06/0.3847, allocations: 4 kB / 327 MB, free: 5.773 MB / 266.7 MB Notification: Performance of matching and sorting (n=84): time 0.006067/0.3908, allocations: 1.716 MB / 328.7 MB, free: 4.035 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.3909, allocations: 127.7 kB / 328.8 MB, free: 3.887 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/0.3926, allocations: 0.7692 MB / 329.6 MB, free: 3.109 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002203/0.3929, allocations: 57.69 kB / 329.7 MB, free: 3.047 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007249/0.3936, allocations: 0.603 MB / 330.3 MB, free: 2.438 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004481/0.3941, allocations: 252.5 kB / 330.5 MB, free: 2.188 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.774e-05/0.3942, allocations: 20 kB / 330.5 MB, free: 2.168 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.3944, allocations: 350.8 kB / 330.9 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001366/0.3958, allocations: 453.7 kB / 331.3 MB, free: 1.371 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/0.3974, allocations: 0.692 MB / 332 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.3989, allocations: 482.8 kB / 332.5 MB, free: 108 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.3989, allocations: 0 / 332.5 MB, free: 108 kB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003634/0.4026, allocations: 1.275 MB / 333.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001355/0.404, allocations: 2.793 MB / 336.5 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.807e-05/0.404, allocations: 4 kB / 336.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009659/0.405, allocations: 220.7 kB / 336.8 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.4062, allocations: 155.7 kB / 336.9 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005489/0.4118, allocations: 2.838 MB / 339.7 MB, free: 8.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.4131, allocations: 143.1 kB / 339.9 MB, free: 8.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.4133, allocations: 36 kB / 339.9 MB, free: 8.285 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.4133, allocations: 4 kB / 339.9 MB, free: 8.281 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003394/0.4167, allocations: 1.207 MB / 341.1 MB, free: 7.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.62e-05/0.4168, allocations: 8 kB / 341.1 MB, free: 7.062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007718/0.4176, allocations: 213.2 kB / 341.3 MB, free: 6.852 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.4187, allocations: 151.7 kB / 341.5 MB, free: 6.703 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005401/0.4241, allocations: 2.869 MB / 344.4 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/0.4252, allocations: 127.3 kB / 344.5 MB, free: 3.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.4253, allocations: 36 kB / 344.5 MB, free: 3.535 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 (111): * Single equations (assignments): 110 * 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.001337/0.4267, allocations: 0.5334 MB / 345.1 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002948/0.427, allocations: 90.88 kB / 345.1 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003357/0.4273, allocations: 121.1 kB / 345.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/0.4273, allocations: 8 kB / 345.3 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.4274, allocations: 4 kB / 345.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.4274, allocations: 3.984 kB / 345.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007422/0.4348, allocations: 2.528 MB / 347.8 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.4349, allocations: 0 / 347.8 MB, free: 176 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008219/0.4357, allocations: 87.94 kB / 347.9 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008305/0.4366, allocations: 204.7 kB / 348.1 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001534/0.4368, allocations: 23.98 kB / 348.1 MB, free: 15.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005522/0.4423, allocations: 2.802 MB / 350.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/0.4423, allocations: 4.797 kB / 350.9 MB, free: 12.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005936/0.4483, allocations: 1.807 MB / 352.7 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/0.4495, allocations: 263.8 kB / 353 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003609/0.4499, allocations: 23.98 kB / 353 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001556/0.4514, allocations: 83.92 kB / 353.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008012/0.4523, allocations: 144.4 kB / 353.2 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/0.4525, allocations: 23.98 kB / 353.3 MB, free: 10.53 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001898/0.4544, allocations: 0.5771 MB / 353.8 MB, free: 9.949 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.383e-06/0.4544, allocations: 7.938 kB / 353.8 MB, free: 9.941 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.003857/0.4583, allocations: 0.6107 MB / 354.5 MB, free: 9.328 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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[1].off,rectifier.thyristor.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 62 * 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.0005016/0.4589, allocations: 161.9 kB / 354.6 MB, free: 9.156 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.008625/0.4675, allocations: 2.023 MB / 356.6 MB, free: 7.109 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-05/0.4676, allocations: 448 / 356.6 MB, free: 7.109 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00326/0.4709, allocations: 0.7444 MB / 357.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002351/0.4733, allocations: 183.9 kB / 357.6 MB, free: 6.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007863/0.4812, allocations: 3.011 MB / 360.6 MB, free: 3.129 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/0.4828, allocations: 1.382 MB / 362 MB, free: 1.719 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004595/0.4833, allocations: 71.42 kB / 362 MB, free: 1.648 MB / 298.7 MB Notification: Performance of SimCode: time 9.32e-07/0.4833, allocations: 0 / 362 MB, free: 1.648 MB / 298.7 MB Notification: Performance of Templates: time 0.04677/0.5301, allocations: 21.75 MB / 383.8 MB, free: 11.9 MB / 330.7 MB