Running command: translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadModel(Modelica): time 1.866/1.866, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.776e-05/3.785e-05, allocations: 4 kB / 269.4 MB, free: 6.395 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0987/0.09876, allocations: 47.57 MB / 316.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3873/0.4861, allocations: 90.26 MB / 407.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.4864, allocations: 67.34 kB / 407.3 MB, free: 14.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1586/0.645, allocations: 54.39 MB / 461.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.645, allocations: 0 / 461.6 MB, free: 14.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.073e-05/0.6451, allocations: 24.66 kB / 461.7 MB, free: 14.82 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003059/0.6482, allocations: 1.538 MB / 463.2 MB, free: 13.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.6482, allocations: 9.125 kB / 463.2 MB, free: 13.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003264/0.6486, allocations: 201.7 kB / 463.4 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003771/0.6524, allocations: 1.143 MB / 464.6 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.935e-05/0.6525, allocations: 29 kB / 464.6 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/0.6527, allocations: 48 kB / 464.6 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.6546, allocations: 478.3 kB / 465.1 MB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.094e-05/0.6547, allocations: 3.984 kB / 465.1 MB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.6548, allocations: 20 kB / 465.1 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.425e-05/0.6549, allocations: 15.94 kB / 465.1 MB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/0.6565, allocations: 422.2 kB / 465.6 MB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005717/0.6623, allocations: 2.116 MB / 467.7 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.6634, allocations: 0.6419 MB / 468.3 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009205/0.6643, allocations: 498.1 kB / 468.8 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01224/0.6766, allocations: 7.74 MB / 476.5 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006108/0.6772, allocations: 270.1 kB / 476.8 MB, free: 14.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=55): time 4.445e-06/0.6772, allocations: 4 kB / 476.8 MB, free: 14.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=59): time 0.003816/0.6811, allocations: 1.668 MB / 478.5 MB, free: 12.49 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.6811, allocations: 59.83 kB / 478.5 MB, free: 12.42 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001964/0.6831, allocations: 1.072 MB / 479.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.488e-05/0.6832, allocations: 41.7 kB / 479.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000835/0.6841, allocations: 0.715 MB / 480.4 MB, free: 10.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.6843, allocations: 201.1 kB / 480.6 MB, free: 10.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.6844, allocations: 8 kB / 480.6 MB, free: 10.38 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.6846, allocations: 334 kB / 480.9 MB, free: 10.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004169/0.685, allocations: 161.6 kB / 481 MB, free: 9.891 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000579/0.6856, allocations: 334.2 kB / 481.4 MB, free: 9.496 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005311/0.6861, allocations: 215.9 kB / 481.6 MB, free: 9.285 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.409e-06/0.6861, allocations: 4 kB / 481.6 MB, free: 9.281 MB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001924/0.6881, allocations: 0.8402 MB / 482.4 MB, free: 8.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.6881, allocations: 8 kB / 482.4 MB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001184/0.6882, allocations: 55.98 kB / 482.5 MB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000553/0.6888, allocations: 153.4 kB / 482.6 MB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005862/0.6894, allocations: 119.8 kB / 482.8 MB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003784/0.6932, allocations: 2.294 MB / 485.1 MB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007081/0.6939, allocations: 35.98 kB / 485.1 MB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.792e-05/0.6941, allocations: 32 kB / 485.1 MB, free: 5.602 MB / 394.7 MB Warning: Assuming fixed start value for the following 2 variables: T2.vcs:VARIABLE(unit = "V" ) type: Real T1.vcs:VARIABLE(unit = "V" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.v.counter,v.counter,$whenCondition1,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 1 {(4,81.2%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002501/0.6943, allocations: 144.7 kB / 485.3 MB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002736/0.6946, allocations: 185.8 kB / 485.4 MB, free: 5.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002463/0.6971, allocations: 0.8358 MB / 486.3 MB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.6971, allocations: 8 kB / 486.3 MB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.6971, allocations: 3.953 kB / 486.3 MB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.6972, allocations: 11.94 kB / 486.3 MB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.6987, allocations: 0.8592 MB / 487.2 MB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001024/0.6988, allocations: 55.98 kB / 487.2 MB, free: 3.434 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003931/0.6993, allocations: 59.95 kB / 487.3 MB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005202/0.6998, allocations: 156 kB / 487.4 MB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.366e-05/0.6999, allocations: 19.95 kB / 487.4 MB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00369/0.7036, allocations: 2.268 MB / 489.7 MB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.429e-06/0.7036, allocations: 0 / 489.7 MB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.7058, allocations: 0.9828 MB / 490.7 MB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004993/0.7063, allocations: 247 kB / 490.9 MB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/0.7066, allocations: 12 kB / 490.9 MB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005125/0.7071, allocations: 19.98 kB / 491 MB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.7073, allocations: 52.33 kB / 491 MB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.135e-05/0.7073, allocations: 27.92 kB / 491 MB, free: 15.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00157/0.7089, allocations: 0.8267 MB / 491.9 MB, free: 14.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.186e-06/0.7089, allocations: 4 kB / 491.9 MB, free: 14.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001364/0.7103, allocations: 431.5 kB / 492.3 MB, free: 14.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vcs,T2.vbe,T2.vcs) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * 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: 1 {(6,50.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001073/0.7114, allocations: 0.5361 MB / 492.8 MB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001744/0.7132, allocations: 0.756 MB / 493.6 MB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.7132, allocations: 8.062 kB / 493.6 MB, free: 12.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.7145, allocations: 0.5567 MB / 494.2 MB, free: 12.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007438/0.7152, allocations: 164.3 kB / 494.3 MB, free: 12.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/0.7192, allocations: 1.789 MB / 496.1 MB, free: 10.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/0.7203, allocations: 1.204 MB / 497.3 MB, free: 9.051 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007043/0.721, allocations: 157.5 kB / 497.5 MB, free: 8.895 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001823/0.7212, allocations: 67.44 kB / 497.5 MB, free: 8.828 MB / 410.7 MB Notification: Performance of SimCode: time 1.782e-06/0.7213, allocations: 0 / 497.5 MB, free: 8.828 MB / 410.7 MB Notification: Performance of Templates: time 0.03957/0.7608, allocations: 14.15 MB / 0.4997 GB, free: 10.69 MB / 426.7 MB