Running command: translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T1.vbe|T2.vbe",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadModel(Modelica): time 2.039/2.039, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.72e-05/2.721e-05, allocations: 1.406 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1077, allocations: 50.41 MB / 345 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.008683/0.1164, allocations: 5.902 MB / 350.9 MB, free: 3.027 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01642/0.1329, allocations: 8.93 MB / 359.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/0.1342, allocations: 19.94 kB / 359.8 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001917/0.1362, allocations: 485.3 kB / 360.3 MB, free: 9.578 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004086/0.1403, allocations: 0.903 MB / 361.2 MB, free: 8.672 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001825/0.1422, allocations: 406.9 kB / 361.6 MB, free: 8.273 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006011/0.1482, allocations: 2.147 MB / 363.7 MB, free: 6.121 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004076/0.1487, allocations: 94.81 kB / 363.8 MB, free: 6.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008039/0.1495, allocations: 370.9 kB / 364.2 MB, free: 5.656 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008647/0.1504, allocations: 425.9 kB / 364.6 MB, free: 5.238 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002729/0.1532, allocations: 0.722 MB / 365.3 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004618/0.1537, allocations: 60 kB / 365.4 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.1539, allocations: 139 kB / 365.5 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004935/0.1544, allocations: 124 kB / 365.6 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002792/0.1572, allocations: 1.36 MB / 367 MB, free: 2.836 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1573, allocations: 0 / 367 MB, free: 2.836 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.1573, allocations: 0 / 367 MB, free: 2.836 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.798e-05/0.1573, allocations: 0 / 367 MB, free: 2.836 MB / 298.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.003431/0.1608, allocations: 1.48 MB / 368.5 MB, free: 1.301 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.1608, allocations: 8.031 kB / 368.5 MB, free: 1.293 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000435/0.1613, allocations: 205.6 kB / 368.7 MB, free: 1.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002975/0.1643, allocations: 1.162 MB / 369.9 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.742e-05/0.1644, allocations: 33 kB / 369.9 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.1645, allocations: 47.91 kB / 369.9 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.1661, allocations: 0.5158 MB / 370.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/0.1662, allocations: 0 / 370.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.885e-05/0.1663, allocations: 19.94 kB / 370.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-05/0.1663, allocations: 19.98 kB / 370.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/0.1679, allocations: 492.1 kB / 371 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00524/0.1732, allocations: 2.112 MB / 373.1 MB, free: 12.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.175, allocations: 0.7243 MB / 373.8 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01215/0.1872, allocations: 6.567 MB / 380.4 MB, free: 4.238 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009324/0.1882, allocations: 306.3 kB / 380.7 MB, free: 3.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=55): time 3.737e-06/0.1882, allocations: 0 / 380.7 MB, free: 3.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=59): time 0.006284/0.1945, allocations: 2.17 MB / 382.8 MB, free: 1.668 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.1946, allocations: 55.84 kB / 382.9 MB, free: 1.598 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002176/0.1968, allocations: 1.088 MB / 384 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001184/0.1969, allocations: 37.7 kB / 384 MB, free: 484 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007868/0.1977, allocations: 0.6277 MB / 384.6 MB, free: 15.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002924/0.1981, allocations: 201 kB / 384.8 MB, free: 15.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.1981, allocations: 12 kB / 384.9 MB, free: 15.63 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1983, allocations: 342.8 kB / 385.2 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007427/0.199, allocations: 201.6 kB / 385.4 MB, free: 15.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008586/0.1999, allocations: 380.3 kB / 385.8 MB, free: 14.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000814/0.2007, allocations: 250 kB / 386 MB, free: 14.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.2008, allocations: 0 / 386 MB, free: 14.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002413/0.2032, allocations: 0.7798 MB / 386.8 MB, free: 13.63 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.2033, allocations: 12.09 kB / 386.8 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001406/0.2034, allocations: 63.92 kB / 386.9 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006643/0.2041, allocations: 148.8 kB / 387 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008348/0.2049, allocations: 115.9 kB / 387.1 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004283/0.2092, allocations: 2.337 MB / 389.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.2103, allocations: 32.03 kB / 389.5 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001063/0.2104, allocations: 28 kB / 389.5 MB, free: 10.76 MB / 330.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.0007376/0.2112, allocations: 273.7 kB / 389.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004089/0.2116, allocations: 181.8 kB / 390 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003403/0.215, allocations: 0.9371 MB / 390.9 MB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.2151, allocations: 4 kB / 390.9 MB, free: 9.352 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.2151, allocations: 4 kB / 390.9 MB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.2151, allocations: 3.984 kB / 390.9 MB, free: 9.344 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.2169, allocations: 0.8669 MB / 391.8 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001348/0.217, allocations: 48 kB / 391.8 MB, free: 8.383 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006256/0.2177, allocations: 79.81 kB / 391.9 MB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006383/0.2183, allocations: 139.4 kB / 392 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.133e-05/0.2184, allocations: 23.98 kB / 392.1 MB, free: 8.145 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004179/0.2226, allocations: 2.334 MB / 394.4 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2227, allocations: 0 / 394.4 MB, free: 5.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003344/0.226, allocations: 1.084 MB / 395.5 MB, free: 4.574 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005555/0.2266, allocations: 258.9 kB / 395.7 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002673/0.2269, allocations: 4 kB / 395.7 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006642/0.2276, allocations: 31.98 kB / 395.8 MB, free: 4.266 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.2278, allocations: 44.38 kB / 395.8 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.24e-05/0.2279, allocations: 23.98 kB / 395.8 MB, free: 4.199 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001826/0.2297, allocations: 0.8421 MB / 396.7 MB, free: 3.367 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.41e-07/0.2297, allocations: 3.938 kB / 396.7 MB, free: 3.363 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001507/0.2313, allocations: 375.8 kB / 397 MB, free: 2.996 MB / 330.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.001065/0.2324, allocations: 427.3 kB / 397.5 MB, free: 2.574 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002664/0.235, allocations: 0.8604 MB / 398.3 MB, free: 1.688 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.2351, allocations: 3.938 kB / 398.3 MB, free: 1.684 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001618/0.2367, allocations: 0.5944 MB / 398.9 MB, free: 1.059 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.2381, allocations: 182.3 kB / 399.1 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2745/0.5126, allocations: 2.768 MB / 401.9 MB, free: 50.74 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/0.5138, allocations: 1.206 MB / 403.1 MB, free: 50.03 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003678/0.5142, allocations: 75.81 kB / 403.1 MB, free: 50.03 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5142, allocations: 2.062 kB / 403.1 MB, free: 50.03 MB / 330.7 MB Notification: Performance of Templates: time 0.0463/0.5605, allocations: 22.15 MB / 425.3 MB, free: 37.91 MB / 330.7 MB