Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,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_RL") Notification: Performance of loadModel(Modelica): time 2.189/2.189, allocations: 194.9 MB / 211.2 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.665e-05/3.666e-05, allocations: 7.984 kB / 258.8 MB, free: 8.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.369, allocations: 44.48 MB / 303.3 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL): time 0.01195/0.381, allocations: 4.109 MB / 307.4 MB, free: 9.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00629/0.3874, allocations: 1.374 MB / 308.8 MB, free: 8.164 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.3886, allocations: 39.88 kB / 308.8 MB, free: 8.125 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.3898, allocations: 167 kB / 309 MB, free: 7.961 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.002169/0.392, allocations: 279 kB / 309.3 MB, free: 7.688 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.3935, allocations: 215.6 kB / 309.5 MB, free: 7.477 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.002873/0.3964, allocations: 0.7215 MB / 310.2 MB, free: 6.754 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002374/0.3989, allocations: 0.7676 MB / 311 MB, free: 5.98 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.001134/0.4, allocations: 370.9 kB / 311.3 MB, free: 5.617 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.4011, allocations: 470.2 kB / 311.8 MB, free: 5.156 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002743/0.4014, allocations: 44 kB / 311.8 MB, free: 5.113 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002387/0.4016, allocations: 48 kB / 311.9 MB, free: 5.066 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003907/0.402, allocations: 287 kB / 312.1 MB, free: 4.785 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000337/0.4024, allocations: 108 kB / 312.3 MB, free: 4.68 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002791/0.4052, allocations: 1.862 MB / 314.1 MB, free: 2.812 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4052, allocations: 3.938 kB / 314.1 MB, free: 2.809 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.327e-06/0.4053, allocations: 0 / 314.1 MB, free: 2.809 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.993e-05/0.4053, allocations: 0 / 314.1 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.004787/0.4101, allocations: 1.488 MB / 315.6 MB, free: 1.266 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.4102, allocations: 8.031 kB / 315.6 MB, free: 1.258 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005943/0.4108, allocations: 158.1 kB / 315.8 MB, free: 1.102 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002502/0.4133, allocations: 0.8952 MB / 316.7 MB, free: 168 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.4135, allocations: 102.5 kB / 316.8 MB, free: 64 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003972/0.4139, allocations: 128.1 kB / 316.9 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005107/0.4191, allocations: 1.703 MB / 318.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-05/0.4192, allocations: 0 / 318.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001934/0.4194, allocations: 52 kB / 318.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/0.4195, allocations: 58.5 kB / 318.7 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004729/0.4242, allocations: 1.446 MB / 320.1 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01363/0.4379, allocations: 4.916 MB / 325.1 MB, free: 7.562 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002708/0.4407, allocations: 0.9893 MB / 326.1 MB, free: 6.559 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.48e-05/0.4408, allocations: 8.641 kB / 326.1 MB, free: 6.551 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001719/0.4425, allocations: 0.6329 MB / 326.7 MB, free: 5.898 MB / 266.7 MB Notification: Performance of pre-optimization done (n=83): time 4.87e-06/0.4426, allocations: 0 / 326.7 MB, free: 5.898 MB / 266.7 MB Notification: Performance of matching and sorting (n=83): time 0.006224/0.4488, allocations: 1.716 MB / 328.4 MB, free: 4.156 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.449, allocations: 123.8 kB / 328.5 MB, free: 4.012 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.4508, allocations: 0.7611 MB / 329.3 MB, free: 3.242 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002588/0.4511, allocations: 57.69 kB / 329.3 MB, free: 3.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006859/0.4518, allocations: 0.5914 MB / 329.9 MB, free: 2.582 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003818/0.4522, allocations: 248.6 kB / 330.2 MB, free: 2.336 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.637e-05/0.4523, allocations: 20 kB / 330.2 MB, free: 2.316 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.4524, allocations: 350.8 kB / 330.5 MB, free: 1.965 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.4538, allocations: 453.7 kB / 331 MB, free: 1.523 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.4553, allocations: 0.692 MB / 331.7 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001338/0.4567, allocations: 478.8 kB / 332.1 MB, free: 264 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.405e-05/0.4567, allocations: 4 kB / 332.2 MB, free: 260 kB / 266.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003552/0.4603, allocations: 1.263 MB / 333.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001206/0.4616, allocations: 2.793 MB / 336.2 MB, free: 11.97 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/0.4616, allocations: 8 kB / 336.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009334/0.4626, allocations: 216.7 kB / 336.4 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.4638, allocations: 159.7 kB / 336.6 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00527/0.4691, allocations: 2.823 MB / 339.4 MB, free: 8.637 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.4704, allocations: 147 kB / 339.5 MB, free: 8.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.4705, allocations: 36 kB / 339.6 MB, free: 8.457 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.4706, allocations: 5.406 kB / 339.6 MB, free: 8.453 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003334/0.4739, allocations: 1.199 MB / 340.8 MB, free: 7.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-05/0.474, allocations: 8 kB / 340.8 MB, free: 7.238 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007433/0.4747, allocations: 212.7 kB / 341 MB, free: 7.027 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.4759, allocations: 156 kB / 341.2 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005226/0.4811, allocations: 2.869 MB / 344 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.4822, allocations: 135.3 kB / 344.2 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.4823, allocations: 36 kB / 344.2 MB, free: 3.703 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 (110): * Single equations (assignments): 109 * 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.001405/0.4837, allocations: 0.5326 MB / 344.7 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003181/0.484, allocations: 94.88 kB / 344.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003443/0.4844, allocations: 105 kB / 344.9 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.4844, allocations: 11.98 kB / 344.9 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.4844, allocations: 4 kB / 344.9 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.4845, allocations: 3.984 kB / 344.9 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007565/0.492, allocations: 2.512 MB / 347.5 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.4921, allocations: 0 / 347.5 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008426/0.493, allocations: 83.89 kB / 347.5 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008201/0.4938, allocations: 196.8 kB / 347.7 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001489/0.494, allocations: 23.98 kB / 347.8 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005632/0.4996, allocations: 2.807 MB / 350.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.4997, allocations: 0 / 350.6 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006099/0.5058, allocations: 1.795 MB / 352.4 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/0.5069, allocations: 267.8 kB / 352.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003739/0.5073, allocations: 20 kB / 352.6 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/0.5086, allocations: 83.92 kB / 352.7 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000676/0.5093, allocations: 136.4 kB / 352.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001217/0.5095, allocations: 27.98 kB / 352.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00183/0.5113, allocations: 0.577 MB / 353.5 MB, free: 10.17 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.41e-07/0.5114, allocations: 0 / 353.5 MB, free: 10.17 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.003997/0.5154, allocations: 0.599 MB / 354.1 MB, free: 9.566 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 (71): * Single equations (assignments): 61 * 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.0005042/0.5159, allocations: 169.9 kB / 354.2 MB, free: 9.391 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.007899/0.5239, allocations: 2.006 MB / 356.2 MB, free: 7.359 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/0.5239, allocations: 2.062 kB / 356.2 MB, free: 7.359 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002731/0.5267, allocations: 0.7483 MB / 357 MB, free: 6.602 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/0.5288, allocations: 183.4 kB / 357.2 MB, free: 6.422 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.5391, allocations: 2.98 MB / 360.1 MB, free: 3.398 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002115/0.5413, allocations: 1.374 MB / 361.5 MB, free: 1.992 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006085/0.5419, allocations: 67.44 kB / 361.6 MB, free: 1.926 MB / 298.7 MB Notification: Performance of SimCode: time 1.383e-06/0.542, allocations: 0 / 361.6 MB, free: 1.926 MB / 298.7 MB Notification: Performance of Templates: time 0.06369/0.6057, allocations: 21.54 MB / 383.1 MB, free: 12.4 MB / 330.7 MB