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 0.9892/0.9892, allocations: 111.1 MB / 126.3 MB, free: 6.406 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.885e-05/2.875e-05, allocations: 6.656 kB / 154.5 MB, free: 2.844 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05282/0.05287, allocations: 25.18 MB / 179.7 MB, free: 9.625 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003307/0.05624, allocations: 1.973 MB / 181.7 MB, free: 7.645 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.05751, allocations: 0.5499 MB / 182.2 MB, free: 7.094 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.05765, allocations: 4 kB / 182.2 MB, free: 7.09 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 6.801e-05/0.05773, allocations: 27.77 kB / 182.2 MB, free: 7.062 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.05798, allocations: 75.75 kB / 182.3 MB, free: 6.988 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.05825, allocations: 67.8 kB / 182.4 MB, free: 6.922 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003111/0.05857, allocations: 167.6 kB / 182.5 MB, free: 6.758 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.05874, allocations: 40.58 kB / 182.6 MB, free: 6.719 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.05897, allocations: 99.73 kB / 182.7 MB, free: 6.621 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.05924, allocations: 115.6 kB / 182.8 MB, free: 6.508 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.582e-05/0.05932, allocations: 12 kB / 182.8 MB, free: 6.496 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 4.676e-05/0.05938, allocations: 12 kB / 182.8 MB, free: 6.484 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 7.09e-05/0.05946, allocations: 47.81 kB / 182.9 MB, free: 6.438 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 7.673e-05/0.05955, allocations: 24 kB / 182.9 MB, free: 6.414 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003406/0.0599, allocations: 239.6 kB / 183.1 MB, free: 6.18 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.05991, allocations: 0 / 183.1 MB, free: 6.18 MB / 154.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.05993, allocations: 0 / 183.1 MB, free: 6.18 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.05995, allocations: 0 / 183.1 MB, free: 6.18 MB / 154.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.001873/0.06183, allocations: 0.5699 MB / 183.7 MB, free: 5.559 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.06188, allocations: 8.031 kB / 183.7 MB, free: 5.551 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.06199, allocations: 31.62 kB / 183.7 MB, free: 5.52 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.06238, allocations: 248.4 kB / 184 MB, free: 5.238 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.06243, allocations: 12.38 kB / 184 MB, free: 5.227 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.829e-05/0.06251, allocations: 27.91 kB / 184 MB, free: 5.199 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.06362, allocations: 264.4 kB / 184.3 MB, free: 4.938 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.06365, allocations: 3.984 kB / 184.3 MB, free: 4.934 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.0637, allocations: 15.95 kB / 184.3 MB, free: 4.918 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.06372, allocations: 4 kB / 184.3 MB, free: 4.914 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.06524, allocations: 303.3 kB / 184.6 MB, free: 4.617 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002333/0.06759, allocations: 0.8415 MB / 185.4 MB, free: 3.711 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00555/0.07316, allocations: 0.5919 MB / 186 MB, free: 3.109 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.159e-05/0.07322, allocations: 7.984 kB / 186 MB, free: 3.102 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009528/0.07418, allocations: 225 kB / 186.2 MB, free: 2.863 MB / 154.7 MB Notification: Performance of pre-optimization done (n=19): time 2.465e-06/0.07421, allocations: 4 kB / 186.3 MB, free: 2.859 MB / 154.7 MB Notification: Performance of matching and sorting (n=19): time 0.002456/0.07667, allocations: 480.5 kB / 186.7 MB, free: 2.387 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.018e-05/0.07676, allocations: 89 kB / 186.8 MB, free: 2.281 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.07707, allocations: 200.2 kB / 187 MB, free: 2.082 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.07712, allocations: 29.7 kB / 187 MB, free: 2.047 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/0.07728, allocations: 214.6 kB / 187.2 MB, free: 1.836 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.383e-05/0.07738, allocations: 55.11 kB / 187.3 MB, free: 1.781 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.366e-05/0.07742, allocations: 8 kB / 187.3 MB, free: 1.773 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.07756, allocations: 322.8 kB / 187.6 MB, free: 1.449 MB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007512/0.07832, allocations: 136.1 kB / 187.8 MB, free: 1.316 MB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007916/0.07913, allocations: 175.7 kB / 187.9 MB, free: 1.133 MB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007695/0.07991, allocations: 147.5 kB / 188.1 MB, free: 0.9922 MB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.07994, allocations: 4 kB / 188.1 MB, free: 0.9883 MB / 154.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001681/0.08163, allocations: 353.4 kB / 188.4 MB, free: 0.6367 MB / 154.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.08166, allocations: 4 kB / 188.4 MB, free: 0.6328 MB / 154.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.08168, allocations: 4 kB / 188.4 MB, free: 0.6289 MB / 154.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.0817, allocations: 0 / 188.4 MB, free: 0.6289 MB / 154.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003314/0.08503, allocations: 319.6 kB / 188.7 MB, free: 324 kB / 154.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007446/0.09249, allocations: 3.255 MB / 192 MB, free: 12.8 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005765/0.09311, allocations: 63.98 kB / 192.1 MB, free: 12.73 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.09315, allocations: 4 kB / 192.1 MB, free: 12.73 MB / 170.7 MB Warning: Assuming fixed start value for the following 3 variables: inductor.i:VARIABLE(unit = "A" fixed = true ) "Current flowing from pin p to pin n" type: Real thyristor_v4_1.vControl:VARIABLE(start = 0.0 fixed = true ) type: Real pulseCurrent.signalSource.T0:DISCRETE(start = pulseCurrent.signalSource.startTime unit = "s" fixed = true protected = true ) "Start time of current period" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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.0003009/0.09346, allocations: 154.1 kB / 192.2 MB, free: 12.57 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.936e-05/0.09354, allocations: 27.67 kB / 192.2 MB, free: 12.54 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.265e-05/0.09362, allocations: 26.19 kB / 192.3 MB, free: 12.52 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.09364, allocations: 4 kB / 192.3 MB, free: 12.51 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.09365, allocations: 3.938 kB / 192.3 MB, free: 12.51 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.09367, allocations: 3.984 kB / 192.3 MB, free: 12.5 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004994/0.09418, allocations: 329.3 kB / 192.6 MB, free: 12.13 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.0942, allocations: 3.953 kB / 192.6 MB, free: 12.13 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00333/0.09754, allocations: 295.7 kB / 192.9 MB, free: 11.84 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.09756, allocations: 0 / 192.9 MB, free: 11.84 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.057e-05/0.09761, allocations: 8 kB / 192.9 MB, free: 11.83 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007444/0.1051, allocations: 3.267 MB / 196.2 MB, free: 8.305 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1051, allocations: 0 / 196.2 MB, free: 8.305 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002514/0.1076, allocations: 0.536 MB / 196.7 MB, free: 7.75 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.1078, allocations: 124.8 kB / 196.8 MB, free: 7.609 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.614e-05/0.1079, allocations: 0 / 196.8 MB, free: 7.609 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004988/0.1084, allocations: 48.03 kB / 196.9 MB, free: 7.562 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.089e-05/0.1085, allocations: 19.97 kB / 196.9 MB, free: 7.543 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.1086, allocations: 7.984 kB / 196.9 MB, free: 7.535 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0002239/0.1088, allocations: 156.5 kB / 197 MB, free: 7.387 MB / 170.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1088, allocations: 4 kB / 197.1 MB, free: 7.383 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0005337/0.1093, allocations: 71.84 kB / 197.1 MB, free: 7.312 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001615/0.1095, allocations: 107.2 kB / 197.2 MB, free: 7.199 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.004167/0.1137, allocations: 0.5278 MB / 197.8 MB, free: 6.672 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1137, allocations: 0 / 197.8 MB, free: 6.672 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003277/0.117, allocations: 387.7 kB / 198.1 MB, free: 6.293 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.1175, allocations: 39.56 kB / 198.2 MB, free: 6.254 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.1201, allocations: 0.718 MB / 198.9 MB, free: 5.5 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003819/0.1205, allocations: 0.752 MB / 199.6 MB, free: 4.723 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.1206, allocations: 31.42 kB / 199.7 MB, free: 4.691 MB / 170.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1206, allocations: 0 / 199.7 MB, free: 4.691 MB / 170.7 MB Notification: Performance of Templates: time 0.1439/0.2645, allocations: 4.781 MB / 204.5 MB, free: 23.4 MB / 170.7 MB