Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") Notification: Performance of loadModel(Modelica): time 1.878/1.878, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.23e-05/3.249e-05, allocations: 3.938 kB / 249.6 MB, free: 15.27 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2697, allocations: 44.49 MB / 294.1 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1252/0.3949, allocations: 81.45 MB / 375.6 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.3953, allocations: 87.94 kB / 375.7 MB, free: 432 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0494/0.4447, allocations: 12.5 MB / 388.2 MB, free: 3.855 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.41e-06/0.4447, allocations: 0 / 388.2 MB, free: 3.855 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.431e-05/0.4448, allocations: 16 kB / 388.2 MB, free: 3.84 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.001812/0.4466, allocations: 0.8494 MB / 389 MB, free: 2.938 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.4467, allocations: 8.031 kB / 389 MB, free: 2.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.4469, allocations: 82.97 kB / 389.1 MB, free: 2.848 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.4479, allocations: 480.2 kB / 389.6 MB, free: 2.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.125e-05/0.448, allocations: 23.98 kB / 389.6 MB, free: 2.316 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.4481, allocations: 40 kB / 389.7 MB, free: 2.277 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001057/0.4492, allocations: 402.5 kB / 390 MB, free: 1.883 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.4505, allocations: 0.542 MB / 390.6 MB, free: 1.316 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/0.4505, allocations: 3.953 kB / 390.6 MB, free: 1.312 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.87e-05/0.4506, allocations: 0 / 390.6 MB, free: 1.312 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.4506, allocations: 16 kB / 390.6 MB, free: 1.297 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004756/0.4554, allocations: 2.196 MB / 392.8 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.4566, allocations: 446.8 kB / 393.2 MB, free: 14.55 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006106/0.4573, allocations: 230.6 kB / 393.5 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.182e-05/0.4573, allocations: 8.469 kB / 393.5 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006955/0.458, allocations: 299.2 kB / 393.8 MB, free: 14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=47): time 4.076e-06/0.4581, allocations: 0 / 393.8 MB, free: 14 MB / 346.7 MB Notification: Performance of matching and sorting (n=47): time 0.001082/0.4592, allocations: 392.8 kB / 394.1 MB, free: 13.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.4593, allocations: 156.4 kB / 394.3 MB, free: 13.42 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006305/0.4599, allocations: 357 kB / 394.6 MB, free: 13.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.043e-05/0.46, allocations: 37.69 kB / 394.7 MB, free: 13.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003197/0.4604, allocations: 354.6 kB / 395 MB, free: 12.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.4605, allocations: 130.1 kB / 395.2 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.4606, allocations: 0 / 395.2 MB, free: 12.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.4608, allocations: 334.8 kB / 395.5 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003546/0.4611, allocations: 145.1 kB / 395.6 MB, free: 12.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005203/0.4617, allocations: 296.6 kB / 395.9 MB, free: 11.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000392/0.4621, allocations: 156.7 kB / 396.1 MB, free: 11.56 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.914e-06/0.4621, allocations: 0 / 396.1 MB, free: 11.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001149/0.4633, allocations: 480.5 kB / 396.5 MB, free: 11.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009461/0.4642, allocations: 1.665 MB / 398.2 MB, free: 9.289 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.4643, allocations: 4 kB / 398.2 MB, free: 9.285 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004112/0.4647, allocations: 80.81 kB / 398.3 MB, free: 9.203 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004856/0.4652, allocations: 91.83 kB / 398.4 MB, free: 9.113 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/0.4676, allocations: 1.69 MB / 400.1 MB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006412/0.4682, allocations: 71.55 kB / 400.1 MB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.695e-05/0.4683, allocations: 24 kB / 400.2 MB, free: 7.215 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.4683, allocations: 4 kB / 400.2 MB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001041/0.4694, allocations: 427 kB / 400.6 MB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.4694, allocations: 4 kB / 400.6 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003114/0.4697, allocations: 81.34 kB / 400.7 MB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/0.4702, allocations: 91.83 kB / 400.8 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/0.4724, allocations: 1.677 MB / 402.4 MB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004497/0.4729, allocations: 59.7 kB / 402.5 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.574e-05/0.473, allocations: 24 kB / 402.5 MB, free: 4.738 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002418/0.4732, allocations: 131.9 kB / 402.6 MB, free: 4.602 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.4734, allocations: 55.3 kB / 402.7 MB, free: 4.547 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.4736, allocations: 52.95 kB / 402.7 MB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.48e-06/0.4736, allocations: 8 kB / 402.8 MB, free: 4.484 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.624e-06/0.4736, allocations: 0 / 402.8 MB, free: 4.484 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.4736, allocations: 7.984 kB / 402.8 MB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002344/0.476, allocations: 1.12 MB / 403.9 MB, free: 3.305 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.384e-06/0.476, allocations: 8.062 kB / 403.9 MB, free: 3.297 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003209/0.4764, allocations: 51.86 kB / 403.9 MB, free: 3.246 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003019/0.4767, allocations: 72.84 kB / 404 MB, free: 3.172 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.301e-05/0.4767, allocations: 4 kB / 404 MB, free: 3.168 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/0.4789, allocations: 1.592 MB / 405.6 MB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.042e-06/0.4789, allocations: 0 / 405.6 MB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.4804, allocations: 0.7075 MB / 406.3 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002925/0.4808, allocations: 164.5 kB / 406.5 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.542e-05/0.4809, allocations: 8 kB / 406.5 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004302/0.4813, allocations: 31.97 kB / 406.5 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.4815, allocations: 59.86 kB / 406.6 MB, free: 460 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.362e-05/0.4816, allocations: 12 kB / 406.6 MB, free: 448 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004378/0.482, allocations: 271 kB / 406.9 MB, free: 180 kB / 346.7 MB Notification: Performance of sort global known variables: time 8.37e-07/0.482, allocations: 0 / 406.9 MB, free: 180 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.001288/0.4833, allocations: 267 kB / 407.1 MB, free: 15.91 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 18 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p.off,rectifier.thyristor_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002297/0.4836, allocations: 128.4 kB / 407.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001714/0.4853, allocations: 0.8603 MB / 408.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.2e-06/0.4853, allocations: 6.922 kB / 408.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000614/0.4859, allocations: 321.3 kB / 408.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005674/0.4865, allocations: 61.98 kB / 408.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.4888, allocations: 0.8362 MB / 409.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007615/0.4896, allocations: 0.9258 MB / 410.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/0.4898, allocations: 47.42 kB / 410.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of SimCode: time 1.78e-06/0.4898, allocations: 0 / 410.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of Templates: time 0.0171/0.5069, allocations: 9.432 MB / 419.7 MB, free: 3.219 MB / 362.7 MB