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.2_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadModel(Modelica): time 1.832/1.832, allocations: 194.9 MB / 208 MB, free: 3.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.161e-05, allocations: 4 kB / 255.4 MB, free: 2.691 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09514/0.0952, allocations: 44.49 MB / 299.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3735/0.4687, allocations: 74.78 MB / 374.7 MB, free: 22.48 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.469, allocations: 68.73 kB / 374.7 MB, free: 22.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01965/0.4886, allocations: 4.591 MB / 379.3 MB, free: 21.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.942e-06/0.4887, allocations: 0 / 379.3 MB, free: 21.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.876e-05/0.4887, allocations: 4.719 kB / 379.3 MB, free: 21.84 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.001245/0.49, allocations: 0.6023 MB / 379.9 MB, free: 21.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.49, allocations: 9.531 kB / 379.9 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.295e-05/0.4901, allocations: 28.14 kB / 380 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.4905, allocations: 262.7 kB / 380.2 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.424e-05/0.4905, allocations: 18.11 kB / 380.2 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.086e-05/0.4906, allocations: 20.28 kB / 380.3 MB, free: 21.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005477/0.4911, allocations: 241.1 kB / 380.5 MB, free: 21.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.4912, allocations: 0 / 380.5 MB, free: 21.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.096e-05/0.4912, allocations: 13.05 kB / 380.5 MB, free: 21.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.4912, allocations: 5.375 kB / 380.5 MB, free: 21.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.4917, allocations: 176.2 kB / 380.7 MB, free: 21.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/0.494, allocations: 1.014 MB / 381.7 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003028/0.497, allocations: 479.1 kB / 382.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004188/0.4975, allocations: 163 kB / 382.3 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.4975, allocations: 1.375 kB / 382.3 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003772/0.4979, allocations: 183.7 kB / 382.5 MB, free: 20.47 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 3.25e-06/0.4979, allocations: 0 / 382.5 MB, free: 20.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005861/0.4985, allocations: 208.5 kB / 382.7 MB, free: 20.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.4986, allocations: 116.6 kB / 382.8 MB, free: 20.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.4989, allocations: 203.6 kB / 383 MB, free: 20.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.4989, allocations: 30.64 kB / 383 MB, free: 20.17 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.502e-05/0.499, allocations: 158.1 kB / 383.2 MB, free: 20.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.844e-05/0.4991, allocations: 70.23 kB / 383.3 MB, free: 20.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.4992, allocations: 8.969 kB / 383.3 MB, free: 20.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.009e-05/0.4992, allocations: 336.2 kB / 383.6 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.4995, allocations: 76.75 kB / 383.7 MB, free: 19.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000247/0.4997, allocations: 112.6 kB / 383.8 MB, free: 19.67 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.5, allocations: 106.8 kB / 383.9 MB, free: 19.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.232e-06/0.5, allocations: 0 / 383.9 MB, free: 19.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006657/0.5007, allocations: 285.5 kB / 384.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/0.5007, allocations: 44.19 kB / 384.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.5008, allocations: 0 / 384.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.5008, allocations: 1.031 kB / 384.2 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002566/0.5034, allocations: 333 kB / 384.5 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004238/0.5076, allocations: 3.05 MB / 387.6 MB, free: 16.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005169/0.5082, allocations: 65.45 kB / 387.7 MB, free: 16.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.5082, allocations: 4.906 kB / 387.7 MB, free: 16.73 MB / 314.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.0001156/0.5084, allocations: 123.7 kB / 387.8 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.195e-05/0.5084, allocations: 27.59 kB / 387.8 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.318e-05/0.5085, allocations: 26.75 kB / 387.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/0.5085, allocations: 8.641 kB / 387.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.385e-06/0.5086, allocations: 3.938 kB / 387.9 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.358e-06/0.5086, allocations: 1.594 kB / 387.9 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/0.5101, allocations: 0.7943 MB / 388.6 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.252e-06/0.5101, allocations: 0 / 388.6 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0025/0.5126, allocations: 327.4 kB / 389 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.5126, allocations: 1.562 kB / 389 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/0.5127, allocations: 7.031 kB / 389 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005134/0.5178, allocations: 3.056 MB / 392 MB, free: 29.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.186e-06/0.5178, allocations: 1.438 kB / 392 MB, free: 29.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000877/0.5187, allocations: 456.3 kB / 392.5 MB, free: 29.19 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.293e-05/0.5188, allocations: 101.4 kB / 392.6 MB, free: 29.08 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.306e-05/0.5189, allocations: 7.219 kB / 392.6 MB, free: 29.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004776/0.5194, allocations: 56.38 kB / 392.6 MB, free: 29.08 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.5195, allocations: 33.88 kB / 392.7 MB, free: 29.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.5196, allocations: 5.453 kB / 392.7 MB, free: 29.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002062/0.5198, allocations: 164 kB / 392.8 MB, free: 28.99 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.38e-07/0.5198, allocations: 4 kB / 392.8 MB, free: 28.99 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006251/0.5205, allocations: 84.47 kB / 392.9 MB, free: 28.98 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.0001951/0.5207, allocations: 124.6 kB / 393 MB, free: 28.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002792/0.5235, allocations: 490.6 kB / 393.5 MB, free: 28.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.353e-06/0.5235, allocations: 0 / 393.5 MB, free: 28.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00218/0.5257, allocations: 342.9 kB / 393.9 MB, free: 28.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.5261, allocations: 38.38 kB / 393.9 MB, free: 28.78 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.5275, allocations: 433.9 kB / 394.3 MB, free: 28.58 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.5279, allocations: 0.7555 MB / 395.1 MB, free: 27.88 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001816/0.5281, allocations: 28.45 kB / 395.1 MB, free: 27.87 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.638e-05/0.5282, allocations: 19.16 kB / 395.1 MB, free: 27.86 MB / 330.7 MB Notification: Performance of SimCode: time 1.377e-06/0.5282, allocations: 0 / 395.1 MB, free: 27.86 MB / 330.7 MB Notification: Performance of Templates: time 0.008502/0.5368, allocations: 3.197 MB / 398.3 MB, free: 27.63 MB / 330.7 MB