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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL") Notification: Performance of loadModel(Modelica): time 1.959/1.959, allocations: 194.9 MB / 210.6 MB, free: 8.355 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.884e-05/2.89e-05, allocations: 4 kB / 258.8 MB, free: 8.039 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2982, allocations: 44.5 MB / 303.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL): time 0.007287/0.3056, allocations: 4.106 MB / 307.4 MB, free: 9.492 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004058/0.3097, allocations: 1.368 MB / 308.8 MB, free: 8.117 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006113/0.3104, allocations: 39.88 kB / 308.9 MB, free: 8.078 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006346/0.311, allocations: 167 kB / 309 MB, free: 7.914 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.001127/0.3122, allocations: 275 kB / 309.3 MB, free: 7.645 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007998/0.313, allocations: 215.6 kB / 309.5 MB, free: 7.434 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.001594/0.3146, allocations: 0.7177 MB / 310.2 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.316, allocations: 0.7598 MB / 311 MB, free: 5.949 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.0007293/0.3167, allocations: 378.9 kB / 311.3 MB, free: 5.578 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008484/0.3176, allocations: 470.2 kB / 311.8 MB, free: 5.117 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.3178, allocations: 48 kB / 311.8 MB, free: 5.07 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.318, allocations: 44 kB / 311.9 MB, free: 5.027 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003667/0.3184, allocations: 291 kB / 312.2 MB, free: 4.742 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003019/0.3187, allocations: 108 kB / 312.3 MB, free: 4.637 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002492/0.3212, allocations: 1.855 MB / 314.1 MB, free: 2.777 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3212, allocations: 0 / 314.1 MB, free: 2.777 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.244e-06/0.3212, allocations: 4 kB / 314.1 MB, free: 2.773 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.226e-05/0.3213, allocations: 0 / 314.1 MB, free: 2.773 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.004301/0.3256, allocations: 1.484 MB / 315.6 MB, free: 1.234 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.3256, allocations: 12.03 kB / 315.6 MB, free: 1.223 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004465/0.3261, allocations: 162.1 kB / 315.8 MB, free: 1.062 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002159/0.3283, allocations: 0.8874 MB / 316.7 MB, free: 136 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.3284, allocations: 106.5 kB / 316.8 MB, free: 28 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003321/0.3288, allocations: 124.1 kB / 316.9 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004637/0.3334, allocations: 1.707 MB / 318.6 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.173e-05/0.3335, allocations: 4 kB / 318.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001863/0.3337, allocations: 47.98 kB / 318.7 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/0.3338, allocations: 62.5 kB / 318.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004333/0.3382, allocations: 1.45 MB / 320.2 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01208/0.3503, allocations: 4.92 MB / 325.1 MB, free: 7.516 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002495/0.3529, allocations: 0.9843 MB / 326.1 MB, free: 6.516 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.972e-05/0.353, allocations: 9.75 kB / 326.1 MB, free: 6.508 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001651/0.3546, allocations: 0.6336 MB / 326.7 MB, free: 5.855 MB / 266.7 MB Notification: Performance of pre-optimization done (n=83): time 3.587e-06/0.3546, allocations: 4 kB / 326.7 MB, free: 5.852 MB / 266.7 MB Notification: Performance of matching and sorting (n=83): time 0.005973/0.3606, allocations: 1.712 MB / 328.4 MB, free: 4.113 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.902e-05/0.3608, allocations: 123.8 kB / 328.6 MB, free: 3.969 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.3624, allocations: 0.765 MB / 329.3 MB, free: 3.195 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001463/0.3626, allocations: 57.69 kB / 329.4 MB, free: 3.133 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006657/0.3632, allocations: 0.5811 MB / 330 MB, free: 2.543 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003221/0.3636, allocations: 244.6 kB / 330.2 MB, free: 2.301 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.556e-05/0.3637, allocations: 20 kB / 330.2 MB, free: 2.281 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.3638, allocations: 345.9 kB / 330.6 MB, free: 1.938 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/0.3652, allocations: 449.7 kB / 331 MB, free: 1.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/0.3667, allocations: 0.6959 MB / 331.7 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.368, allocations: 482.7 kB / 332.2 MB, free: 232 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.368, allocations: 4 kB / 332.2 MB, free: 228 kB / 266.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003604/0.3717, allocations: 1.31 MB / 333.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001201/0.3729, allocations: 2.797 MB / 336.3 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/0.3729, allocations: 8 kB / 336.3 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009293/0.3739, allocations: 216.7 kB / 336.5 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.3751, allocations: 159.7 kB / 336.7 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005315/0.3804, allocations: 2.819 MB / 339.5 MB, free: 8.559 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.3817, allocations: 147.1 kB / 339.6 MB, free: 8.414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.3818, allocations: 39.98 kB / 339.7 MB, free: 8.375 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.3819, allocations: 4 kB / 339.7 MB, free: 8.371 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003215/0.3851, allocations: 1.199 MB / 340.9 MB, free: 7.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.3851, allocations: 4 kB / 340.9 MB, free: 7.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008003/0.3859, allocations: 221.5 kB / 341.1 MB, free: 6.941 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.387, allocations: 151.7 kB / 341.2 MB, free: 6.793 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00514/0.3921, allocations: 2.835 MB / 344.1 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.3934, allocations: 139.2 kB / 344.2 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.471e-05/0.3935, allocations: 36 kB / 344.2 MB, free: 3.648 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.001227/0.3948, allocations: 0.5396 MB / 344.8 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.395, allocations: 86.97 kB / 344.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.3953, allocations: 117 kB / 345 MB, free: 2.906 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.3953, allocations: 8 kB / 345 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3953, allocations: 0 / 345 MB, free: 2.898 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.3954, allocations: 7.984 kB / 345 MB, free: 2.891 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006344/0.4017, allocations: 2.508 MB / 347.5 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.4018, allocations: 0 / 347.5 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007764/0.4026, allocations: 83.88 kB / 347.6 MB, free: 236 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007494/0.4033, allocations: 204.8 kB / 347.8 MB, free: 28 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.677e-05/0.4034, allocations: 23.98 kB / 347.8 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005104/0.4085, allocations: 2.801 MB / 350.6 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4086, allocations: 4 kB / 350.6 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00475/0.4133, allocations: 1.788 MB / 352.4 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006941/0.4141, allocations: 275.7 kB / 352.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000232/0.4143, allocations: 24 kB / 352.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009416/0.4153, allocations: 75.92 kB / 352.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004994/0.4158, allocations: 148.4 kB / 352.9 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.154e-05/0.4159, allocations: 23.98 kB / 352.9 MB, free: 10.69 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001238/0.4171, allocations: 0.5732 MB / 353.5 MB, free: 10.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4172, allocations: 0 / 353.5 MB, free: 10.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002156/0.4193, allocations: 0.5952 MB / 354.1 MB, free: 9.516 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.0003303/0.4197, allocations: 165.9 kB / 354.3 MB, free: 9.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.005448/0.4251, allocations: 2.051 MB / 356.3 MB, free: 7.262 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/0.4252, allocations: 384 / 356.3 MB, free: 7.262 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001982/0.4272, allocations: 0.7522 MB / 357.1 MB, free: 6.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.4287, allocations: 183.3 kB / 357.2 MB, free: 6.324 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007195/0.4359, allocations: 2.965 MB / 360.2 MB, free: 3.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/0.4374, allocations: 1.41 MB / 361.6 MB, free: 1.879 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.002083/0.4395, allocations: 439.1 kB / 362 MB, free: 1.445 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.4398, allocations: 59.42 kB / 362.1 MB, free: 1.387 MB / 298.7 MB Notification: Performance of SimCode: time 1.403e-06/0.4398, allocations: 0 / 362.1 MB, free: 1.387 MB / 298.7 MB Notification: Performance of Templates: time 0.04589/0.4857, allocations: 16.33 MB / 378.4 MB, free: 1.074 MB / 314.7 MB