Running command: translateModel(Modelica.Electrical.Analog.Examples.IdealTriacCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|idealTriac.capacitor.v|idealTriac.idealThyristor.off|idealTriac.idealThyristor1.off",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.IdealTriacCircuit") Notification: Performance of loadModel(Modelica): time 1.764/1.764, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.733e-05/2.742e-05, allocations: 8 kB / 228.1 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0956/0.09565, allocations: 38.77 MB / 266.9 MB, free: 500 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.IdealTriacCircuit): time 0.005227/0.1009, allocations: 2.311 MB / 269.2 MB, free: 14.15 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.1032, allocations: 0.6901 MB / 269.9 MB, free: 13.46 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003213/0.1036, allocations: 8 kB / 269.9 MB, free: 13.45 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.1038, allocations: 31.75 kB / 270 MB, free: 13.42 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00045/0.1042, allocations: 111.6 kB / 270.1 MB, free: 13.31 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.1046, allocations: 59.92 kB / 270.1 MB, free: 13.25 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005647/0.1052, allocations: 203.5 kB / 270.3 MB, free: 13.05 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002705/0.1055, allocations: 69.11 kB / 270.4 MB, free: 12.98 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003144/0.1058, allocations: 107.6 kB / 270.5 MB, free: 12.88 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003419/0.1062, allocations: 127.6 kB / 270.6 MB, free: 12.75 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.327e-05/0.1063, allocations: 16 kB / 270.6 MB, free: 12.74 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.418e-05/0.1064, allocations: 12 kB / 270.6 MB, free: 12.73 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.572e-05/0.1065, allocations: 47.81 kB / 270.7 MB, free: 12.68 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.1066, allocations: 28 kB / 270.7 MB, free: 12.65 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006246/0.1073, allocations: 315.3 kB / 271 MB, free: 12.34 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.1073, allocations: 0 / 271 MB, free: 12.34 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.677e-06/0.1073, allocations: 3.938 kB / 271 MB, free: 12.34 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.1074, allocations: 0 / 271 MB, free: 12.34 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001696/0.1091, allocations: 0.5507 MB / 271.6 MB, free: 11.74 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.1091, allocations: 8.031 kB / 271.6 MB, free: 11.73 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.1093, allocations: 35.62 kB / 271.6 MB, free: 11.7 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006833/0.11, allocations: 276.2 kB / 271.9 MB, free: 11.39 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.587e-05/0.1101, allocations: 20.52 kB / 271.9 MB, free: 11.37 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.635e-05/0.1102, allocations: 23.94 kB / 271.9 MB, free: 11.34 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.1114, allocations: 296.5 kB / 272.2 MB, free: 11.04 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.1114, allocations: 0 / 272.2 MB, free: 11.04 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-05/0.1115, allocations: 12 kB / 272.2 MB, free: 11.03 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.1116, allocations: 8 kB / 272.2 MB, free: 11.02 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.1126, allocations: 206.1 kB / 272.4 MB, free: 10.82 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003301/0.1159, allocations: 1.152 MB / 273.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008405/0.1168, allocations: 227.2 kB / 273.8 MB, free: 9.355 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.1169, allocations: 8.172 kB / 273.8 MB, free: 9.348 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004602/0.1173, allocations: 168 kB / 274 MB, free: 9.164 MB / 234.7 MB Notification: Performance of pre-optimization done (n=22): time 4.498e-06/0.1174, allocations: 0 / 274 MB, free: 9.164 MB / 234.7 MB Notification: Performance of matching and sorting (n=22): time 0.002388/0.1198, allocations: 0.5142 MB / 274.5 MB, free: 8.625 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.512e-05/0.1199, allocations: 110.8 kB / 274.6 MB, free: 8.492 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003954/0.1203, allocations: 224.1 kB / 274.8 MB, free: 8.266 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 6.379e-05/0.1204, allocations: 33.64 kB / 274.9 MB, free: 8.227 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.1206, allocations: 172.4 kB / 275 MB, free: 8.055 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.695e-05/0.1207, allocations: 67 kB / 275.1 MB, free: 7.988 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-05/0.1207, allocations: 4 kB / 275.1 MB, free: 7.984 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.1209, allocations: 338.8 kB / 275.4 MB, free: 7.645 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/0.1212, allocations: 75.97 kB / 275.5 MB, free: 7.57 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/0.1216, allocations: 138.2 kB / 275.6 MB, free: 7.414 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.1219, allocations: 89.09 kB / 275.7 MB, free: 7.328 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.1219, allocations: 0 / 275.7 MB, free: 7.328 MB / 234.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009532/0.1229, allocations: 308 kB / 276 MB, free: 7.02 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.1229, allocations: 4 kB / 276 MB, free: 7.016 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.123, allocations: 0 / 276 MB, free: 7.016 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005799/0.1235, allocations: 96.67 kB / 276.1 MB, free: 6.918 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.1239, allocations: 31.98 kB / 276.2 MB, free: 6.887 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00349/0.1274, allocations: 1.967 MB / 278.1 MB, free: 4.781 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004433/0.1279, allocations: 35.73 kB / 278.2 MB, free: 4.746 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.1279, allocations: 12 kB / 278.2 MB, free: 4.734 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart,$PRE.idealTriac.idealThyristor.off,idealTriac.idealThyristor.off,$PRE.idealTriac.idealThyristor1.off,idealTriac.idealThyristor1.off,idealTriac.fire1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002517/0.1282, allocations: 150.1 kB / 278.3 MB, free: 4.578 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.797e-05/0.1283, allocations: 31.67 kB / 278.4 MB, free: 4.547 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.937e-05/0.1284, allocations: 30.17 kB / 278.4 MB, free: 4.516 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.1284, allocations: 4 kB / 278.4 MB, free: 4.512 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.1284, allocations: 0 / 278.4 MB, free: 4.512 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1284, allocations: 0 / 278.4 MB, free: 4.512 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005569/0.129, allocations: 361.2 kB / 278.7 MB, free: 4.109 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.129, allocations: 0 / 278.7 MB, free: 4.109 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000245/0.1292, allocations: 23.92 kB / 278.8 MB, free: 4.086 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004565/0.1297, allocations: 96.78 kB / 278.9 MB, free: 3.988 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/0.1298, allocations: 7.953 kB / 278.9 MB, free: 3.98 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003529/0.1333, allocations: 1.96 MB / 280.8 MB, free: 1.891 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.1333, allocations: 0 / 280.8 MB, free: 1.891 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.1347, allocations: 413.5 kB / 281.2 MB, free: 1.465 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001992/0.1349, allocations: 120.8 kB / 281.3 MB, free: 1.328 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.626e-05/0.135, allocations: 4 kB / 281.4 MB, free: 1.324 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000313/0.1353, allocations: 31.98 kB / 281.4 MB, free: 1.293 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/0.1355, allocations: 31.95 kB / 281.4 MB, free: 1.262 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.1356, allocations: 8 kB / 281.4 MB, free: 1.254 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.000269/0.1358, allocations: 172.5 kB / 281.6 MB, free: 1.086 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1359, allocations: 0 / 281.6 MB, free: 1.086 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0006472/0.1365, allocations: 91.84 kB / 281.7 MB, free: 0.9961 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (idealTriac.capacitor.v) * Number of discrete variables: 5 ($whenCondition1,booleanPulse.pulsStart,idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off,idealTriac.fire1) * Number of discrete states: 2 (idealTriac.idealThyristor.off,idealTriac.idealThyristor1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {2 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001981/0.1367, allocations: 111.2 kB / 281.8 MB, free: 0.875 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.1379, allocations: 369 kB / 282.1 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.1379, allocations: 0 / 282.1 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006866/0.1386, allocations: 274.8 kB / 282.4 MB, free: 228 kB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/0.1391, allocations: 60.36 kB / 282.5 MB, free: 168 kB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.1408, allocations: 0.6962 MB / 283.2 MB, free: 15.45 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.1413, allocations: 0.768 MB / 283.9 MB, free: 14.65 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002031/0.1415, allocations: 18.3 kB / 284 MB, free: 14.63 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.521e-05/0.1416, allocations: 27.38 kB / 284 MB, free: 14.6 MB / 250.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1416, allocations: 0 / 284 MB, free: 14.6 MB / 250.7 MB Notification: Performance of Templates: time 0.01441/0.1561, allocations: 4.182 MB / 288.2 MB, free: 10.45 MB / 250.7 MB