Running command: translateModel(Modelica.Electrical.Spice3.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Spice3.Examples.Oscillator") Notification: Performance of loadModel(Modelica): time 1.906/1.906, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.205e-05/3.215e-05, allocations: 0 / 292.1 MB, free: 8.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0889/0.08896, allocations: 50.42 MB / 342.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3743/0.4633, allocations: 92.74 MB / 435.3 MB, free: 1.625 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.4636, allocations: 72.59 kB / 435.4 MB, free: 1.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2097/0.6733, allocations: 57.97 MB / 493.3 MB, free: 12.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.018e-06/0.6733, allocations: 0 / 493.3 MB, free: 12.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.498e-05/0.6734, allocations: 28 kB / 493.3 MB, free: 12.19 MB / 410.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.003218/0.6767, allocations: 1.538 MB / 494.9 MB, free: 10.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.6767, allocations: 12.03 kB / 494.9 MB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003779/0.6771, allocations: 193.8 kB / 495.1 MB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002371/0.6795, allocations: 1.154 MB / 496.2 MB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.828e-05/0.6796, allocations: 29 kB / 496.3 MB, free: 9.164 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.6797, allocations: 51.98 kB / 496.3 MB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.6808, allocations: 474.3 kB / 496.8 MB, free: 8.645 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.6809, allocations: 0 / 496.8 MB, free: 8.645 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.232e-05/0.681, allocations: 16 kB / 496.8 MB, free: 8.629 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/0.681, allocations: 19.98 kB / 496.8 MB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009584/0.682, allocations: 410.2 kB / 497.2 MB, free: 8.211 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004314/0.6863, allocations: 2.126 MB / 499.3 MB, free: 6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.6874, allocations: 0.6503 MB / 500 MB, free: 5.305 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008907/0.6883, allocations: 0.4908 MB / 0.4888 GB, free: 4.812 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01247/0.7007, allocations: 7.753 MB / 0.4963 GB, free: 11.85 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006064/0.7014, allocations: 266.5 kB / 0.4966 GB, free: 11.58 MB / 426.7 MB Notification: Performance of pre-optimization done (n=55): time 4.333e-06/0.7014, allocations: 0 / 0.4966 GB, free: 11.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=59): time 0.003821/0.7053, allocations: 1.675 MB / 0.4982 GB, free: 9.844 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.7053, allocations: 55.84 kB / 0.4983 GB, free: 9.777 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/0.7073, allocations: 1.076 MB / 0.4993 GB, free: 8.707 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.481e-05/0.7074, allocations: 37.7 kB / 0.4994 GB, free: 8.664 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006791/0.7081, allocations: 0.6315 MB / 0.5 GB, free: 8.031 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.7083, allocations: 197.1 kB / 0.5002 GB, free: 7.836 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.7084, allocations: 12 kB / 0.5002 GB, free: 7.824 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.7086, allocations: 342.8 kB / 0.5005 GB, free: 7.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004182/0.709, allocations: 161.6 kB / 0.5007 GB, free: 7.324 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005723/0.7096, allocations: 330.1 kB / 0.501 GB, free: 6.934 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005214/0.7101, allocations: 215 kB / 0.5012 GB, free: 6.723 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.658e-06/0.7101, allocations: 4 kB / 0.5012 GB, free: 6.719 MB / 426.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001699/0.7118, allocations: 0.6896 MB / 0.5019 GB, free: 6.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.7119, allocations: 11.98 kB / 0.5019 GB, free: 6.008 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001093/0.712, allocations: 55.94 kB / 0.5019 GB, free: 5.953 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005597/0.7126, allocations: 158.8 kB / 0.5021 GB, free: 5.797 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005831/0.7132, allocations: 115.8 kB / 0.5022 GB, free: 5.684 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00374/0.717, allocations: 2.286 MB / 0.5044 GB, free: 3.266 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008075/0.7178, allocations: 36.03 kB / 0.5044 GB, free: 3.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.432e-05/0.7179, allocations: 35.98 kB / 0.5045 GB, free: 3.195 MB / 426.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,81.2%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002055/0.7181, allocations: 137.3 kB / 0.5046 GB, free: 3.055 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002667/0.7184, allocations: 181.9 kB / 0.5048 GB, free: 2.875 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00248/0.7209, allocations: 0.8435 MB / 0.5056 GB, free: 2.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.7209, allocations: 8 kB / 0.5056 GB, free: 2.012 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.993e-06/0.7209, allocations: 0 / 0.5056 GB, free: 2.012 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.574e-06/0.721, allocations: 7.984 kB / 0.5056 GB, free: 2.004 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.7226, allocations: 0.8709 MB / 0.5065 GB, free: 1.078 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000102/0.7227, allocations: 51.98 kB / 0.5065 GB, free: 1.027 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000394/0.7231, allocations: 67.89 kB / 0.5066 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005211/0.7236, allocations: 160.2 kB / 0.5067 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.897e-05/0.7237, allocations: 23.98 kB / 0.5068 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003674/0.7274, allocations: 2.264 MB / 0.509 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.58e-06/0.7274, allocations: 3.938 kB / 0.509 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/0.7297, allocations: 0.9749 MB / 0.5099 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005023/0.7302, allocations: 250.9 kB / 0.5102 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/0.7304, allocations: 16 kB / 0.5102 GB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005218/0.731, allocations: 23.97 kB / 0.5102 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.7311, allocations: 52.31 kB / 0.5103 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.072e-05/0.7312, allocations: 20 kB / 0.5103 GB, free: 13.01 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001601/0.7328, allocations: 0.8267 MB / 0.5111 GB, free: 12.19 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.29e-07/0.7328, allocations: 0 / 0.5111 GB, free: 12.19 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001417/0.7343, allocations: 431.5 kB / 0.5115 GB, free: 11.77 MB / 442.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.001087/0.7354, allocations: 0.535 MB / 0.512 GB, free: 11.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001742/0.7371, allocations: 0.7676 MB / 0.5128 GB, free: 10.44 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.639e-06/0.7372, allocations: 0 / 0.5128 GB, free: 10.44 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.7384, allocations: 0.557 MB / 0.5133 GB, free: 9.859 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.7394, allocations: 174.3 kB / 0.5135 GB, free: 9.688 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004015/0.7434, allocations: 1.849 MB / 0.5153 GB, free: 7.805 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.7445, allocations: 1.2 MB / 0.5165 GB, free: 6.574 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.7447, allocations: 71.44 kB / 0.5165 GB, free: 6.504 MB / 442.7 MB Notification: Performance of SimCode: time 2.231e-06/0.7447, allocations: 0 / 0.5165 GB, free: 6.504 MB / 442.7 MB Notification: Performance of Templates: time 0.2717/1.016, allocations: 22.41 MB / 0.5384 GB, free: 117.5 MB / 442.7 MB