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 1.88/1.88, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.137e-05/3.151e-05, allocations: 8 kB / 255.4 MB, free: 2.688 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07906/0.07911, allocations: 44.5 MB / 299.9 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3765/0.4556, allocations: 75.85 MB / 375.7 MB, free: 22.42 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/0.456, allocations: 68.64 kB / 375.8 MB, free: 22.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04475/0.5008, allocations: 8.211 MB / 384 MB, free: 21.46 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.211e-06/0.5009, allocations: 1.312 kB / 384 MB, free: 21.46 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.434e-05/0.5009, allocations: 13.03 kB / 384 MB, free: 21.45 MB / 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.002023/0.5029, allocations: 0.831 MB / 384.9 MB, free: 20.94 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.503, allocations: 10.41 kB / 384.9 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.5032, allocations: 54.62 kB / 384.9 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005946/0.5038, allocations: 370.2 kB / 385.3 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.682e-05/0.5039, allocations: 31.41 kB / 385.3 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.504, allocations: 33.84 kB / 385.3 MB, free: 20.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.505, allocations: 455.2 kB / 385.8 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.505, allocations: 0 / 385.8 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-05/0.5051, allocations: 15.34 kB / 385.8 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.5052, allocations: 7.969 kB / 385.8 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009613/0.5061, allocations: 382 kB / 386.2 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005967/0.5121, allocations: 2.044 MB / 388.2 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006435/0.5186, allocations: 0.7037 MB / 388.9 MB, free: 19.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001108/0.5198, allocations: 266.2 kB / 389.2 MB, free: 19.65 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.291e-05/0.5199, allocations: 14.75 kB / 389.2 MB, free: 19.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001091/0.521, allocations: 286.2 kB / 389.5 MB, free: 19.58 MB / 314.7 MB Notification: Performance of pre-optimization done (n=39): time 6.389e-06/0.521, allocations: 0 / 389.5 MB, free: 19.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.002833/0.5239, allocations: 0.5585 MB / 390 MB, free: 19.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.524, allocations: 81.02 kB / 390.1 MB, free: 19.4 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007861/0.5248, allocations: 322.1 kB / 390.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.5249, allocations: 32.89 kB / 390.5 MB, free: 19.26 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.5251, allocations: 230.4 kB / 390.7 MB, free: 19.13 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/0.5254, allocations: 130.1 kB / 390.8 MB, free: 19.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.681e-05/0.5255, allocations: 7.531 kB / 390.8 MB, free: 19.05 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5256, allocations: 352.5 kB / 391.2 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007291/0.5264, allocations: 165.9 kB / 391.3 MB, free: 18.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007788/0.5272, allocations: 203.2 kB / 391.5 MB, free: 18.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007129/0.5279, allocations: 192.5 kB / 391.7 MB, free: 18.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.99e-06/0.5279, allocations: 0 / 391.7 MB, free: 18.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002741/0.5307, allocations: 0.6043 MB / 392.3 MB, free: 18.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.956e-05/0.5308, allocations: 35.55 kB / 392.4 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.5308, allocations: 0 / 392.4 MB, free: 18.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001909/0.5327, allocations: 333.3 kB / 392.7 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.5338, allocations: 99.44 kB / 392.8 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/0.5472, allocations: 3.08 MB / 395.9 MB, free: 17.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.5486, allocations: 106.2 kB / 396 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-05/0.5488, allocations: 26.14 kB / 396 MB, free: 17.01 MB / 314.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.0002392/0.549, allocations: 118.2 kB / 396.1 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.5492, allocations: 50.09 kB / 396.2 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.5495, allocations: 55.31 kB / 396.2 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.214e-06/0.5495, allocations: 3.906 kB / 396.2 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.025e-06/0.5495, allocations: 3.812 kB / 396.2 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.5495, allocations: 3 kB / 396.2 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.5508, allocations: 0.5823 MB / 396.8 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.025e-06/0.5508, allocations: 0 / 396.8 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000968/0.5518, allocations: 87.31 kB / 396.9 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001771/0.5536, allocations: 338.8 kB / 397.2 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.994e-05/0.5537, allocations: 11.27 kB / 397.2 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01249/0.5662, allocations: 3.067 MB / 400.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/0.5663, allocations: 0 / 400.3 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003231/0.5695, allocations: 0.8363 MB / 401.1 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004156/0.57, allocations: 166.9 kB / 401.3 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.5702, allocations: 6.953 kB / 401.3 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.5714, allocations: 86.31 kB / 401.4 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/0.5716, allocations: 49.03 kB / 401.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.249e-05/0.5717, allocations: 15.33 kB / 401.5 MB, free: 14.93 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005016/0.5722, allocations: 250.8 kB / 401.7 MB, free: 14.85 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.127e-06/0.5723, allocations: 0 / 401.7 MB, free: 14.85 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001286/0.5736, allocations: 177.6 kB / 401.9 MB, free: 14.83 MB / 314.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.0002616/0.5738, allocations: 118.1 kB / 402 MB, free: 14.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002885/0.5767, allocations: 0.6501 MB / 402.6 MB, free: 30.54 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.5768, allocations: 0 / 402.6 MB, free: 30.54 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001664/0.5785, allocations: 417.1 kB / 403 MB, free: 30.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008475/0.5793, allocations: 77.22 kB / 403.1 MB, free: 30.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006441/0.5858, allocations: 0.7669 MB / 403.9 MB, free: 30.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/0.5871, allocations: 0.8413 MB / 404.7 MB, free: 29.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008155/0.588, allocations: 37.86 kB / 404.8 MB, free: 29.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/0.5883, allocations: 23.06 kB / 404.8 MB, free: 29.42 MB / 330.7 MB Notification: Performance of SimCode: time 5.596e-06/0.5884, allocations: 0 / 404.8 MB, free: 29.42 MB / 330.7 MB Notification: Performance of Templates: time 0.02495/0.6134, allocations: 10.48 MB / 415.3 MB, free: 26.89 MB / 330.7 MB