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_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadModel(Modelica): time 1.773/1.773, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.501e-05/3.505e-05, allocations: 8 kB / 228.1 MB, free: 7.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08242/0.08249, allocations: 38.77 MB / 266.9 MB, free: 0.4922 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008989/0.09155, allocations: 5.867 MB / 272.8 MB, free: 10.6 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01569/0.1073, allocations: 8.658 MB / 281.4 MB, free: 1.914 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009789/0.1083, allocations: 15.94 kB / 281.5 MB, free: 1.898 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001644/0.11, allocations: 481.3 kB / 281.9 MB, free: 1.426 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003808/0.1138, allocations: 0.8914 MB / 282.8 MB, free: 0.5312 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.1156, allocations: 402.8 kB / 283.2 MB, free: 140 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.005784/0.1215, allocations: 2.127 MB / 285.3 MB, free: 14 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003665/0.1219, allocations: 106.8 kB / 285.4 MB, free: 13.89 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005801/0.1225, allocations: 330.9 kB / 285.8 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007311/0.1232, allocations: 425.9 kB / 286.2 MB, free: 13.15 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00228/0.1255, allocations: 0.6597 MB / 286.8 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002545/0.1258, allocations: 63.83 kB / 286.9 MB, free: 12.43 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.126, allocations: 151 kB / 287 MB, free: 12.28 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003842/0.1264, allocations: 120 kB / 287.2 MB, free: 12.16 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.1287, allocations: 1.36 MB / 288.5 MB, free: 10.8 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1287, allocations: 0 / 288.5 MB, free: 10.8 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.564e-06/0.1287, allocations: 4 kB / 288.5 MB, free: 10.8 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.713e-05/0.1288, allocations: 4 kB / 288.5 MB, free: 10.79 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.0032/0.132, allocations: 1.468 MB / 290 MB, free: 9.273 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.132, allocations: 12.03 kB / 290 MB, free: 9.262 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003629/0.1324, allocations: 201.6 kB / 290.2 MB, free: 9.062 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002711/0.1351, allocations: 1.151 MB / 291.4 MB, free: 7.867 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.351e-05/0.1352, allocations: 33 kB / 291.4 MB, free: 7.832 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.1354, allocations: 51.89 kB / 291.4 MB, free: 7.781 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.1369, allocations: 0.5158 MB / 292 MB, free: 7.262 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.137, allocations: 3.938 kB / 292 MB, free: 7.258 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.276e-05/0.137, allocations: 16 kB / 292 MB, free: 7.242 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.783e-05/0.1371, allocations: 16 kB / 292 MB, free: 7.227 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001646/0.1387, allocations: 496 kB / 292.5 MB, free: 6.738 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005021/0.1438, allocations: 2.135 MB / 294.6 MB, free: 4.52 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/0.1455, allocations: 0.7238 MB / 295.3 MB, free: 3.746 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2412/0.3868, allocations: 6.546 MB / 301.9 MB, free: 28.82 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009271/0.3878, allocations: 300.3 kB / 302.2 MB, free: 28.78 MB / 250.7 MB Notification: Performance of pre-optimization done (n=55): time 3.907e-06/0.3878, allocations: 1.062 kB / 302.2 MB, free: 28.78 MB / 250.7 MB Notification: Performance of matching and sorting (n=59): time 0.006335/0.3941, allocations: 2.175 MB / 304.4 MB, free: 27.63 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.3942, allocations: 65.86 kB / 304.4 MB, free: 27.56 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002519/0.3968, allocations: 1.089 MB / 305.5 MB, free: 27.16 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001225/0.3969, allocations: 39.14 kB / 305.5 MB, free: 27.12 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007433/0.3977, allocations: 0.7082 MB / 306.3 MB, free: 26.55 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/0.398, allocations: 204.8 kB / 306.5 MB, free: 26.39 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/0.3981, allocations: 10.91 kB / 306.5 MB, free: 26.38 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.834e-05/0.3981, allocations: 335.7 kB / 306.8 MB, free: 26.07 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008025/0.399, allocations: 206.1 kB / 307 MB, free: 26 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008477/0.3998, allocations: 373.1 kB / 307.4 MB, free: 25.74 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007939/0.4007, allocations: 257.6 kB / 307.6 MB, free: 25.63 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.4007, allocations: 1.344 kB / 307.6 MB, free: 25.63 MB / 250.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002742/0.4034, allocations: 0.9263 MB / 308.5 MB, free: 25.24 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.3e-05/0.4035, allocations: 7.25 kB / 308.5 MB, free: 25.24 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001424/0.4037, allocations: 57.36 kB / 308.6 MB, free: 25.24 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006717/0.4043, allocations: 158 kB / 308.8 MB, free: 25.2 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008667/0.4052, allocations: 117.9 kB / 308.9 MB, free: 25.19 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003966/0.4092, allocations: 2.342 MB / 311.2 MB, free: 23.35 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009739/0.4102, allocations: 29.56 kB / 311.2 MB, free: 23.34 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.4104, allocations: 33.28 kB / 311.3 MB, free: 23.34 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.0006702/0.411, allocations: 277.9 kB / 311.5 MB, free: 23.12 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003578/0.4114, allocations: 183.1 kB / 311.7 MB, free: 23.03 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003234/0.4147, allocations: 0.9138 MB / 312.6 MB, free: 22.65 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/0.4147, allocations: 5.859 kB / 312.6 MB, free: 22.65 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.4147, allocations: 7 kB / 312.6 MB, free: 22.65 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.4148, allocations: 10.77 kB / 312.7 MB, free: 22.64 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.4165, allocations: 0.8725 MB / 313.5 MB, free: 22.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001251/0.4166, allocations: 51.98 kB / 313.6 MB, free: 22.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006036/0.4173, allocations: 63.48 kB / 313.6 MB, free: 22.18 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006043/0.4179, allocations: 144.9 kB / 313.8 MB, free: 22.14 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.326e-05/0.418, allocations: 22.66 kB / 313.8 MB, free: 22.13 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003623/0.4216, allocations: 2.317 MB / 316.1 MB, free: 20.29 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.4216, allocations: 0.875 kB / 316.1 MB, free: 20.29 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003247/0.4249, allocations: 1.098 MB / 317.2 MB, free: 19.79 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005544/0.4255, allocations: 257.7 kB / 317.5 MB, free: 19.58 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002686/0.4258, allocations: 10.59 kB / 317.5 MB, free: 19.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006733/0.4265, allocations: 25.64 kB / 317.5 MB, free: 19.56 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/0.4267, allocations: 49.14 kB / 317.6 MB, free: 19.54 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.454e-05/0.4268, allocations: 23.73 kB / 317.6 MB, free: 19.53 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.001483/0.4283, allocations: 0.8418 MB / 318.4 MB, free: 19.07 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4283, allocations: 0 / 318.4 MB, free: 19.07 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001367/0.4297, allocations: 382.1 kB / 318.8 MB, free: 19.02 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.0009506/0.4306, allocations: 432.4 kB / 319.2 MB, free: 18.84 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002361/0.433, allocations: 0.8694 MB / 320.1 MB, free: 18.35 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4331, allocations: 0 / 320.1 MB, free: 18.35 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001434/0.4345, allocations: 0.5917 MB / 320.7 MB, free: 17.97 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009688/0.4355, allocations: 161.7 kB / 320.8 MB, free: 17.88 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004933/0.4405, allocations: 2.726 MB / 323.6 MB, free: 15.47 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006315/0.4412, allocations: 1.2 MB / 324.8 MB, free: 14.24 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0008555/0.442, allocations: 153.8 kB / 324.9 MB, free: 14.09 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.4422, allocations: 79.44 kB / 325 MB, free: 14.01 MB / 250.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4422, allocations: 0 / 325 MB, free: 14.01 MB / 250.7 MB Notification: Performance of Templates: time 0.03675/0.479, allocations: 12.28 MB / 337.3 MB, free: 1.746 MB / 250.7 MB