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.1_cpp_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadModel(Modelica): time 1.962/1.962, allocations: 171.1 MB / 186.3 MB, free: 1.332 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.577e-05/3.581e-05, allocations: 0 / 228.1 MB, free: 7.984 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08494/0.08502, allocations: 38.77 MB / 266.9 MB, free: 1.133 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.009157/0.09423, allocations: 5.87 MB / 272.8 MB, free: 11.23 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01584/0.1101, allocations: 8.646 MB / 281.4 MB, free: 2.562 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.1114, allocations: 23.88 kB / 281.4 MB, free: 2.539 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001802/0.1132, allocations: 481.3 kB / 281.9 MB, free: 2.066 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004095/0.1173, allocations: 0.8914 MB / 282.8 MB, free: 1.172 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.1193, allocations: 406.8 kB / 283.2 MB, free: 0.7734 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.006068/0.1254, allocations: 2.104 MB / 285.3 MB, free: 14.66 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003901/0.1258, allocations: 102.8 kB / 285.4 MB, free: 14.56 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006635/0.1265, allocations: 338.9 kB / 285.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007538/0.1273, allocations: 418 kB / 286.1 MB, free: 13.82 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002459/0.1298, allocations: 0.6675 MB / 286.8 MB, free: 13.15 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003566/0.1302, allocations: 60 kB / 286.9 MB, free: 13.09 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002433/0.1304, allocations: 150.9 kB / 287 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004557/0.1309, allocations: 124 kB / 287.1 MB, free: 12.82 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002641/0.1335, allocations: 1.36 MB / 288.5 MB, free: 11.46 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1336, allocations: 0 / 288.5 MB, free: 11.46 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1336, allocations: 0 / 288.5 MB, free: 11.46 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.024e-05/0.1337, allocations: 0 / 288.5 MB, free: 11.46 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003452/0.1371, allocations: 1.472 MB / 290 MB, free: 9.934 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.1372, allocations: 8.031 kB / 290 MB, free: 9.926 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004224/0.1376, allocations: 201.6 kB / 290.2 MB, free: 9.727 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002983/0.1406, allocations: 1.151 MB / 291.3 MB, free: 8.531 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.156e-05/0.1407, allocations: 33 kB / 291.3 MB, free: 8.496 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.1409, allocations: 51.91 kB / 291.4 MB, free: 8.445 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.1425, allocations: 0.5158 MB / 291.9 MB, free: 7.926 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.1425, allocations: 0 / 291.9 MB, free: 7.926 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.543e-05/0.1426, allocations: 20 kB / 291.9 MB, free: 7.906 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.922e-05/0.1427, allocations: 19.98 kB / 291.9 MB, free: 7.887 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001647/0.1443, allocations: 496 kB / 292.4 MB, free: 7.398 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005399/0.1498, allocations: 2.135 MB / 294.6 MB, free: 5.18 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/0.1517, allocations: 0.716 MB / 295.3 MB, free: 4.414 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2292/0.3809, allocations: 6.552 MB / 301.8 MB, free: 28.85 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009548/0.3819, allocations: 295.3 kB / 302.1 MB, free: 28.8 MB / 250.7 MB Notification: Performance of pre-optimization done (n=55): time 4.87e-06/0.382, allocations: 0 / 302.1 MB, free: 28.8 MB / 250.7 MB Notification: Performance of matching and sorting (n=59): time 0.006508/0.3885, allocations: 2.182 MB / 304.3 MB, free: 27.68 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.3886, allocations: 66.25 kB / 304.4 MB, free: 27.61 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002558/0.3912, allocations: 1.089 MB / 305.5 MB, free: 27.21 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.3914, allocations: 32.55 kB / 305.5 MB, free: 27.17 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000626/0.392, allocations: 0.6343 MB / 306.1 MB, free: 26.59 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002752/0.3923, allocations: 203.6 kB / 306.3 MB, free: 26.44 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/0.3924, allocations: 14.53 kB / 306.3 MB, free: 26.43 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3925, allocations: 332.3 kB / 306.7 MB, free: 26.11 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007921/0.3933, allocations: 207.4 kB / 306.9 MB, free: 26.04 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008477/0.3941, allocations: 370.1 kB / 307.2 MB, free: 25.78 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008746/0.395, allocations: 261.6 kB / 307.5 MB, free: 25.67 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.3951, allocations: 1.812 kB / 307.5 MB, free: 25.67 MB / 250.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002428/0.3975, allocations: 0.7741 MB / 308.3 MB, free: 25.36 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.3976, allocations: 9.922 kB / 308.3 MB, free: 25.36 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001386/0.3977, allocations: 57.91 kB / 308.3 MB, free: 25.36 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000697/0.3984, allocations: 161.5 kB / 308.5 MB, free: 25.31 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008776/0.3993, allocations: 116.6 kB / 308.6 MB, free: 25.3 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004022/0.4034, allocations: 2.337 MB / 310.9 MB, free: 23.46 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.4044, allocations: 38.19 kB / 311 MB, free: 23.45 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.4046, allocations: 33.84 kB / 311 MB, free: 23.45 MB / 250.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.0007042/0.4053, allocations: 274.2 kB / 311.3 MB, free: 23.23 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003836/0.4057, allocations: 178 kB / 311.4 MB, free: 23.14 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003278/0.409, allocations: 0.9224 MB / 312.4 MB, free: 22.77 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.54e-05/0.4091, allocations: 5.781 kB / 312.4 MB, free: 22.77 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.4091, allocations: 3.812 kB / 312.4 MB, free: 22.77 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.4091, allocations: 5.547 kB / 312.4 MB, free: 22.76 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/0.4109, allocations: 0.8622 MB / 313.2 MB, free: 22.31 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001404/0.4111, allocations: 54.58 kB / 313.3 MB, free: 22.31 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006144/0.4117, allocations: 72.94 kB / 313.4 MB, free: 22.3 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006324/0.4124, allocations: 138.5 kB / 313.5 MB, free: 22.26 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.218e-05/0.4125, allocations: 17.02 kB / 313.5 MB, free: 22.26 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003768/0.4163, allocations: 2.332 MB / 315.8 MB, free: 20.41 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4163, allocations: 0 / 315.8 MB, free: 20.41 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003429/0.4198, allocations: 1.1 MB / 316.9 MB, free: 19.91 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000694/0.4205, allocations: 248.6 kB / 317.2 MB, free: 19.71 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002775/0.4208, allocations: 11.09 kB / 317.2 MB, free: 19.7 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006837/0.4215, allocations: 29.27 kB / 317.2 MB, free: 19.7 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/0.4217, allocations: 46.25 kB / 317.3 MB, free: 19.69 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.333e-05/0.4218, allocations: 24.61 kB / 317.3 MB, free: 19.68 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001707/0.4235, allocations: 0.8499 MB / 318.1 MB, free: 19.27 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4235, allocations: 0 / 318.1 MB, free: 19.27 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001529/0.4251, allocations: 375.6 kB / 318.5 MB, free: 19.23 MB / 250.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.001002/0.4261, allocations: 442.7 kB / 318.9 MB, free: 19.06 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002501/0.4286, allocations: 0.8618 MB / 319.8 MB, free: 18.57 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4287, allocations: 0 / 319.8 MB, free: 18.57 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00152/0.4302, allocations: 0.5921 MB / 320.4 MB, free: 18.2 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.4314, allocations: 161.6 kB / 320.6 MB, free: 18.1 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005352/0.4368, allocations: 2.773 MB / 323.3 MB, free: 15.79 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006667/0.4375, allocations: 1.204 MB / 324.5 MB, free: 14.56 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/0.4378, allocations: 75.44 kB / 324.6 MB, free: 14.48 MB / 250.7 MB Notification: Performance of SimCode: time 1.322e-06/0.4379, allocations: 0 / 324.6 MB, free: 14.48 MB / 250.7 MB Notification: Performance of Templates: time 0.04574/0.4836, allocations: 22.11 MB / 346.7 MB, free: 8.352 MB / 266.7 MB