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.2_cpp_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadModel(Modelica): time 2.239/2.239, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.333e-05/3.336e-05, allocations: 7.938 kB / 258.8 MB, free: 8.715 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3183, allocations: 44.5 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.01272/0.3311, allocations: 5.871 MB / 309.2 MB, free: 7.832 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02197/0.3532, allocations: 8.655 MB / 317.8 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.3548, allocations: 19.94 kB / 317.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002482/0.3573, allocations: 481.3 kB / 318.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005361/0.3627, allocations: 0.8875 MB / 319.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.3652, allocations: 406.8 kB / 319.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007963/0.3732, allocations: 2.127 MB / 321.7 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005249/0.3738, allocations: 102.8 kB / 321.8 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008073/0.3746, allocations: 342.9 kB / 322.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.3757, allocations: 418 kB / 322.6 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/0.3789, allocations: 0.6675 MB / 323.2 MB, free: 9.715 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004522/0.3794, allocations: 64 kB / 323.3 MB, free: 9.652 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002899/0.3797, allocations: 143 kB / 323.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000596/0.3803, allocations: 124 kB / 323.5 MB, free: 9.391 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003532/0.3838, allocations: 1.361 MB / 324.9 MB, free: 8.027 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3839, allocations: 0 / 324.9 MB, free: 8.027 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.3839, allocations: 0 / 324.9 MB, free: 8.027 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.501e-05/0.384, allocations: 0 / 324.9 MB, free: 8.027 MB / 266.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.003776/0.3878, allocations: 1.48 MB / 326.4 MB, free: 6.492 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.3879, allocations: 8.031 kB / 326.4 MB, free: 6.484 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004984/0.3884, allocations: 193.8 kB / 326.6 MB, free: 6.293 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003096/0.3915, allocations: 1.162 MB / 327.7 MB, free: 5.086 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.144e-05/0.3916, allocations: 33 kB / 327.8 MB, free: 5.055 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.3918, allocations: 48 kB / 327.8 MB, free: 5.008 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.3934, allocations: 0.5197 MB / 328.3 MB, free: 4.484 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.3935, allocations: 0 / 328.3 MB, free: 4.484 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.256e-05/0.3936, allocations: 16 kB / 328.4 MB, free: 4.469 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.937e-05/0.3936, allocations: 19.98 kB / 328.4 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.3953, allocations: 488.1 kB / 328.9 MB, free: 3.969 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00538/0.4007, allocations: 2.128 MB / 331 MB, free: 1.754 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.4025, allocations: 0.723 MB / 331.7 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01296/0.4155, allocations: 6.556 MB / 338.3 MB, free: 9.438 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009645/0.4166, allocations: 302.3 kB / 338.6 MB, free: 9.129 MB / 282.7 MB Notification: Performance of pre-optimization done (n=55): time 3.847e-06/0.4166, allocations: 4 kB / 338.6 MB, free: 9.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=59): time 0.006369/0.423, allocations: 2.174 MB / 340.7 MB, free: 6.855 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.4231, allocations: 59.78 kB / 340.8 MB, free: 6.785 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/0.4253, allocations: 1.088 MB / 341.9 MB, free: 5.703 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001311/0.4255, allocations: 37.7 kB / 341.9 MB, free: 5.66 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007944/0.4263, allocations: 0.6314 MB / 342.5 MB, free: 5.023 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002967/0.4266, allocations: 209.1 kB / 342.8 MB, free: 4.816 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.958e-05/0.4267, allocations: 12 kB / 342.8 MB, free: 4.805 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.4269, allocations: 334.8 kB / 343.1 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008077/0.4277, allocations: 201.6 kB / 343.3 MB, free: 4.273 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009023/0.4286, allocations: 376.3 kB / 343.7 MB, free: 3.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008713/0.4295, allocations: 257.9 kB / 343.9 MB, free: 3.586 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.4295, allocations: 4 kB / 343.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002526/0.4321, allocations: 0.7757 MB / 344.7 MB, free: 2.793 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.4322, allocations: 6.031 kB / 344.7 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001457/0.4323, allocations: 59.98 kB / 344.8 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000688/0.433, allocations: 161 kB / 344.9 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008659/0.4339, allocations: 111.9 kB / 345 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004616/0.4385, allocations: 2.337 MB / 347.4 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009806/0.4396, allocations: 39.94 kB / 347.4 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.4397, allocations: 35.94 kB / 347.4 MB, free: 15.92 MB / 298.7 MB 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,75.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007/0.4404, allocations: 269.8 kB / 347.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000404/0.4408, allocations: 177.9 kB / 347.9 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003473/0.4443, allocations: 0.9332 MB / 348.8 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.4444, allocations: 4 kB / 348.8 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.4444, allocations: 7.984 kB / 348.8 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.4444, allocations: 0 / 348.8 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.4463, allocations: 0.863 MB / 349.7 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00014/0.4465, allocations: 51.95 kB / 349.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000633/0.4471, allocations: 79.88 kB / 349.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006894/0.4478, allocations: 146.2 kB / 349.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.936e-05/0.4479, allocations: 19.98 kB / 350 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004428/0.4524, allocations: 2.317 MB / 352.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.4524, allocations: 0 / 352.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003512/0.4559, allocations: 1.096 MB / 353.4 MB, free: 9.742 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006038/0.4566, allocations: 255 kB / 353.6 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002776/0.4569, allocations: 15.95 kB / 353.6 MB, free: 9.457 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006655/0.4576, allocations: 19.98 kB / 353.7 MB, free: 9.438 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.4578, allocations: 44.38 kB / 353.7 MB, free: 9.395 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.64e-05/0.4579, allocations: 23.98 kB / 353.7 MB, free: 9.371 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001873/0.4598, allocations: 0.8461 MB / 354.6 MB, free: 8.535 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.4598, allocations: 0 / 354.6 MB, free: 8.535 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001532/0.4613, allocations: 375.8 kB / 354.9 MB, free: 8.168 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vbx,T2.vbe,T2.vbx) * 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 {(4,81.2%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001077/0.4624, allocations: 431.9 kB / 355.4 MB, free: 7.734 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002771/0.4652, allocations: 0.8643 MB / 356.2 MB, free: 6.848 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.4653, allocations: 4 kB / 356.2 MB, free: 6.844 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002623/0.4679, allocations: 0.598 MB / 356.8 MB, free: 6.223 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001747/0.4698, allocations: 162.3 kB / 357 MB, free: 6.062 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009441/0.4792, allocations: 2.769 MB / 359.8 MB, free: 3.258 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/0.4809, allocations: 1.204 MB / 361 MB, free: 2.023 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004253/0.4814, allocations: 71.44 kB / 361 MB, free: 1.953 MB / 298.7 MB Notification: Performance of SimCode: time 2.074e-06/0.4814, allocations: 4 kB / 361 MB, free: 1.949 MB / 298.7 MB Notification: Performance of Templates: time 0.09655/0.578, allocations: 22.12 MB / 383.2 MB, free: 11.8 MB / 330.7 MB