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.773/1.773, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.347e-05/2.349e-05, allocations: 0 / 228.1 MB, free: 7.348 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08982/0.08986, allocations: 38.77 MB / 266.9 MB, free: 0.4922 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.005431/0.09536, allocations: 2.14 MB / 269.1 MB, free: 14.33 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002469/0.0979, allocations: 0.6199 MB / 269.7 MB, free: 13.71 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000313/0.09828, allocations: 4 kB / 269.7 MB, free: 13.7 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.09845, allocations: 31.75 kB / 269.7 MB, free: 13.67 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004381/0.09891, allocations: 79.75 kB / 269.8 MB, free: 13.59 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000503/0.09944, allocations: 71.89 kB / 269.9 MB, free: 13.52 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005676/0.1, allocations: 183.5 kB / 270 MB, free: 13.34 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.1003, allocations: 36.59 kB / 270.1 MB, free: 13.3 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004031/0.1007, allocations: 115.7 kB / 270.2 MB, free: 13.19 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004242/0.1011, allocations: 139.6 kB / 270.3 MB, free: 13.05 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.1013, allocations: 16 kB / 270.3 MB, free: 13.04 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.301e-05/0.1014, allocations: 12 kB / 270.3 MB, free: 13.03 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.1015, allocations: 55.75 kB / 270.4 MB, free: 12.97 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.1017, allocations: 24 kB / 270.4 MB, free: 12.95 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005427/0.1022, allocations: 255.5 kB / 270.7 MB, free: 12.7 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1022, allocations: 0 / 270.7 MB, free: 12.7 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.1023, allocations: 0 / 270.7 MB, free: 12.7 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.1023, allocations: 0 / 270.7 MB, free: 12.7 MB / 234.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.0032/0.1055, allocations: 0.6261 MB / 271.3 MB, free: 12.02 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/0.1056, allocations: 16.03 kB / 271.3 MB, free: 12 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.1058, allocations: 31.62 kB / 271.3 MB, free: 11.97 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006807/0.1065, allocations: 259.6 kB / 271.6 MB, free: 11.68 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.87e-05/0.1066, allocations: 16.44 kB / 271.6 MB, free: 11.66 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.1067, allocations: 20 kB / 271.6 MB, free: 11.64 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.1088, allocations: 333.7 kB / 272 MB, free: 11.3 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.1089, allocations: 4 kB / 272 MB, free: 11.3 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-05/0.109, allocations: 8 kB / 272 MB, free: 11.29 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.109, allocations: 4 kB / 272 MB, free: 11.29 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002811/0.1119, allocations: 329.5 kB / 272.3 MB, free: 10.96 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004391/0.1163, allocations: 1.004 MB / 273.3 MB, free: 9.895 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008378/0.1247, allocations: 0.5959 MB / 273.9 MB, free: 9.289 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.407e-05/0.1249, allocations: 8 kB / 273.9 MB, free: 9.281 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001756/0.1267, allocations: 251 kB / 274.1 MB, free: 9.02 MB / 234.7 MB Notification: Performance of pre-optimization done (n=21): time 5.039e-06/0.1267, allocations: 0 / 274.1 MB, free: 9.02 MB / 234.7 MB Notification: Performance of matching and sorting (n=21): time 0.004567/0.1313, allocations: 0.5287 MB / 274.7 MB, free: 8.488 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.1314, allocations: 85.11 kB / 274.8 MB, free: 8.387 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005085/0.132, allocations: 208.2 kB / 275 MB, free: 8.176 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-05/0.1321, allocations: 33.7 kB / 275 MB, free: 8.137 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.1323, allocations: 160.2 kB / 275.2 MB, free: 7.977 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.1325, allocations: 70.94 kB / 275.2 MB, free: 7.906 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.1326, allocations: 4 kB / 275.2 MB, free: 7.902 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.1328, allocations: 338.8 kB / 275.6 MB, free: 7.562 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/0.1343, allocations: 156.4 kB / 275.7 MB, free: 7.41 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.1358, allocations: 199.4 kB / 275.9 MB, free: 7.207 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.1373, allocations: 186.6 kB / 276.1 MB, free: 7.02 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.1373, allocations: 0 / 276.1 MB, free: 7.02 MB / 234.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.003255/0.1406, allocations: 456.2 kB / 276.5 MB, free: 6.562 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.665e-05/0.1407, allocations: 33.7 kB / 276.6 MB, free: 6.523 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.1408, allocations: 0 / 276.6 MB, free: 6.523 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.1408, allocations: 3.953 kB / 276.6 MB, free: 6.52 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005347/0.1462, allocations: 315.6 kB / 276.9 MB, free: 6.211 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/0.1575, allocations: 3.271 MB / 280.1 MB, free: 2.668 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007968/0.1584, allocations: 64.02 kB / 280.2 MB, free: 2.605 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/0.1585, allocations: 11.98 kB / 280.2 MB, free: 2.594 MB / 234.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.0002599/0.1587, allocations: 145.7 kB / 280.4 MB, free: 2.441 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.861e-05/0.1588, allocations: 27.67 kB / 280.4 MB, free: 2.414 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.34e-05/0.1589, allocations: 30.17 kB / 280.4 MB, free: 2.387 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.1589, allocations: 4 kB / 280.4 MB, free: 2.383 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.159, allocations: 0 / 280.4 MB, free: 2.383 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.159, allocations: 0 / 280.4 MB, free: 2.383 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005647/0.1595, allocations: 349.2 kB / 280.8 MB, free: 1.988 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.1596, allocations: 3.953 kB / 280.8 MB, free: 1.984 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00344/0.163, allocations: 307.7 kB / 281.1 MB, free: 1.684 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.909e-06/0.1631, allocations: 0 / 281.1 MB, free: 1.684 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.134e-05/0.1631, allocations: 4 kB / 281.1 MB, free: 1.68 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007873/0.171, allocations: 3.263 MB / 284.3 MB, free: 14.15 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1711, allocations: 4.188 kB / 284.3 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003712/0.1748, allocations: 0.598 MB / 284.9 MB, free: 13.53 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/0.1751, allocations: 116.8 kB / 285.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.124e-05/0.1752, allocations: 3.984 kB / 285.1 MB, free: 13.39 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006155/0.1758, allocations: 56.02 kB / 285.1 MB, free: 13.34 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.176, allocations: 23.91 kB / 285.1 MB, free: 13.31 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.711e-05/0.176, allocations: 11.98 kB / 285.1 MB, free: 13.3 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000254/0.1763, allocations: 172.5 kB / 285.3 MB, free: 13.13 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1763, allocations: 0 / 285.3 MB, free: 13.13 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0006186/0.1769, allocations: 75.84 kB / 285.4 MB, free: 13.06 MB / 250.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.0002047/0.1771, allocations: 111.2 kB / 285.5 MB, free: 12.94 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.005223/0.1824, allocations: 0.6265 MB / 286.1 MB, free: 12.3 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.1824, allocations: 3.938 kB / 286.1 MB, free: 12.3 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004481/0.1869, allocations: 399.7 kB / 286.5 MB, free: 11.91 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006017/0.1876, allocations: 54.36 kB / 286.6 MB, free: 11.86 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.1905, allocations: 0.6933 MB / 287.3 MB, free: 11.14 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/0.191, allocations: 0.764 MB / 288 MB, free: 10.35 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0003156/0.1914, allocations: 25.89 kB / 288.1 MB, free: 10.32 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.1915, allocations: 27.42 kB / 288.1 MB, free: 10.3 MB / 250.7 MB Notification: Performance of SimCode: time 1.093e-06/0.1915, allocations: 0 / 288.1 MB, free: 10.3 MB / 250.7 MB Notification: Performance of Templates: time 0.04898/0.2405, allocations: 3.198 MB / 291.3 MB, free: 7.109 MB / 250.7 MB