Running command: translateModel(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,tolerance=1e-12,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|L.i|simpleTriac.thyristor.vControl|simpleTriac.thyristor1.vControl",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") Notification: Performance of loadModel(Modelica): time 1.767/1.767, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.038e-05/3.048e-05, allocations: 4 kB / 228.1 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09619/0.09625, allocations: 38.77 MB / 266.9 MB, free: 480 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.00669/0.103, allocations: 3.017 MB / 269.9 MB, free: 13.43 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002826/0.1059, allocations: 0.858 MB / 270.8 MB, free: 12.57 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003542/0.1063, allocations: 11.94 kB / 270.8 MB, free: 12.55 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000191/0.1065, allocations: 55.58 kB / 270.9 MB, free: 12.5 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000667/0.1072, allocations: 171.4 kB / 271 MB, free: 12.33 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006115/0.1078, allocations: 119.8 kB / 271.1 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001066/0.1089, allocations: 359.1 kB / 271.5 MB, free: 11.86 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003402/0.1093, allocations: 86.33 kB / 271.6 MB, free: 11.78 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005961/0.1099, allocations: 199.5 kB / 271.8 MB, free: 11.59 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007114/0.1106, allocations: 255.2 kB / 272 MB, free: 11.34 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.1108, allocations: 24 kB / 272 MB, free: 11.31 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.111, allocations: 28 kB / 272.1 MB, free: 11.29 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001869/0.1112, allocations: 91.58 kB / 272.2 MB, free: 11.2 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002094/0.1114, allocations: 48 kB / 272.2 MB, free: 11.15 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.1125, allocations: 0.5882 MB / 272.8 MB, free: 10.56 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1125, allocations: 0 / 272.8 MB, free: 10.56 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.707e-06/0.1125, allocations: 0 / 272.8 MB, free: 10.56 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.797e-05/0.1126, allocations: 0 / 272.8 MB, free: 10.56 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.003802/0.1164, allocations: 0.8869 MB / 273.7 MB, free: 9.617 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.1164, allocations: 8.031 kB / 273.7 MB, free: 9.609 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.1167, allocations: 63.28 kB / 273.8 MB, free: 9.547 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007349/0.1174, allocations: 369 kB / 274.1 MB, free: 9.145 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.382e-05/0.1175, allocations: 29 kB / 274.1 MB, free: 9.117 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.1177, allocations: 36 kB / 274.2 MB, free: 9.082 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002322/0.12, allocations: 0.5981 MB / 274.8 MB, free: 8.465 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.12, allocations: 0 / 274.8 MB, free: 8.465 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.992e-05/0.1201, allocations: 12 kB / 274.8 MB, free: 8.453 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.532e-05/0.1201, allocations: 8 kB / 274.8 MB, free: 8.445 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003175/0.1233, allocations: 0.6441 MB / 275.4 MB, free: 7.797 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005654/0.129, allocations: 2.039 MB / 277.5 MB, free: 5.66 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00701/0.1361, allocations: 0.9363 MB / 278.4 MB, free: 4.711 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.599e-05/0.1362, allocations: 7.984 kB / 278.4 MB, free: 4.703 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001978/0.1382, allocations: 431.7 kB / 278.8 MB, free: 4.266 MB / 234.7 MB Notification: Performance of pre-optimization done (n=39): time 3.166e-06/0.1382, allocations: 0 / 278.8 MB, free: 4.266 MB / 234.7 MB Notification: Performance of matching and sorting (n=39): time 0.01817/0.1564, allocations: 2.044 MB / 280.9 MB, free: 2.191 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.841e-05/0.1565, allocations: 85.06 kB / 281 MB, free: 2.09 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000654/0.1572, allocations: 324.9 kB / 281.3 MB, free: 1.766 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001581/0.1574, allocations: 37.7 kB / 281.3 MB, free: 1.723 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.1577, allocations: 228.6 kB / 281.5 MB, free: 1.492 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/0.1579, allocations: 130.1 kB / 281.7 MB, free: 1.363 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/0.158, allocations: 8 kB / 281.7 MB, free: 1.355 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.1582, allocations: 350.8 kB / 282 MB, free: 1.004 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.1598, allocations: 304.6 kB / 282.3 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001658/0.1615, allocations: 346.1 kB / 282.7 MB, free: 364 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/0.1632, allocations: 327.5 kB / 283 MB, free: 32 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.1632, allocations: 3.938 kB / 283 MB, free: 28 kB / 234.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.008765/0.172, allocations: 1.171 MB / 284.2 MB, free: 14.84 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.947e-05/0.1721, allocations: 37.7 kB / 284.2 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.1721, allocations: 0 / 284.2 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002205/0.1743, allocations: 420.5 kB / 284.6 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008555/0.1752, allocations: 87.94 kB / 284.7 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0152/0.1905, allocations: 3.642 MB / 288.3 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.1917, allocations: 103.8 kB / 288.4 MB, free: 10.42 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.838e-05/0.1917, allocations: 12 kB / 288.4 MB, free: 10.41 MB / 250.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: 7 ($whenCondition1,simpleTriac.idealDiode.off,simpleTriac.idealDiode1.off,$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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003652/0.1921, allocations: 161.8 kB / 288.6 MB, free: 10.24 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.1923, allocations: 47.39 kB / 288.6 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.1925, allocations: 72.23 kB / 288.7 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.1925, allocations: 4 kB / 288.7 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1925, allocations: 0 / 288.7 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.1925, allocations: 0 / 288.7 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.1936, allocations: 0.5756 MB / 289.3 MB, free: 9.492 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.1936, allocations: 0 / 289.3 MB, free: 9.492 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008633/0.1945, allocations: 87.89 kB / 289.4 MB, free: 9.406 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002101/0.1966, allocations: 420.6 kB / 289.8 MB, free: 8.992 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.1967, allocations: 15.98 kB / 289.8 MB, free: 8.977 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01497/0.2117, allocations: 3.611 MB / 293.4 MB, free: 5.23 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2118, allocations: 3.938 kB / 293.4 MB, free: 5.227 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008581/0.2204, allocations: 1.412 MB / 294.8 MB, free: 3.793 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004247/0.2208, allocations: 176.5 kB / 295 MB, free: 3.602 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.221, allocations: 8 kB / 295 MB, free: 3.594 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.222, allocations: 87.92 kB / 295.1 MB, free: 3.508 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002237/0.2223, allocations: 47.92 kB / 295.2 MB, free: 3.461 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-05/0.2224, allocations: 11.98 kB / 295.2 MB, free: 3.449 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0004424/0.2228, allocations: 259.2 kB / 295.4 MB, free: 3.199 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.2228, allocations: 0 / 295.4 MB, free: 3.199 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0008602/0.2237, allocations: 159.8 kB / 295.6 MB, free: 3.043 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,simpleTriac.thyristor.vControl,simpleTriac.thyristor1.vControl) * Number of discrete variables: 5 ($whenCondition1,simpleTriac.idealDiode.off,simpleTriac.idealDiode1.off,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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002232/0.2239, allocations: 115.2 kB / 295.7 MB, free: 2.918 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.004397/0.2283, allocations: 0.9355 MB / 296.6 MB, free: 1.957 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2284, allocations: 4.062 kB / 296.6 MB, free: 1.953 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00268/0.2311, allocations: 0.5685 MB / 297.2 MB, free: 1.371 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006604/0.2318, allocations: 73.64 kB / 297.3 MB, free: 1.301 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004874/0.2367, allocations: 1.271 MB / 298.5 MB, free: 12 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2227/0.4594, allocations: 0.8394 MB / 299.4 MB, free: 30.1 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0004203/0.4599, allocations: 35.36 kB / 299.4 MB, free: 30.09 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.4601, allocations: 23.77 kB / 299.4 MB, free: 30.09 MB / 250.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4601, allocations: 0 / 299.4 MB, free: 30.09 MB / 250.7 MB Notification: Performance of Templates: time 0.02919/0.4893, allocations: 11.65 MB / 311.1 MB, free: 26.3 MB / 250.7 MB