Running command: translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.ResonanceCircuits") Notification: Performance of loadModel(Modelica): time 2.019/2.019, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.385e-05/3.396e-05, allocations: 4 kB / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09079/0.09085, allocations: 50.41 MB / 342.5 MB, free: 6.406 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.365/0.4558, allocations: 83.2 MB / 425.7 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.4561, allocations: 70.97 kB / 425.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06085/0.517, allocations: 16.21 MB / 442 MB, free: 13.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.517, allocations: 0 / 442 MB, free: 13.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.423e-05/0.5171, allocations: 28 kB / 442 MB, free: 13.02 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002024/0.5192, allocations: 1.031 MB / 443.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.5192, allocations: 8.219 kB / 443.1 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002643/0.5195, allocations: 130.4 kB / 443.2 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.5207, allocations: 0.5522 MB / 443.8 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.349e-05/0.5208, allocations: 73.25 kB / 443.8 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.521, allocations: 100.8 kB / 443.9 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.5231, allocations: 0.9759 MB / 444.9 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.419e-05/0.5232, allocations: 11.92 kB / 444.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.5233, allocations: 40.69 kB / 445 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.706e-05/0.5234, allocations: 31.98 kB / 445 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.5248, allocations: 498.8 kB / 445.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00712/0.532, allocations: 5.543 MB / 451 MB, free: 4.691 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000683/0.5327, allocations: 208.9 kB / 451.2 MB, free: 4.523 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.5331, allocations: 154.5 kB / 451.4 MB, free: 4.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001555/0.5332, allocations: 88.41 kB / 451.5 MB, free: 4.309 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.5333, allocations: 34.56 kB / 451.5 MB, free: 4.266 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 3.532e-06/0.5333, allocations: 0 / 451.5 MB, free: 4.266 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.004289/0.5376, allocations: 1.517 MB / 453 MB, free: 2.828 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.928e-05/0.5377, allocations: 81.11 kB / 453.1 MB, free: 2.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009092/0.5386, allocations: 0.5388 MB / 453.6 MB, free: 2.301 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.5387, allocations: 29.14 kB / 453.7 MB, free: 2.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004786/0.5392, allocations: 0.6244 MB / 454.3 MB, free: 1.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.5394, allocations: 148.8 kB / 454.4 MB, free: 1.645 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.5394, allocations: 13.81 kB / 454.4 MB, free: 1.641 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.5396, allocations: 348.1 kB / 454.8 MB, free: 1.305 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/0.5399, allocations: 126.4 kB / 454.9 MB, free: 1.227 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006237/0.5406, allocations: 467.1 kB / 455.4 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004665/0.5411, allocations: 213.4 kB / 455.6 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.5411, allocations: 4 kB / 455.6 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001319/0.5424, allocations: 0.5873 MB / 456.2 MB, free: 40 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.5425, allocations: 12 kB / 456.2 MB, free: 28 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/0.5425, allocations: 12 kB / 456.2 MB, free: 16 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.871e-05/0.5426, allocations: 20.08 kB / 456.2 MB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009061/0.5435, allocations: 202.3 kB / 456.4 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.464e-05/0.5435, allocations: 19.94 kB / 456.4 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005567/0.5441, allocations: 40.55 kB / 456.5 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-05/0.5442, allocations: 42.56 kB / 456.5 MB, free: 15.72 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001854/0.5444, allocations: 165.7 kB / 456.7 MB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.5446, allocations: 75.05 kB / 456.7 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/0.5448, allocations: 75.39 kB / 456.8 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.5448, allocations: 4 kB / 456.8 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.201e-06/0.5448, allocations: 0 / 456.8 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.5448, allocations: 7.922 kB / 456.8 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/0.5477, allocations: 1.285 MB / 458.1 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.309e-06/0.5477, allocations: 3.953 kB / 458.1 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006659/0.5484, allocations: 116 kB / 458.2 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/0.5484, allocations: 4 kB / 458.2 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/0.5485, allocations: 11.98 kB / 458.2 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.5485, allocations: 4 kB / 458.2 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.188e-06/0.5485, allocations: 0 / 458.2 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001176/0.5497, allocations: 0.711 MB / 459 MB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.5499, allocations: 144.1 kB / 459.1 MB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.629e-05/0.55, allocations: 12 kB / 459.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004221/0.5504, allocations: 23.98 kB / 459.1 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.605e-05/0.5505, allocations: 27.95 kB / 459.2 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.831e-05/0.5506, allocations: 16 kB / 459.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006867/0.5513, allocations: 407.2 kB / 459.6 MB, free: 12.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.5513, allocations: 0 / 459.6 MB, free: 12.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009317/0.5522, allocations: 147.9 kB / 459.7 MB, free: 12.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001971/0.5524, allocations: 123.1 kB / 459.8 MB, free: 12.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008338/0.5533, allocations: 365.4 kB / 460.2 MB, free: 12.15 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5533, allocations: 0 / 460.2 MB, free: 12.15 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002939/0.5536, allocations: 130.5 kB / 460.3 MB, free: 12.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004788/0.5541, allocations: 80.67 kB / 460.4 MB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.557, allocations: 1.258 MB / 461.7 MB, free: 10.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008705/0.5579, allocations: 1.024 MB / 462.7 MB, free: 9.594 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.5582, allocations: 71.41 kB / 462.7 MB, free: 9.523 MB / 378.7 MB Notification: Performance of SimCode: time 1.488e-06/0.5582, allocations: 0 / 462.7 MB, free: 9.523 MB / 378.7 MB Notification: Performance of Templates: time 0.01694/0.5751, allocations: 8.861 MB / 471.6 MB, free: 0.6562 MB / 378.7 MB