Running command: translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadModel(Modelica): time 1.853/1.853, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.037e-05/3.045e-05, allocations: 9.547 kB / 292.1 MB, free: 8.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08848/0.08853, allocations: 50.41 MB / 342.5 MB, free: 6.406 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3524/0.4409, allocations: 81.17 MB / 423.7 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.4412, allocations: 69.72 kB / 423.8 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02058/0.4618, allocations: 4.899 MB / 428.7 MB, free: 8.703 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.828e-06/0.4618, allocations: 0 / 428.7 MB, free: 8.703 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.4619, allocations: 4 kB / 428.7 MB, free: 8.699 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.001392/0.4633, allocations: 0.6086 MB / 429.3 MB, free: 8.059 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.4633, allocations: 8.031 kB / 429.3 MB, free: 8.051 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.968e-05/0.4634, allocations: 27.72 kB / 429.3 MB, free: 8.023 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.4638, allocations: 263.8 kB / 429.6 MB, free: 7.746 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.4639, allocations: 14.31 kB / 429.6 MB, free: 7.738 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.437e-05/0.464, allocations: 22.25 kB / 429.6 MB, free: 7.723 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000576/0.4646, allocations: 240.8 kB / 429.9 MB, free: 7.547 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.4646, allocations: 3.953 kB / 429.9 MB, free: 7.543 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.872e-05/0.4646, allocations: 11 kB / 429.9 MB, free: 7.539 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.4647, allocations: 8 kB / 429.9 MB, free: 7.531 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004826/0.4652, allocations: 166.7 kB / 430 MB, free: 7.434 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00247/0.4676, allocations: 1.016 MB / 431.1 MB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003185/0.4709, allocations: 490.3 kB / 431.5 MB, free: 6.133 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004564/0.4713, allocations: 154.6 kB / 431.7 MB, free: 6.027 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.4714, allocations: 0 / 431.7 MB, free: 6.027 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004139/0.4718, allocations: 173.1 kB / 431.9 MB, free: 5.871 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 3.005e-06/0.4718, allocations: 0 / 431.9 MB, free: 5.871 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006446/0.4725, allocations: 222.5 kB / 432.1 MB, free: 5.699 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.012e-05/0.4726, allocations: 110.8 kB / 432.2 MB, free: 5.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002966/0.4729, allocations: 197.6 kB / 432.4 MB, free: 5.402 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.005e-05/0.473, allocations: 40.88 kB / 432.4 MB, free: 5.359 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.4731, allocations: 213.9 kB / 432.6 MB, free: 5.172 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.311e-05/0.4732, allocations: 61.48 kB / 432.7 MB, free: 5.121 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.4733, allocations: 3.25 kB / 432.7 MB, free: 5.121 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.4734, allocations: 326.2 kB / 433 MB, free: 4.797 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.4737, allocations: 83.41 kB / 433.1 MB, free: 4.746 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000263/0.474, allocations: 116 kB / 433.2 MB, free: 4.656 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.4742, allocations: 99.25 kB / 433.3 MB, free: 4.582 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.173e-06/0.4742, allocations: 0 / 433.3 MB, free: 4.582 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000658/0.4749, allocations: 276.1 kB / 433.6 MB, free: 4.371 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.475, allocations: 37.8 kB / 433.6 MB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.596e-06/0.475, allocations: 3.938 kB / 433.6 MB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.475, allocations: 4 kB / 433.6 MB, free: 4.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00273/0.4778, allocations: 326.9 kB / 433.9 MB, free: 4.004 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005408/0.4832, allocations: 3.05 MB / 437 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/0.4838, allocations: 67.67 kB / 437 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.956e-05/0.4838, allocations: 11.88 kB / 437.1 MB, free: 0.7266 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.0001539/0.484, allocations: 124.1 kB / 437.2 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-05/0.4841, allocations: 19.72 kB / 437.2 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.418e-05/0.4842, allocations: 33.08 kB / 437.2 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.4842, allocations: 4 kB / 437.2 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.927e-06/0.4842, allocations: 3.953 kB / 437.2 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.4842, allocations: 7.984 kB / 437.2 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.4859, allocations: 0.7909 MB / 438 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.486, allocations: 0 / 438 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002691/0.4887, allocations: 323.5 kB / 438.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/0.4887, allocations: 4 kB / 438.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.4888, allocations: 11.89 kB / 438.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005367/0.4941, allocations: 3.045 MB / 441.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.219e-06/0.4942, allocations: 0 / 441.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009413/0.4951, allocations: 465 kB / 441.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.4952, allocations: 104.3 kB / 442 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.732e-05/0.4953, allocations: 0 / 442 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005007/0.4958, allocations: 55.52 kB / 442 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.496, allocations: 34.78 kB / 442.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.496, allocations: 4 kB / 442.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002207/0.4962, allocations: 170 kB / 442.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.66e-07/0.4963, allocations: 0 / 442.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000667/0.4969, allocations: 90.22 kB / 442.3 MB, free: 11.52 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.0002002/0.4971, allocations: 118.9 kB / 442.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002676/0.4998, allocations: 480.8 kB / 442.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.623e-06/0.4999, allocations: 0 / 442.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002349/0.5022, allocations: 342.1 kB / 443.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.5027, allocations: 37.62 kB / 443.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.5044, allocations: 0.4969 MB / 443.8 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/0.5049, allocations: 0.7599 MB / 444.5 MB, free: 9.391 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.5051, allocations: 23.42 kB / 444.6 MB, free: 9.367 MB / 362.7 MB Notification: Performance of SimCode: time 2.083e-06/0.5051, allocations: 0 / 444.6 MB, free: 9.367 MB / 362.7 MB Notification: Performance of Templates: time 0.009637/0.5147, allocations: 5.142 MB / 449.7 MB, free: 4.262 MB / 362.7 MB