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.2_Modelica.Electrical.Analog.Examples.SimpleTriacCircuit") Notification: Performance of loadModel(Modelica): time 2.049/2.049, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.765e-05/2.774e-05, allocations: 0 / 258.8 MB, free: 8.055 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3003, allocations: 44.5 MB / 303.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit): time 0.004826/0.3052, allocations: 3.037 MB / 306.4 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002322/0.3076, allocations: 0.8631 MB / 307.2 MB, free: 9.691 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002738/0.3079, allocations: 19.88 kB / 307.2 MB, free: 9.672 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.308, allocations: 55.58 kB / 307.3 MB, free: 9.617 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005062/0.3085, allocations: 171.4 kB / 307.5 MB, free: 9.449 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/0.309, allocations: 115.8 kB / 307.6 MB, free: 9.336 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006508/0.3097, allocations: 355.1 kB / 307.9 MB, free: 8.988 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002492/0.3099, allocations: 94.31 kB / 308 MB, free: 8.891 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003998/0.3103, allocations: 207.5 kB / 308.2 MB, free: 8.688 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004835/0.3108, allocations: 243.2 kB / 308.5 MB, free: 8.449 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.311, allocations: 28 kB / 308.5 MB, free: 8.422 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.446e-05/0.3111, allocations: 27.94 kB / 308.5 MB, free: 8.395 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.3112, allocations: 91.62 kB / 308.6 MB, free: 8.305 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.3114, allocations: 52 kB / 308.6 MB, free: 8.254 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008032/0.3122, allocations: 0.5842 MB / 309.2 MB, free: 7.668 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3122, allocations: 0 / 309.2 MB, free: 7.668 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.756e-06/0.3122, allocations: 0 / 309.2 MB, free: 7.668 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.805e-05/0.3123, allocations: 0 / 309.2 MB, free: 7.668 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.003615/0.3159, allocations: 0.8793 MB / 310.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.316, allocations: 8.031 kB / 310.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.3161, allocations: 55.34 kB / 310.2 MB, free: 6.668 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006956/0.3169, allocations: 369 kB / 310.5 MB, free: 6.27 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/0.3169, allocations: 36.92 kB / 310.6 MB, free: 6.23 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.3171, allocations: 36 kB / 310.6 MB, free: 6.195 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/0.3194, allocations: 0.5903 MB / 311.2 MB, free: 5.586 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.3194, allocations: 0 / 311.2 MB, free: 5.586 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.84e-05/0.3195, allocations: 16 kB / 311.2 MB, free: 5.57 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.3195, allocations: 8 kB / 311.2 MB, free: 5.562 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003229/0.3228, allocations: 0.6441 MB / 311.9 MB, free: 4.914 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005557/0.3283, allocations: 2.047 MB / 313.9 MB, free: 2.773 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006923/0.3353, allocations: 0.9327 MB / 314.8 MB, free: 1.832 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.915e-05/0.3354, allocations: 7.953 kB / 314.9 MB, free: 1.824 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001959/0.3374, allocations: 431.7 kB / 315.3 MB, free: 1.387 MB / 250.7 MB Notification: Performance of pre-optimization done (n=39): time 3.095e-06/0.3374, allocations: 0 / 315.3 MB, free: 1.387 MB / 250.7 MB Notification: Performance of matching and sorting (n=39): time 0.01812/0.3556, allocations: 2.037 MB / 317.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.661e-05/0.3557, allocations: 85.11 kB / 317.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006809/0.3564, allocations: 320.9 kB / 317.7 MB, free: 14.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001524/0.3566, allocations: 37.7 kB / 317.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002567/0.3569, allocations: 224.6 kB / 318 MB, free: 14.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.3571, allocations: 130.1 kB / 318.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.158e-05/0.3571, allocations: 12 kB / 318.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.3573, allocations: 346.8 kB / 318.4 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/0.3591, allocations: 304.6 kB / 318.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/0.3608, allocations: 350.1 kB / 319.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.3625, allocations: 323.6 kB / 319.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3625, allocations: 0 / 319.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.008748/0.3712, allocations: 1.178 MB / 320.6 MB, free: 11.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.368e-05/0.3714, allocations: 31.42 kB / 320.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.3714, allocations: 7.953 kB / 320.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002185/0.3736, allocations: 421.3 kB / 321 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009025/0.3745, allocations: 99.86 kB / 321.1 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01475/0.3893, allocations: 3.621 MB / 324.7 MB, free: 7.672 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.3905, allocations: 111.6 kB / 324.9 MB, free: 7.562 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.922e-05/0.3906, allocations: 12 kB / 324.9 MB, free: 7.551 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: 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.0003677/0.391, allocations: 173.7 kB / 325 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.3911, allocations: 39.53 kB / 325.1 MB, free: 7.332 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.3913, allocations: 60.36 kB / 325.1 MB, free: 7.273 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.3913, allocations: 4 kB / 325.1 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.3913, allocations: 3.938 kB / 325.1 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.3913, allocations: 0 / 325.1 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.3924, allocations: 0.5833 MB / 325.7 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.3924, allocations: 0 / 325.7 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008425/0.3932, allocations: 95.86 kB / 325.8 MB, free: 6.539 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002082/0.3953, allocations: 419.8 kB / 326.2 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.049e-05/0.3954, allocations: 15.98 kB / 326.2 MB, free: 6.113 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01458/0.41, allocations: 3.599 MB / 329.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4101, allocations: 0 / 329.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008622/0.4187, allocations: 1.404 MB / 331.2 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004124/0.4192, allocations: 168.5 kB / 331.4 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.4193, allocations: 8 kB / 331.4 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.4204, allocations: 87.92 kB / 331.5 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00024/0.4207, allocations: 47.92 kB / 331.5 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.786e-05/0.4208, allocations: 20.12 kB / 331.6 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004603/0.4213, allocations: 251.2 kB / 331.8 MB, free: 376 kB / 266.7 MB Notification: Performance of sort global known variables: time 2.454e-06/0.4213, allocations: 0 / 331.8 MB, free: 376 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0009638/0.4223, allocations: 171.7 kB / 332 MB, free: 204 kB / 266.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.0002369/0.4225, allocations: 115.2 kB / 332.1 MB, free: 80 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0046/0.4271, allocations: 0.9433 MB / 333 MB, free: 15.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.906e-06/0.4272, allocations: 4.062 kB / 333 MB, free: 15.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002735/0.4299, allocations: 0.5687 MB / 333.6 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007378/0.4307, allocations: 77.45 kB / 333.7 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005731/0.4365, allocations: 1.261 MB / 334.9 MB, free: 13.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007897/0.4373, allocations: 0.843 MB / 335.8 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000547/0.4379, allocations: 39.27 kB / 335.8 MB, free: 12.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.4381, allocations: 23.44 kB / 335.8 MB, free: 12.23 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.4381, allocations: 0 / 335.8 MB, free: 12.23 MB / 282.7 MB Notification: Performance of Templates: time 0.04348/0.4816, allocations: 11.63 MB / 347.5 MB, free: 0.6211 MB / 282.7 MB