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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R") Notification: Performance of loadModel(Modelica): time 1.969/1.969, allocations: 194.9 MB / 210.6 MB, free: 8.148 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.448e-05/4.438e-05, allocations: 11.91 kB / 258.8 MB, free: 7.832 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.2997, allocations: 44.49 MB / 303.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R): time 0.007083/0.3068, allocations: 4.011 MB / 307.3 MB, free: 9.562 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003971/0.3109, allocations: 1.349 MB / 308.7 MB, free: 8.207 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005741/0.3115, allocations: 39.88 kB / 308.7 MB, free: 8.168 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006344/0.3121, allocations: 167 kB / 308.9 MB, free: 8.004 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.00106/0.3132, allocations: 271.1 kB / 309.2 MB, free: 7.738 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007406/0.314, allocations: 203.7 kB / 309.4 MB, free: 7.539 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.001509/0.3155, allocations: 0.7059 MB / 310.1 MB, free: 6.832 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.3169, allocations: 0.7676 MB / 310.8 MB, free: 6.059 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.000738/0.3177, allocations: 367 kB / 311.2 MB, free: 5.699 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008076/0.3185, allocations: 462.2 kB / 311.6 MB, free: 5.246 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.3187, allocations: 44 kB / 311.7 MB, free: 5.203 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.3189, allocations: 51.94 kB / 311.7 MB, free: 5.152 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003717/0.3193, allocations: 287 kB / 312 MB, free: 4.871 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002989/0.3196, allocations: 108 kB / 312.1 MB, free: 4.766 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002488/0.3221, allocations: 1.835 MB / 314 MB, free: 2.926 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3221, allocations: 0 / 314 MB, free: 2.926 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3221, allocations: 0 / 314 MB, free: 2.926 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.066e-05/0.3222, allocations: 0 / 314 MB, free: 2.926 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.004358/0.3266, allocations: 1.471 MB / 315.4 MB, free: 1.402 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.3266, allocations: 8.031 kB / 315.4 MB, free: 1.395 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004285/0.3271, allocations: 158.1 kB / 315.6 MB, free: 1.238 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002338/0.3294, allocations: 0.8836 MB / 316.5 MB, free: 316 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.3296, allocations: 106.4 kB / 316.6 MB, free: 208 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002994/0.3299, allocations: 124 kB / 316.7 MB, free: 84 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004543/0.3345, allocations: 1.691 MB / 318.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.402e-05/0.3345, allocations: 0 / 318.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001986/0.3347, allocations: 48 kB / 318.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.665e-05/0.3349, allocations: 58.45 kB / 318.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004338/0.3392, allocations: 1.434 MB / 319.9 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01194/0.3512, allocations: 4.835 MB / 324.8 MB, free: 7.824 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/0.3537, allocations: 0.9678 MB / 325.7 MB, free: 6.844 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.151e-05/0.3538, allocations: 12.64 kB / 325.7 MB, free: 6.832 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001595/0.3554, allocations: 0.624 MB / 326.4 MB, free: 6.188 MB / 266.7 MB Notification: Performance of pre-optimization done (n=81): time 3.757e-06/0.3555, allocations: 0.9844 kB / 326.4 MB, free: 6.188 MB / 266.7 MB Notification: Performance of matching and sorting (n=81): time 0.006054/0.3615, allocations: 1.709 MB / 328.1 MB, free: 4.453 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.3617, allocations: 119.5 kB / 328.2 MB, free: 4.312 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/0.3633, allocations: 0.7572 MB / 329 MB, free: 3.547 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001532/0.3635, allocations: 53.69 kB / 329 MB, free: 3.488 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006964/0.3642, allocations: 0.5733 MB / 329.6 MB, free: 2.906 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003376/0.3645, allocations: 244.7 kB / 329.8 MB, free: 2.664 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.365e-05/0.3646, allocations: 20 kB / 329.8 MB, free: 2.645 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3648, allocations: 349.9 kB / 330.2 MB, free: 2.297 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.3661, allocations: 445.6 kB / 330.6 MB, free: 1.859 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/0.3676, allocations: 0.6842 MB / 331.3 MB, free: 1.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/0.369, allocations: 490.7 kB / 331.8 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.675e-06/0.369, allocations: 0 / 331.8 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003638/0.3726, allocations: 1.301 MB / 333.1 MB, free: 15.28 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001187/0.3739, allocations: 2.793 MB / 335.9 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/0.3739, allocations: 11.98 kB / 335.9 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009425/0.3748, allocations: 216.7 kB / 336.1 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.376, allocations: 151.7 kB / 336.2 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005385/0.3814, allocations: 2.869 MB / 339.1 MB, free: 8.887 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.3827, allocations: 147.1 kB / 339.3 MB, free: 8.742 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.596e-05/0.3828, allocations: 36 kB / 339.3 MB, free: 8.707 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.3828, allocations: 6.031 kB / 339.3 MB, free: 8.703 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003226/0.386, allocations: 1.184 MB / 340.5 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/0.3861, allocations: 11.95 kB / 340.5 MB, free: 7.504 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008238/0.3869, allocations: 224.7 kB / 340.7 MB, free: 7.281 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009878/0.3879, allocations: 147.9 kB / 340.9 MB, free: 7.137 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005213/0.3932, allocations: 2.847 MB / 343.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.3944, allocations: 135.1 kB / 343.8 MB, free: 4.027 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.896e-05/0.3945, allocations: 36 kB / 343.9 MB, free: 3.992 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.001247/0.3958, allocations: 0.5366 MB / 344.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.396, allocations: 98.86 kB / 344.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002993/0.3963, allocations: 105 kB / 344.6 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.3963, allocations: 8 kB / 344.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.3964, allocations: 4 kB / 344.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.3964, allocations: 3.984 kB / 344.6 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006319/0.4027, allocations: 2.489 MB / 347.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.4028, allocations: 0 / 347.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007144/0.4035, allocations: 83.83 kB / 347.2 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008079/0.4043, allocations: 212.7 kB / 347.4 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-05/0.4044, allocations: 15.98 kB / 347.4 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005048/0.4095, allocations: 2.731 MB / 350.1 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4095, allocations: 0 / 350.1 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004763/0.4143, allocations: 1.775 MB / 351.9 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006781/0.415, allocations: 263.8 kB / 352.2 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002455/0.4153, allocations: 24 kB / 352.2 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009391/0.4162, allocations: 79.92 kB / 352.3 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000513/0.4168, allocations: 148.4 kB / 352.4 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.783e-05/0.4168, allocations: 23.98 kB / 352.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001234/0.4181, allocations: 0.5693 MB / 353 MB, free: 10.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4181, allocations: 0 / 353 MB, free: 10.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002149/0.4203, allocations: 0.5913 MB / 353.6 MB, free: 9.973 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.000327/0.4206, allocations: 156.5 kB / 353.8 MB, free: 9.809 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.005395/0.426, allocations: 2.04 MB / 355.8 MB, free: 7.742 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.4261, allocations: 4 kB / 355.8 MB, free: 7.738 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001972/0.4281, allocations: 0.7598 MB / 356.6 MB, free: 6.965 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.4295, allocations: 184.7 kB / 356.7 MB, free: 6.789 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007514/0.437, allocations: 3.039 MB / 359.8 MB, free: 3.715 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/0.4385, allocations: 1.398 MB / 361.2 MB, free: 2.285 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.002096/0.4406, allocations: 443 kB / 361.6 MB, free: 1.848 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002598/0.4408, allocations: 51.44 kB / 361.7 MB, free: 1.797 MB / 298.7 MB Notification: Performance of SimCode: time 1.282e-06/0.4409, allocations: 0 / 361.7 MB, free: 1.797 MB / 298.7 MB Notification: Performance of Templates: time 0.04578/0.4867, allocations: 16.49 MB / 378.2 MB, free: 1.316 MB / 314.7 MB