Running command: translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadModel(Modelica): time 1.059/1.059, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.247e-05/2.259e-05, allocations: 0 / 151.4 MB, free: 15.64 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1401, allocations: 25.16 MB / 176.5 MB, free: 15.88 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05623/0.1963, allocations: 36.54 MB / 213.1 MB, free: 12.8 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.1966, allocations: 63.97 kB / 213.1 MB, free: 12.74 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01811/0.2147, allocations: 4.194 MB / 217.3 MB, free: 8.535 MB / 186.7 MB Notification: Performance of FrontEnd: time 4.803e-06/0.2148, allocations: 0 / 217.3 MB, free: 8.535 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.553e-05/0.2148, allocations: 11.94 kB / 217.4 MB, free: 8.523 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001214/0.216, allocations: 0.5419 MB / 217.9 MB, free: 7.934 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.2161, allocations: 15.97 kB / 217.9 MB, free: 7.918 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.731e-05/0.2162, allocations: 27.62 kB / 217.9 MB, free: 7.891 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.2166, allocations: 244.5 kB / 218.2 MB, free: 7.613 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.2167, allocations: 16.38 kB / 218.2 MB, free: 7.598 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.931e-05/0.2167, allocations: 19.91 kB / 218.2 MB, free: 7.578 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004991/0.2172, allocations: 192.2 kB / 218.4 MB, free: 7.387 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.2173, allocations: 7.984 kB / 218.4 MB, free: 7.379 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.856e-05/0.2173, allocations: 7.953 kB / 218.4 MB, free: 7.371 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.844e-06/0.2173, allocations: 4 kB / 218.4 MB, free: 7.367 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004549/0.2178, allocations: 148.7 kB / 218.6 MB, free: 7.219 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/0.2201, allocations: 0.8682 MB / 219.4 MB, free: 6.293 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003277/0.2234, allocations: 478.3 kB / 219.9 MB, free: 5.816 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004375/0.2239, allocations: 136.8 kB / 220 MB, free: 5.68 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.2239, allocations: 11.98 kB / 220 MB, free: 5.668 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003717/0.2243, allocations: 148.8 kB / 220.2 MB, free: 5.504 MB / 186.7 MB Notification: Performance of pre-optimization done (n=19): time 3.306e-06/0.2243, allocations: 0 / 220.2 MB, free: 5.504 MB / 186.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005893/0.2249, allocations: 194.3 kB / 220.4 MB, free: 5.309 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.85e-05/0.225, allocations: 106.8 kB / 220.5 MB, free: 5.18 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.2254, allocations: 200.8 kB / 220.7 MB, free: 4.977 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 4.272e-05/0.2254, allocations: 29.7 kB / 220.7 MB, free: 4.941 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.2256, allocations: 214.5 kB / 220.9 MB, free: 4.727 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.368e-05/0.2257, allocations: 63.09 kB / 221 MB, free: 4.664 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.2257, allocations: 8 kB / 221 MB, free: 4.656 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.2259, allocations: 318.8 kB / 221.3 MB, free: 4.336 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.2261, allocations: 64.22 kB / 221.4 MB, free: 4.27 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.2264, allocations: 104.4 kB / 221.5 MB, free: 4.152 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.2266, allocations: 56.73 kB / 221.5 MB, free: 4.098 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.081e-06/0.2266, allocations: 0 / 221.5 MB, free: 4.098 MB / 186.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005566/0.2272, allocations: 217 kB / 221.7 MB, free: 3.883 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.2272, allocations: 4 kB / 221.7 MB, free: 3.879 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.345e-06/0.2272, allocations: 0 / 221.7 MB, free: 3.879 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.2272, allocations: 4 kB / 221.7 MB, free: 3.875 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002622/0.2299, allocations: 327.7 kB / 222.1 MB, free: 3.555 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00545/0.2353, allocations: 3.052 MB / 225.1 MB, free: 244 kB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000469/0.2359, allocations: 55.97 kB / 225.2 MB, free: 188 kB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.2359, allocations: 15.97 kB / 225.2 MB, free: 172 kB / 186.7 MB Warning: Assuming fixed start value for the following 3 variables: inductor.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real thyristor_v4_1.vControl:VARIABLE(start = 0.0 ) type: Real pulseCurrent.signalSource.T0:DISCRETE(start = pulseCurrent.signalSource.startTime unit = "s" fixed = false protected = true ) "Start time of current period" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.pulseCurrent.signalSource.T0,pulseCurrent.signalSource.T0) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0002073/0.2361, allocations: 117.4 kB / 225.3 MB, free: 48 kB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.485e-05/0.2362, allocations: 27.7 kB / 225.3 MB, free: 20 kB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.2363, allocations: 30.03 kB / 225.4 MB, free: 15.98 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.178e-06/0.2363, allocations: 4 kB / 225.4 MB, free: 15.98 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.2364, allocations: 0 / 225.4 MB, free: 15.98 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.2364, allocations: 0 / 225.4 MB, free: 15.98 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/0.238, allocations: 0.7514 MB / 226.1 MB, free: 15.17 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.166e-06/0.238, allocations: 0 / 226.1 MB, free: 15.17 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00266/0.2407, allocations: 327.7 kB / 226.4 MB, free: 14.85 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.942e-06/0.2407, allocations: 0 / 226.4 MB, free: 14.85 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/0.2408, allocations: 4 kB / 226.4 MB, free: 14.85 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005321/0.2461, allocations: 3.052 MB / 229.5 MB, free: 11.53 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2461, allocations: 0 / 229.5 MB, free: 11.53 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000881/0.247, allocations: 414.2 kB / 229.9 MB, free: 11.09 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.2472, allocations: 116.8 kB / 230 MB, free: 10.96 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.206e-05/0.2473, allocations: 3.953 kB / 230 MB, free: 10.95 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004778/0.2478, allocations: 52.02 kB / 230.1 MB, free: 10.9 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.618e-05/0.2479, allocations: 27.84 kB / 230.1 MB, free: 10.88 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.2479, allocations: 4 kB / 230.1 MB, free: 10.87 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002268/0.2482, allocations: 161.4 kB / 230.2 MB, free: 10.71 MB / 202.7 MB Notification: Performance of sort global known variables: time 7.02e-07/0.2482, allocations: 0 / 230.2 MB, free: 10.71 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0006556/0.2489, allocations: 83.78 kB / 230.3 MB, free: 10.63 MB / 202.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: 2 ($whenCondition1,pulseCurrent.signalSource.T0) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001834/0.2491, allocations: 107.2 kB / 230.4 MB, free: 10.52 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.002535/0.2516, allocations: 399.6 kB / 230.8 MB, free: 10.13 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 4.076e-06/0.2516, allocations: 0 / 230.8 MB, free: 10.13 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002263/0.2539, allocations: 320 kB / 231.1 MB, free: 9.816 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/0.2544, allocations: 40.59 kB / 231.2 MB, free: 9.773 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.256, allocations: 441.1 kB / 231.6 MB, free: 9.309 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004621/0.2565, allocations: 0.756 MB / 232.4 MB, free: 8.527 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.2566, allocations: 19.44 kB / 232.4 MB, free: 8.508 MB / 202.7 MB Notification: Performance of SimCode: time 1.811e-06/0.2566, allocations: 0 / 232.4 MB, free: 8.508 MB / 202.7 MB Notification: Performance of Templates: time 0.008776/0.2654, allocations: 4.715 MB / 237.1 MB, free: 3.797 MB / 202.7 MB