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.888/1.888, allocations: 194.9 MB / 210.6 MB, free: 8.148 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.701e-05/2.745e-05, allocations: 3.906 kB / 258.8 MB, free: 7.867 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3, allocations: 44.5 MB / 303.3 MB, free: 13.01 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.003493/0.3036, allocations: 2.142 MB / 305.5 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.3051, allocations: 0.6217 MB / 306.1 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.3053, allocations: 9.656 kB / 306.1 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.556e-05/0.3054, allocations: 30.14 kB / 306.1 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002957/0.3058, allocations: 79.2 kB / 306.2 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003288/0.3061, allocations: 75.61 kB / 306.3 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000381/0.3065, allocations: 180 kB / 306.4 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.3067, allocations: 40.97 kB / 306.5 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002846/0.307, allocations: 111.7 kB / 306.6 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.3073, allocations: 135.6 kB / 306.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.989e-05/0.3073, allocations: 20 kB / 306.7 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.673e-05/0.3074, allocations: 12 kB / 306.8 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.578e-05/0.3075, allocations: 55.73 kB / 306.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.546e-05/0.3076, allocations: 24 kB / 306.8 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003854/0.308, allocations: 265.6 kB / 307.1 MB, free: 9.812 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.308, allocations: 3.938 kB / 307.1 MB, free: 9.809 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.308, allocations: 0 / 307.1 MB, free: 9.809 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.308, allocations: 0 / 307.1 MB, free: 9.809 MB / 250.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.002109/0.3102, allocations: 0.6223 MB / 307.7 MB, free: 9.129 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.3102, allocations: 12.03 kB / 307.7 MB, free: 9.117 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.3103, allocations: 35.62 kB / 307.8 MB, free: 9.082 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.3108, allocations: 263.4 kB / 308 MB, free: 8.781 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.005e-05/0.3109, allocations: 12.44 kB / 308 MB, free: 8.77 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.857e-05/0.311, allocations: 24 kB / 308.1 MB, free: 8.746 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.3122, allocations: 325.7 kB / 308.4 MB, free: 8.414 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.3123, allocations: 0 / 308.4 MB, free: 8.414 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.3123, allocations: 16 kB / 308.4 MB, free: 8.398 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.3123, allocations: 4 kB / 308.4 MB, free: 8.395 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/0.314, allocations: 333.5 kB / 308.7 MB, free: 8.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002708/0.3168, allocations: 0.9959 MB / 309.7 MB, free: 7.008 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005336/0.3221, allocations: 0.6039 MB / 310.3 MB, free: 6.395 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.631e-05/0.3222, allocations: 15.95 kB / 310.3 MB, free: 6.379 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001141/0.3234, allocations: 245.4 kB / 310.6 MB, free: 6.125 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 2.445e-06/0.3234, allocations: 0 / 310.6 MB, free: 6.125 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.002763/0.3262, allocations: 0.5259 MB / 311.1 MB, free: 5.594 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/0.3263, allocations: 85.05 kB / 311.2 MB, free: 5.492 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.3266, allocations: 208.2 kB / 311.4 MB, free: 5.281 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.79e-05/0.3267, allocations: 29.7 kB / 311.4 MB, free: 5.246 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.3268, allocations: 164.2 kB / 311.6 MB, free: 5.082 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.945e-05/0.3269, allocations: 71 kB / 311.6 MB, free: 5.012 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.327, allocations: 4 kB / 311.6 MB, free: 5.008 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3271, allocations: 334.8 kB / 312 MB, free: 4.672 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008727/0.328, allocations: 160.4 kB / 312.1 MB, free: 4.516 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000912/0.3289, allocations: 199.4 kB / 312.3 MB, free: 4.312 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008939/0.3299, allocations: 186.6 kB / 312.5 MB, free: 4.125 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.3299, allocations: 3.984 kB / 312.5 MB, free: 4.121 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002058/0.3319, allocations: 455.8 kB / 313 MB, free: 3.664 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.636e-05/0.332, allocations: 29.7 kB / 313 MB, free: 3.629 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.332, allocations: 0 / 313 MB, free: 3.629 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.3321, allocations: 4 kB / 313 MB, free: 3.625 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003369/0.3354, allocations: 315.6 kB / 313.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007438/0.3429, allocations: 3.255 MB / 316.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000706/0.3436, allocations: 71.86 kB / 316.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.572e-05/0.3437, allocations: 11.94 kB / 316.6 MB, free: 15.71 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0002269/0.3439, allocations: 152.7 kB / 316.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-05/0.344, allocations: 19.81 kB / 316.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.279e-05/0.3441, allocations: 38.11 kB / 316.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.3441, allocations: 0 / 316.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3441, allocations: 0 / 316.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3442, allocations: 0 / 316.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005095/0.3447, allocations: 349.3 kB / 317.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.3447, allocations: 3.938 kB / 317.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003344/0.348, allocations: 307.6 kB / 317.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.3481, allocations: 4 kB / 317.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.061e-05/0.3481, allocations: 4 kB / 317.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007306/0.3554, allocations: 3.255 MB / 320.7 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.3555, allocations: 4.141 kB / 320.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002851/0.3584, allocations: 0.5972 MB / 321.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.207e-05/0.3585, allocations: 100.8 kB / 321.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.681e-05/0.3586, allocations: 4 kB / 321.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006208/0.3592, allocations: 52.02 kB / 321.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.3593, allocations: 39.84 kB / 321.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.41e-05/0.3594, allocations: 7.984 kB / 321.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002302/0.3596, allocations: 164.5 kB / 321.7 MB, free: 10.28 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.3596, allocations: 4 kB / 321.7 MB, free: 10.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005916/0.3602, allocations: 83.83 kB / 321.8 MB, free: 10.19 MB / 266.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: 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.0001879/0.3604, allocations: 103.2 kB / 321.9 MB, free: 10.08 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.004492/0.365, allocations: 0.6278 MB / 322.5 MB, free: 9.438 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.365, allocations: 0 / 322.5 MB, free: 9.438 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003432/0.3684, allocations: 399.7 kB / 322.9 MB, free: 9.047 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.3689, allocations: 29.83 kB / 322.9 MB, free: 9.02 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.3712, allocations: 0.709 MB / 323.7 MB, free: 8.293 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.3716, allocations: 0.7599 MB / 324.4 MB, free: 7.508 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002496/0.3718, allocations: 25.94 kB / 324.4 MB, free: 7.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.3719, allocations: 19.44 kB / 324.5 MB, free: 7.461 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.372, allocations: 0 / 324.5 MB, free: 7.461 MB / 266.7 MB Notification: Performance of Templates: time 0.01131/0.3833, allocations: 3.199 MB / 327.7 MB, free: 4.277 MB / 266.7 MB