Running command: translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits") Notification: Performance of loadModel(Modelica): time 2.077/2.077, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.84e-05/4.864e-05, allocations: 9.547 kB / 292.7 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09493/0.09501, allocations: 50.42 MB / 343.1 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3672/0.4623, allocations: 83.11 MB / 426.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002156/0.4625, allocations: 67.77 kB / 426.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0624/0.5249, allocations: 16.21 MB / 442.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.553e-06/0.525, allocations: 0 / 442.5 MB, free: 13.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.391e-05/0.5251, allocations: 27.98 kB / 442.5 MB, free: 13.18 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.002339/0.5275, allocations: 1.033 MB / 443.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.5275, allocations: 8.031 kB / 443.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003837/0.5279, allocations: 130.4 kB / 443.7 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/0.5293, allocations: 0.5434 MB / 444.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.362e-05/0.5294, allocations: 79.44 kB / 444.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002457/0.5297, allocations: 105.2 kB / 444.4 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.532, allocations: 0.9766 MB / 445.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.622e-05/0.5321, allocations: 7.938 kB / 445.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.5322, allocations: 46.75 kB / 445.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.511e-05/0.5322, allocations: 28 kB / 445.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001599/0.5339, allocations: 499.3 kB / 445.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007459/0.5413, allocations: 5.538 MB / 451.5 MB, free: 4.852 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006999/0.5421, allocations: 216.4 kB / 451.7 MB, free: 4.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003507/0.5425, allocations: 140.6 kB / 451.8 MB, free: 4.578 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/0.5427, allocations: 93.09 kB / 451.9 MB, free: 4.469 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.5427, allocations: 37.62 kB / 452 MB, free: 4.426 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 4.43e-06/0.5427, allocations: 0 / 452 MB, free: 4.426 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.004363/0.5471, allocations: 1.516 MB / 453.5 MB, free: 2.988 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.141e-05/0.5472, allocations: 85.11 kB / 453.6 MB, free: 2.887 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000946/0.5482, allocations: 0.534 MB / 454.1 MB, free: 2.461 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.045e-05/0.5483, allocations: 33.39 kB / 454.1 MB, free: 2.426 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005045/0.5488, allocations: 0.6021 MB / 454.7 MB, free: 1.965 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.549, allocations: 146.2 kB / 454.9 MB, free: 1.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.549, allocations: 17 kB / 454.9 MB, free: 1.836 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002499/0.5493, allocations: 387 kB / 455.3 MB, free: 1.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003511/0.5497, allocations: 129.9 kB / 455.4 MB, free: 1.398 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006122/0.5503, allocations: 464.4 kB / 455.8 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004815/0.5508, allocations: 217.3 kB / 456.1 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.5508, allocations: 4 kB / 456.1 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001483/0.5523, allocations: 0.6351 MB / 456.7 MB, free: 24 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.395e-05/0.5524, allocations: 12 kB / 456.7 MB, free: 12 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.904e-05/0.5524, allocations: 12 kB / 456.7 MB, free: 0 / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.687e-05/0.5525, allocations: 16.05 kB / 456.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.5536, allocations: 200.2 kB / 456.9 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.475e-05/0.5537, allocations: 23.88 kB / 457 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005622/0.5543, allocations: 39.98 kB / 457 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.603e-05/0.5544, allocations: 40 kB / 457 MB, free: 15.69 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.0001946/0.5546, allocations: 160.6 kB / 457.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.5548, allocations: 71.06 kB / 457.3 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001895/0.555, allocations: 78.33 kB / 457.3 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.555, allocations: 4 kB / 457.3 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.71e-06/0.555, allocations: 3.938 kB / 457.3 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.555, allocations: 3.984 kB / 457.3 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002825/0.5579, allocations: 1.295 MB / 458.6 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.689e-06/0.5579, allocations: 3.953 kB / 458.6 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006611/0.5586, allocations: 111.8 kB / 458.8 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-05/0.5586, allocations: 7.984 kB / 458.8 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.5586, allocations: 8 kB / 458.8 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.474e-06/0.5587, allocations: 4.156 kB / 458.8 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.288e-06/0.5587, allocations: 4 kB / 458.8 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.5599, allocations: 0.7109 MB / 459.5 MB, free: 13.08 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.5601, allocations: 140.3 kB / 459.6 MB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.146e-05/0.5602, allocations: 12 kB / 459.6 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004306/0.5606, allocations: 31.97 kB / 459.7 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.825e-05/0.5607, allocations: 27.95 kB / 459.7 MB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/0.5608, allocations: 16 kB / 459.7 MB, free: 12.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007061/0.5615, allocations: 403.2 kB / 460.1 MB, free: 12.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.032e-06/0.5615, allocations: 0 / 460.1 MB, free: 12.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009357/0.5625, allocations: 147.9 kB / 460.3 MB, free: 12.3 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.0002042/0.5627, allocations: 123.2 kB / 460.4 MB, free: 12.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008717/0.5636, allocations: 366.2 kB / 460.7 MB, free: 11.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.48e-06/0.5636, allocations: 0 / 460.7 MB, free: 11.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003044/0.5639, allocations: 138.9 kB / 460.9 MB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005969/0.5645, allocations: 71.23 kB / 460.9 MB, free: 11.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/0.5676, allocations: 1.21 MB / 462.1 MB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008675/0.5685, allocations: 1.024 MB / 463.2 MB, free: 9.309 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004963/0.5691, allocations: 98 kB / 463.3 MB, free: 9.211 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.5693, allocations: 67.41 kB / 463.3 MB, free: 9.145 MB / 378.7 MB Notification: Performance of SimCode: time 1.874e-06/0.5693, allocations: 0 / 463.3 MB, free: 9.145 MB / 378.7 MB Notification: Performance of Templates: time 0.01674/0.5861, allocations: 4.511 MB / 467.8 MB, free: 4.641 MB / 378.7 MB