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.1_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadModel(Modelica): time 1.627/1.627, allocations: 171.2 MB / 183.4 MB, free: 12.06 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.534e-05/3.541e-05, allocations: 3.984 kB / 225 MB, free: 2.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2096, allocations: 38.77 MB / 263.8 MB, free: 9.832 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1042/0.3139, allocations: 69.77 MB / 333.5 MB, free: 3.965 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.3141, allocations: 67.97 kB / 333.6 MB, free: 3.898 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02267/0.3368, allocations: 4.655 MB / 338.3 MB, free: 15.22 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.314e-06/0.3369, allocations: 0 / 338.3 MB, free: 15.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.356e-05/0.3369, allocations: 7.938 kB / 338.3 MB, free: 15.21 MB / 298.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.002849/0.3398, allocations: 0.602 MB / 338.9 MB, free: 14.56 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.789e-05/0.3399, allocations: 11.97 kB / 338.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002145/0.3402, allocations: 31.62 kB / 338.9 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008279/0.341, allocations: 251.7 kB / 339.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.187e-05/0.3411, allocations: 20.42 kB / 339.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.3413, allocations: 23.95 kB / 339.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.3426, allocations: 237 kB / 339.4 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/0.3426, allocations: 4 kB / 339.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.692e-05/0.3428, allocations: 11.94 kB / 339.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.3428, allocations: 8 kB / 339.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.344, allocations: 168.9 kB / 339.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005294/0.3493, allocations: 1.027 MB / 340.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006843/0.3562, allocations: 474.4 kB / 341.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009863/0.3572, allocations: 157.5 kB / 341.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.396e-05/0.3573, allocations: 7.938 kB / 341.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008717/0.3582, allocations: 175.1 kB / 341.4 MB, free: 11.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 6.535e-06/0.3583, allocations: 0 / 341.4 MB, free: 11.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.001408/0.3597, allocations: 222.4 kB / 341.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001601/0.3599, allocations: 114.8 kB / 341.8 MB, free: 11.47 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006481/0.3606, allocations: 205.1 kB / 342 MB, free: 11.26 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.53e-05/0.3607, allocations: 29.7 kB / 342 MB, free: 11.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/0.361, allocations: 160.2 kB / 342.2 MB, free: 11.06 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.3612, allocations: 71 kB / 342.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/0.3613, allocations: 4.031 kB / 342.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000313/0.3616, allocations: 330.8 kB / 342.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005559/0.3622, allocations: 84.45 kB / 342.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006202/0.3629, allocations: 112.1 kB / 342.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005615/0.3634, allocations: 101.7 kB / 342.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.804e-06/0.3635, allocations: 0 / 342.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001557/0.3651, allocations: 279 kB / 343.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.123e-05/0.3652, allocations: 41.69 kB / 343.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.3652, allocations: 3.938 kB / 343.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.3653, allocations: 0 / 343.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00576/0.371, allocations: 331.7 kB / 343.5 MB, free: 9.684 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/0.3821, allocations: 3.056 MB / 346.5 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.3833, allocations: 71.92 kB / 346.6 MB, free: 6.301 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/0.3834, allocations: 4 kB / 346.6 MB, free: 6.297 MB / 298.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.0002986/0.3837, allocations: 120.9 kB / 346.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.3839, allocations: 27.67 kB / 346.8 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/0.3841, allocations: 29.97 kB / 346.8 MB, free: 6.113 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.159e-06/0.3841, allocations: 4 kB / 346.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/0.3842, allocations: 7.984 kB / 346.8 MB, free: 6.102 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.3842, allocations: 0 / 346.8 MB, free: 6.102 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003608/0.3878, allocations: 0.7996 MB / 347.6 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.121e-06/0.3879, allocations: 0 / 347.6 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005848/0.3937, allocations: 323.7 kB / 347.9 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.116e-05/0.3938, allocations: 7.984 kB / 347.9 MB, free: 4.918 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.548e-05/0.3939, allocations: 7.984 kB / 347.9 MB, free: 4.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0109/0.4048, allocations: 3.052 MB / 351 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.4049, allocations: 0 / 351 MB, free: 1.602 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002074/0.407, allocations: 455.1 kB / 351.4 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/0.4074, allocations: 128.7 kB / 351.6 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.4075, allocations: 7.953 kB / 351.6 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.4087, allocations: 52.02 kB / 351.6 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.4089, allocations: 27.95 kB / 351.6 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.608e-05/0.409, allocations: 12 kB / 351.7 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004839/0.4095, allocations: 165.4 kB / 351.8 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.434e-06/0.4095, allocations: 4 kB / 351.8 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001571/0.4111, allocations: 83.78 kB / 351.9 MB, free: 0.6328 MB / 298.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.0003725/0.4115, allocations: 123.1 kB / 352 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.005761/0.4173, allocations: 483.3 kB / 352.5 MB, free: 20 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.21e-06/0.4174, allocations: 0 / 352.5 MB, free: 20 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002356/0.4197, allocations: 344 kB / 352.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.4201, allocations: 40.34 kB / 352.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.4217, allocations: 431.8 kB / 353.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.4222, allocations: 0.7558 MB / 354.1 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001945/0.4224, allocations: 26.06 kB / 354.1 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.491e-05/0.4225, allocations: 15.44 kB / 354.1 MB, free: 14.36 MB / 314.7 MB Notification: Performance of SimCode: time 1.744e-06/0.4225, allocations: 0 / 354.1 MB, free: 14.36 MB / 314.7 MB Notification: Performance of Templates: time 0.009688/0.4322, allocations: 3.22 MB / 357.3 MB, free: 11.17 MB / 314.7 MB