Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|idealthyristor.off|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") Notification: Performance of loadModel(Modelica): time 1.79/1.79, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.623e-05/2.635e-05, allocations: 7.031 kB / 255.4 MB, free: 3.172 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07603/0.07608, allocations: 44.5 MB / 299.9 MB, free: 6.617 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3785/0.4547, allocations: 79.35 MB / 379.2 MB, free: 22.24 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.455, allocations: 81.95 kB / 379.3 MB, free: 22.24 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03296/0.4879, allocations: 9.116 MB / 388.4 MB, free: 20.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.488, allocations: 0 / 388.4 MB, free: 20.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.343e-05/0.488, allocations: 9.078 kB / 388.4 MB, free: 20.86 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001153/0.4892, allocations: 0.6726 MB / 389.1 MB, free: 20.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.4892, allocations: 7.812 kB / 389.1 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.4894, allocations: 58.05 kB / 389.2 MB, free: 20.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005876/0.49, allocations: 367.2 kB / 389.5 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.659e-05/0.4901, allocations: 34.56 kB / 389.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.379e-05/0.4902, allocations: 45.41 kB / 389.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000863/0.491, allocations: 418.2 kB / 390 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.4911, allocations: 7.812 kB / 390 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.806e-05/0.4911, allocations: 14.5 kB / 390 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.4912, allocations: 7.812 kB / 390 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006692/0.4918, allocations: 283 kB / 390.3 MB, free: 20.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00286/0.4947, allocations: 1.555 MB / 391.9 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000521/0.4953, allocations: 233.5 kB / 392.1 MB, free: 19.33 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.4955, allocations: 89.72 kB / 392.2 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.4955, allocations: 0 / 392.2 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004184/0.496, allocations: 211.1 kB / 392.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.032e-06/0.496, allocations: 3.844 kB / 392.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007167/0.4967, allocations: 300.3 kB / 392.7 MB, free: 19.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.4968, allocations: 113.5 kB / 392.8 MB, free: 19.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004008/0.4972, allocations: 294.9 kB / 393.1 MB, free: 18.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/0.4972, allocations: 36.7 kB / 393.1 MB, free: 18.92 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.4974, allocations: 292.4 kB / 393.4 MB, free: 18.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.369e-05/0.4975, allocations: 83.95 kB / 393.5 MB, free: 18.65 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-05/0.4975, allocations: 14.94 kB / 393.5 MB, free: 18.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.203e-05/0.4976, allocations: 325.3 kB / 393.8 MB, free: 18.33 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002344/0.4979, allocations: 105.8 kB / 393.9 MB, free: 18.33 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.4982, allocations: 248.7 kB / 394.2 MB, free: 18.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.4985, allocations: 129.8 kB / 394.3 MB, free: 18.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.812e-06/0.4985, allocations: 3.906 kB / 394.3 MB, free: 18.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007693/0.4993, allocations: 373 kB / 394.7 MB, free: 18.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003081/0.4996, allocations: 1.647 MB / 396.3 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.4996, allocations: 3.906 kB / 396.3 MB, free: 16.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002756/0.4999, allocations: 57.73 kB / 396.4 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.5002, allocations: 69.59 kB / 396.4 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.5015, allocations: 1.489 MB / 397.9 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005344/0.5021, allocations: 85.11 kB / 398 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.956e-05/0.5022, allocations: 15.16 kB / 398 MB, free: 14.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.465e-06/0.5022, allocations: 3.906 kB / 398 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006839/0.5029, allocations: 333.9 kB / 398.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.162e-06/0.5029, allocations: 3.938 kB / 398.4 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001772/0.5031, allocations: 45.91 kB / 398.4 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.5034, allocations: 54.03 kB / 398.5 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00178/0.5052, allocations: 1.49 MB / 400 MB, free: 29.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003498/0.5056, allocations: 57.33 kB / 400 MB, free: 29.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.5056, allocations: 19.69 kB / 400 MB, free: 29.5 MB / 330.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: 21 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,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_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001993/0.5058, allocations: 145.8 kB / 400.2 MB, free: 29.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.5059, allocations: 39.16 kB / 400.2 MB, free: 29.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.711e-05/0.506, allocations: 37.34 kB / 400.2 MB, free: 29.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.551e-06/0.5061, allocations: 3.906 kB / 400.2 MB, free: 29.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.33e-06/0.5061, allocations: 0 / 400.2 MB, free: 29.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.5061, allocations: 3.141 kB / 400.2 MB, free: 29.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.5075, allocations: 0.8158 MB / 401.1 MB, free: 29.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.076e-06/0.5075, allocations: 3.953 kB / 401.1 MB, free: 29.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.5077, allocations: 30.7 kB / 401.1 MB, free: 29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001747/0.5079, allocations: 39.05 kB / 401.1 MB, free: 29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.508, allocations: 3.938 kB / 401.1 MB, free: 29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/0.5095, allocations: 1.406 MB / 402.5 MB, free: 27.72 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.036e-06/0.5095, allocations: 4 kB / 402.6 MB, free: 27.72 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009656/0.5105, allocations: 0.4951 MB / 403 MB, free: 27.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.5107, allocations: 135.2 kB / 403.2 MB, free: 27.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.271e-05/0.5108, allocations: 11.64 kB / 403.2 MB, free: 27.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003499/0.5111, allocations: 42.66 kB / 403.2 MB, free: 27.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.5113, allocations: 26.7 kB / 403.3 MB, free: 27.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.5113, allocations: 11.59 kB / 403.3 MB, free: 27.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003209/0.5116, allocations: 226 kB / 403.5 MB, free: 27.35 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.44e-07/0.5117, allocations: 3.938 kB / 403.5 MB, free: 27.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001015/0.5127, allocations: 186.7 kB / 403.7 MB, free: 27.32 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 19 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001973/0.5129, allocations: 133.8 kB / 403.8 MB, free: 27.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.514, allocations: 0.6458 MB / 404.5 MB, free: 26.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.514, allocations: 3.906 kB / 404.5 MB, free: 26.97 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003748/0.5144, allocations: 237.2 kB / 404.7 MB, free: 26.85 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.5148, allocations: 50.83 kB / 404.7 MB, free: 26.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.5161, allocations: 0.5856 MB / 405.3 MB, free: 26.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005243/0.5167, allocations: 0.8383 MB / 406.2 MB, free: 25.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.5168, allocations: 29.91 kB / 406.2 MB, free: 25.88 MB / 330.7 MB Notification: Performance of SimCode: time 1.428e-06/0.5168, allocations: 0 / 406.2 MB, free: 25.88 MB / 330.7 MB Notification: Performance of Templates: time 0.009964/0.5268, allocations: 6.486 MB / 412.7 MB, free: 24.87 MB / 330.7 MB