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.3_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") Notification: Performance of loadModel(Modelica): time 1.891/1.891, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.027e-05/3.038e-05, allocations: 0 / 269.4 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08678/0.08683, allocations: 47.58 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3368/0.4236, allocations: 80.33 MB / 397.3 MB, free: 7.793 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.4239, allocations: 75.41 kB / 397.3 MB, free: 7.754 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03636/0.4603, allocations: 8.509 MB / 405.8 MB, free: 452 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4603, allocations: 0 / 405.8 MB, free: 452 kB / 314.7 MB Notification: Performance of Transformations before backend: time 3.596e-05/0.4604, allocations: 12 kB / 405.8 MB, free: 440 kB / 314.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.0023/0.4627, allocations: 0.8264 MB / 406.7 MB, free: 15.58 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.4628, allocations: 12.03 kB / 406.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/0.463, allocations: 55.34 kB / 406.7 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007292/0.4637, allocations: 385.5 kB / 407.1 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.255e-05/0.4638, allocations: 39.86 kB / 407.2 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.4639, allocations: 35 kB / 407.2 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.465, allocations: 451.3 kB / 407.6 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.465, allocations: 0 / 407.6 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-05/0.4651, allocations: 15.44 kB / 407.6 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.4652, allocations: 15.94 kB / 407.7 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009826/0.4661, allocations: 378.3 kB / 408 MB, free: 14.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004731/0.4709, allocations: 2.048 MB / 410.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003813/0.4748, allocations: 0.7077 MB / 410.8 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007367/0.4755, allocations: 264 kB / 411 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.242e-05/0.4756, allocations: 11.11 kB / 411.1 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006914/0.4763, allocations: 295.5 kB / 411.3 MB, free: 11.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 4.01e-06/0.4763, allocations: 0 / 411.3 MB, free: 11.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=39): time 0.001784/0.4781, allocations: 0.5414 MB / 411.9 MB, free: 11.61 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.568e-05/0.4782, allocations: 96.23 kB / 412 MB, free: 11.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005768/0.4788, allocations: 337.6 kB / 412.3 MB, free: 11.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.074e-05/0.4789, allocations: 36.64 kB / 412.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.4792, allocations: 215.9 kB / 412.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.4793, allocations: 132 kB / 412.7 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.4794, allocations: 10.5 kB / 412.7 MB, free: 10.92 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.4796, allocations: 348.8 kB / 413 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004541/0.4801, allocations: 167.3 kB / 413.2 MB, free: 10.49 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004794/0.4806, allocations: 208.5 kB / 413.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004657/0.481, allocations: 180 kB / 413.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.271e-06/0.4811, allocations: 3.938 kB / 413.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00174/0.4828, allocations: 0.6014 MB / 414.2 MB, free: 9.82 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.228e-05/0.4829, allocations: 33.77 kB / 414.2 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.4829, allocations: 0 / 414.2 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.4842, allocations: 343.5 kB / 414.6 MB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006198/0.4848, allocations: 99.88 kB / 414.7 MB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009079/0.4939, allocations: 3.084 MB / 417.7 MB, free: 6.902 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008998/0.4948, allocations: 103.1 kB / 417.8 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/0.4949, allocations: 15.44 kB / 417.9 MB, free: 6.793 MB / 330.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.0002103/0.4951, allocations: 126.9 kB / 418 MB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.4953, allocations: 43.44 kB / 418 MB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.4954, allocations: 47.69 kB / 418.1 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.604e-06/0.4955, allocations: 11.88 kB / 418.1 MB, free: 6.598 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.634e-06/0.4955, allocations: 4 kB / 418.1 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.4955, allocations: 11.88 kB / 418.1 MB, free: 6.582 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009124/0.4964, allocations: 0.5837 MB / 418.7 MB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.955e-06/0.4965, allocations: 3.984 kB / 418.7 MB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005892/0.4971, allocations: 79.94 kB / 418.8 MB, free: 6.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001128/0.4982, allocations: 335.2 kB / 419.1 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.786e-05/0.4983, allocations: 10.67 kB / 419.1 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008885/0.5072, allocations: 3.076 MB / 422.2 MB, free: 3.238 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.776e-06/0.5073, allocations: 0 / 422.2 MB, free: 3.238 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002352/0.5096, allocations: 0.8427 MB / 423 MB, free: 2.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003557/0.51, allocations: 168.4 kB / 423.2 MB, free: 2.531 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.5101, allocations: 10.95 kB / 423.2 MB, free: 2.527 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007608/0.5109, allocations: 83.36 kB / 423.3 MB, free: 2.449 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/0.5111, allocations: 54.92 kB / 423.3 MB, free: 2.406 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.699e-05/0.5112, allocations: 11.98 kB / 423.3 MB, free: 2.395 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004354/0.5116, allocations: 264.8 kB / 423.6 MB, free: 2.199 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.3e-07/0.5117, allocations: 0 / 423.6 MB, free: 2.199 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008412/0.5125, allocations: 178.4 kB / 423.8 MB, free: 2.039 MB / 330.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.0002388/0.5128, allocations: 116.4 kB / 423.9 MB, free: 1.918 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001825/0.5146, allocations: 0.6528 MB / 424.5 MB, free: 1.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.625e-06/0.5146, allocations: 0 / 424.5 MB, free: 1.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.5158, allocations: 428.1 kB / 425 MB, free: 1.113 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006277/0.5165, allocations: 66.58 kB / 425 MB, free: 1.066 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003182/0.5197, allocations: 0.8661 MB / 425.9 MB, free: 296 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005987/0.5203, allocations: 0.8436 MB / 426.7 MB, free: 15.42 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003695/0.5207, allocations: 39.28 kB / 426.8 MB, free: 15.38 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.5209, allocations: 30.56 kB / 426.8 MB, free: 15.35 MB / 346.7 MB Notification: Performance of SimCode: time 1.824e-06/0.5209, allocations: 0 / 426.8 MB, free: 15.35 MB / 346.7 MB Notification: Performance of Templates: time 0.02623/0.5471, allocations: 10.72 MB / 437.5 MB, free: 4.703 MB / 346.7 MB