Running command: translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadModel(Modelica): time 1.871/1.871, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.803e-05/2.807e-05, allocations: 4 kB / 269.3 MB, free: 6.406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08289/0.08294, allocations: 47.59 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3343/0.4173, allocations: 79.2 MB / 396.1 MB, free: 8.906 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/0.4175, allocations: 70.58 kB / 396.2 MB, free: 8.871 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02112/0.4387, allocations: 4.729 MB / 400.9 MB, free: 4.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.974e-06/0.4387, allocations: 4 kB / 400.9 MB, free: 4.766 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.019e-05/0.4387, allocations: 4 kB / 400.9 MB, free: 4.762 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001474/0.4402, allocations: 0.5952 MB / 401.5 MB, free: 4.133 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.4403, allocations: 12.03 kB / 401.5 MB, free: 4.121 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.4404, allocations: 23.72 kB / 401.6 MB, free: 4.098 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.4409, allocations: 267.4 kB / 401.8 MB, free: 3.816 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/0.4409, allocations: 19.95 kB / 401.9 MB, free: 3.805 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.614e-05/0.441, allocations: 18.94 kB / 401.9 MB, free: 3.793 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008941/0.4419, allocations: 241.4 kB / 402.1 MB, free: 3.613 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.442, allocations: 3.984 kB / 402.1 MB, free: 3.609 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.189e-05/0.4421, allocations: 10.84 kB / 402.1 MB, free: 3.605 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.535e-05/0.4421, allocations: 8 kB / 402.1 MB, free: 3.598 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007958/0.4429, allocations: 165.8 kB / 402.3 MB, free: 3.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004449/0.4474, allocations: 1.021 MB / 403.3 MB, free: 2.602 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005264/0.4527, allocations: 475.4 kB / 403.8 MB, free: 2.207 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008209/0.4536, allocations: 162.1 kB / 403.9 MB, free: 2.094 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.246e-05/0.4537, allocations: 4 kB / 403.9 MB, free: 2.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006891/0.4544, allocations: 172.4 kB / 404.1 MB, free: 1.934 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 6.699e-06/0.4544, allocations: 0 / 404.1 MB, free: 1.934 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.001038/0.4555, allocations: 218.4 kB / 404.3 MB, free: 1.766 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.4556, allocations: 110.6 kB / 404.4 MB, free: 1.637 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004752/0.4561, allocations: 211.6 kB / 404.6 MB, free: 1.457 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.935e-05/0.4562, allocations: 29.39 kB / 404.7 MB, free: 1.426 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.4564, allocations: 155.2 kB / 404.8 MB, free: 1.301 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.4566, allocations: 70.31 kB / 404.9 MB, free: 1.242 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.4566, allocations: 7.5 kB / 404.9 MB, free: 1.238 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002293/0.4569, allocations: 330.2 kB / 405.2 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004066/0.4573, allocations: 83.12 kB / 405.3 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004724/0.4578, allocations: 110.8 kB / 405.4 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004497/0.4583, allocations: 107.9 kB / 405.5 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.96e-06/0.4583, allocations: 0 / 405.5 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001282/0.4596, allocations: 288.1 kB / 405.8 MB, free: 484 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.287e-05/0.4597, allocations: 41.73 kB / 405.8 MB, free: 436 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.4598, allocations: 0 / 405.8 MB, free: 436 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.4598, allocations: 0 / 405.8 MB, free: 436 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005286/0.4651, allocations: 335.2 kB / 406.2 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009359/0.4746, allocations: 3.055 MB / 409.2 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.4756, allocations: 67.84 kB / 409.3 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.491e-05/0.4758, allocations: 8 kB / 409.3 MB, free: 12.82 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002392/0.476, allocations: 116.5 kB / 409.4 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.4762, allocations: 31.61 kB / 409.4 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/0.4763, allocations: 33.39 kB / 409.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.746e-06/0.4764, allocations: 0 / 409.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.869e-06/0.4764, allocations: 0 / 409.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.428e-05/0.4764, allocations: 4 kB / 409.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002933/0.4794, allocations: 0.7915 MB / 410.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.4794, allocations: 0 / 410.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005146/0.4846, allocations: 331.5 kB / 410.6 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.498e-05/0.4847, allocations: 0 / 410.6 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.481e-05/0.4848, allocations: 7.875 kB / 410.6 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009215/0.494, allocations: 3.046 MB / 413.6 MB, free: 8.414 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.22e-05/0.4941, allocations: 3.984 kB / 413.6 MB, free: 8.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.4957, allocations: 458 kB / 414.1 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001744/0.4959, allocations: 103.7 kB / 414.2 MB, free: 7.922 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.4961, allocations: 7.062 kB / 414.2 MB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009415/0.497, allocations: 55.19 kB / 414.2 MB, free: 7.867 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.4972, allocations: 23.41 kB / 414.3 MB, free: 7.848 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.465e-05/0.4973, allocations: 15.05 kB / 414.3 MB, free: 7.836 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003796/0.4977, allocations: 162.2 kB / 414.4 MB, free: 7.699 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.122e-06/0.4978, allocations: 0 / 414.4 MB, free: 7.699 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001265/0.499, allocations: 86.09 kB / 414.5 MB, free: 7.621 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (thyristor_v4_1.vControl,inductor.i) * Number of discrete variables: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003254/0.4994, allocations: 127.6 kB / 414.7 MB, free: 7.492 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006098/0.5055, allocations: 482.6 kB / 415.1 MB, free: 7.078 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/0.5056, allocations: 0 / 415.1 MB, free: 7.078 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006061/0.5117, allocations: 348.2 kB / 415.5 MB, free: 6.773 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004853/0.5122, allocations: 34.98 kB / 415.5 MB, free: 6.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.5142, allocations: 473.7 kB / 416 MB, free: 6.301 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.5147, allocations: 0.7597 MB / 416.7 MB, free: 5.512 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002315/0.5149, allocations: 22.06 kB / 416.7 MB, free: 5.492 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.5151, allocations: 19.44 kB / 416.8 MB, free: 5.473 MB / 330.7 MB Notification: Performance of SimCode: time 1.889e-06/0.5151, allocations: 0 / 416.8 MB, free: 5.473 MB / 330.7 MB Notification: Performance of Templates: time 0.01045/0.5255, allocations: 3.218 MB / 420 MB, free: 2.277 MB / 330.7 MB