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_4.0.0_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadModel(Modelica): time 2.037/2.037, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.02e-05/3.036e-05, allocations: 5.406 kB / 292.1 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08933/0.08938, allocations: 50.41 MB / 342.6 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4218/0.5112, allocations: 81.11 MB / 423.7 MB, free: 13.1 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.5115, allocations: 69.89 kB / 423.7 MB, free: 13.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02038/0.5319, allocations: 4.893 MB / 428.6 MB, free: 8.816 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5319, allocations: 4 kB / 428.6 MB, free: 8.812 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.532, allocations: 4 kB / 428.6 MB, free: 8.809 MB / 346.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.001393/0.5334, allocations: 0.6086 MB / 429.2 MB, free: 8.168 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.5334, allocations: 12.03 kB / 429.3 MB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.033e-05/0.5335, allocations: 27.72 kB / 429.3 MB, free: 8.129 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004141/0.5339, allocations: 260.8 kB / 429.5 MB, free: 7.852 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.534, allocations: 15.31 kB / 429.6 MB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.992e-05/0.5341, allocations: 19.75 kB / 429.6 MB, free: 7.832 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000561/0.5346, allocations: 237.5 kB / 429.8 MB, free: 7.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.5347, allocations: 7.953 kB / 429.8 MB, free: 7.652 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.5347, allocations: 3.875 kB / 429.8 MB, free: 7.652 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.221e-06/0.5348, allocations: 8 kB / 429.8 MB, free: 7.645 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004907/0.5353, allocations: 179.9 kB / 430 MB, free: 7.535 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/0.5377, allocations: 1.011 MB / 431 MB, free: 6.645 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0031/0.5408, allocations: 478.5 kB / 431.5 MB, free: 6.25 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004382/0.5413, allocations: 156.7 kB / 431.6 MB, free: 6.141 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.5413, allocations: 3.312 kB / 431.6 MB, free: 6.141 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004094/0.5417, allocations: 175.9 kB / 431.8 MB, free: 5.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 3.498e-06/0.5418, allocations: 0 / 431.8 MB, free: 5.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006197/0.5424, allocations: 212.6 kB / 432 MB, free: 5.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.349e-05/0.5425, allocations: 114.1 kB / 432.1 MB, free: 5.688 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002945/0.5428, allocations: 204 kB / 432.3 MB, free: 5.512 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.906e-05/0.5429, allocations: 33.08 kB / 432.4 MB, free: 5.477 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.543, allocations: 165.4 kB / 432.5 MB, free: 5.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.982e-05/0.5431, allocations: 68.91 kB / 432.6 MB, free: 5.285 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/0.5432, allocations: 0 / 432.6 MB, free: 5.285 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.5434, allocations: 346.1 kB / 432.9 MB, free: 4.949 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002284/0.5436, allocations: 80.44 kB / 433 MB, free: 4.898 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.5439, allocations: 110.2 kB / 433.1 MB, free: 4.816 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.5441, allocations: 110.9 kB / 433.2 MB, free: 4.738 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.043e-06/0.5441, allocations: 0 / 433.2 MB, free: 4.738 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006835/0.5448, allocations: 284.1 kB / 433.5 MB, free: 4.516 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.566e-05/0.5449, allocations: 29.7 kB / 433.5 MB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5449, allocations: 4.094 kB / 433.5 MB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.545, allocations: 4 kB / 433.5 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002688/0.5476, allocations: 331.6 kB / 433.9 MB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005369/0.553, allocations: 3.053 MB / 436.9 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005332/0.5536, allocations: 62.95 kB / 437 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/0.5537, allocations: 15.05 kB / 437 MB, free: 0.8711 MB / 346.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.0001531/0.5538, allocations: 121 kB / 437.1 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.584e-05/0.5539, allocations: 23.72 kB / 437.1 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.421e-05/0.554, allocations: 30.39 kB / 437.2 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.554, allocations: 4 kB / 437.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.914e-06/0.554, allocations: 3.953 kB / 437.2 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.552e-06/0.5541, allocations: 0 / 437.2 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.5557, allocations: 0.7949 MB / 438 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.671e-06/0.5558, allocations: 0 / 438 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002615/0.5584, allocations: 326.9 kB / 438.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.298e-06/0.5584, allocations: 0 / 438.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.222e-05/0.5585, allocations: 11.94 kB / 438.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005275/0.5638, allocations: 3.047 MB / 441.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.997e-06/0.5638, allocations: 4.031 kB / 441.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009581/0.5648, allocations: 459.7 kB / 441.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.5649, allocations: 96.86 kB / 441.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.103e-05/0.565, allocations: 7.75 kB / 441.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004983/0.5655, allocations: 51.14 kB / 441.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.5656, allocations: 35.09 kB / 442 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/0.5657, allocations: 11.36 kB / 442 MB, free: 11.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002236/0.5659, allocations: 165.2 kB / 442.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.69e-07/0.5659, allocations: 0 / 442.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006792/0.5666, allocations: 94.83 kB / 442.2 MB, free: 11.66 MB / 362.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.0002088/0.5668, allocations: 118.6 kB / 442.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002662/0.5695, allocations: 484.2 kB / 442.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5696, allocations: 0 / 442.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002372/0.5719, allocations: 341.9 kB / 443.2 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.5724, allocations: 39.19 kB / 443.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.5742, allocations: 489.4 kB / 443.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/0.5747, allocations: 0.7561 MB / 444.4 MB, free: 9.562 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002108/0.5749, allocations: 18.08 kB / 444.5 MB, free: 9.539 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.895e-05/0.575, allocations: 23.42 kB / 444.5 MB, free: 9.516 MB / 362.7 MB Notification: Performance of SimCode: time 1.581e-06/0.575, allocations: 0 / 444.5 MB, free: 9.516 MB / 362.7 MB Notification: Performance of Templates: time 0.009728/0.5848, allocations: 3.212 MB / 447.7 MB, free: 6.332 MB / 362.7 MB