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_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") Notification: Performance of loadModel(Modelica): time 1.931/1.931, allocations: 205.8 MB / 218.9 MB, free: 9.336 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.82e-05/2.84e-05, allocations: 0 / 269.4 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08357/0.08362, allocations: 47.57 MB / 316.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3677/0.4513, allocations: 81.23 MB / 398.1 MB, free: 6.926 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.4516, allocations: 66.22 kB / 398.2 MB, free: 6.891 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06134/0.513, allocations: 15.9 MB / 414.1 MB, free: 9.262 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.563e-06/0.513, allocations: 0 / 414.1 MB, free: 9.262 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.132e-05/0.5131, allocations: 34.28 kB / 414.1 MB, free: 9.23 MB / 330.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.002213/0.5154, allocations: 1.034 MB / 415.2 MB, free: 8.215 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.5154, allocations: 12.03 kB / 415.2 MB, free: 8.203 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003433/0.5158, allocations: 130.3 kB / 415.3 MB, free: 8.074 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.5171, allocations: 0.5555 MB / 415.9 MB, free: 7.543 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.637e-05/0.5172, allocations: 73.44 kB / 415.9 MB, free: 7.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.5174, allocations: 101.2 kB / 416 MB, free: 7.434 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002379/0.5198, allocations: 0.978 MB / 417 MB, free: 6.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.381e-05/0.5199, allocations: 3.938 kB / 417 MB, free: 6.586 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.52, allocations: 46.12 kB / 417.1 MB, free: 6.574 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.626e-05/0.5201, allocations: 28 kB / 417.1 MB, free: 6.547 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.5217, allocations: 499.6 kB / 417.6 MB, free: 6.203 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007523/0.5292, allocations: 5.543 MB / 423.1 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007107/0.53, allocations: 209.9 kB / 423.3 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003652/0.5304, allocations: 150.2 kB / 423.5 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/0.5306, allocations: 89.09 kB / 423.6 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.5306, allocations: 34.06 kB / 423.6 MB, free: 484 kB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 3.857e-06/0.5306, allocations: 0 / 423.6 MB, free: 484 kB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.004493/0.5351, allocations: 1.525 MB / 425.1 MB, free: 15.03 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.11e-05/0.5352, allocations: 85.11 kB / 425.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009542/0.5362, allocations: 0.5377 MB / 425.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.075e-05/0.5363, allocations: 32.45 kB / 425.8 MB, free: 14.46 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004865/0.5368, allocations: 0.5968 MB / 426.4 MB, free: 14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.537, allocations: 154.4 kB / 426.5 MB, free: 13.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.537, allocations: 13.94 kB / 426.5 MB, free: 13.87 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002348/0.5373, allocations: 382.6 kB / 426.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/0.5376, allocations: 126.9 kB / 427 MB, free: 13.44 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006056/0.5382, allocations: 464.2 kB / 427.5 MB, free: 12.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004744/0.5387, allocations: 215 kB / 427.7 MB, free: 12.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.967e-06/0.5387, allocations: 4 kB / 427.7 MB, free: 12.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001476/0.5402, allocations: 0.6318 MB / 428.3 MB, free: 12.21 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/0.5403, allocations: 12.94 kB / 428.4 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.5403, allocations: 12 kB / 428.4 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.822e-05/0.5404, allocations: 16 kB / 428.4 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000957/0.5413, allocations: 210.5 kB / 428.6 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-05/0.5414, allocations: 27.86 kB / 428.6 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005967/0.542, allocations: 37.56 kB / 428.6 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.767e-05/0.5421, allocations: 39.17 kB / 428.7 MB, free: 11.88 MB / 346.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.0001951/0.5423, allocations: 158.3 kB / 428.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.5425, allocations: 75 kB / 428.9 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.5427, allocations: 75.95 kB / 429 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.5427, allocations: 7.984 kB / 429 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.5428, allocations: 3.953 kB / 429 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.919e-06/0.5428, allocations: 0 / 429 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002852/0.5456, allocations: 1.301 MB / 430.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.5457, allocations: 0 / 430.3 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007327/0.5464, allocations: 115.3 kB / 430.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.67e-05/0.5465, allocations: 4 kB / 430.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/0.5465, allocations: 11.19 kB / 430.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.949e-06/0.5465, allocations: 4 kB / 430.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.273e-06/0.5465, allocations: 3.984 kB / 430.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.5478, allocations: 0.7154 MB / 431.2 MB, free: 9.715 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002152/0.548, allocations: 144.2 kB / 431.3 MB, free: 9.555 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.907e-05/0.5481, allocations: 10.75 kB / 431.3 MB, free: 9.551 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/0.5486, allocations: 26.23 kB / 431.3 MB, free: 9.531 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.711e-05/0.5487, allocations: 31.78 kB / 431.4 MB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/0.5488, allocations: 15.31 kB / 431.4 MB, free: 9.492 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007128/0.5495, allocations: 411.2 kB / 431.8 MB, free: 9.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.07e-07/0.5495, allocations: 0 / 431.8 MB, free: 9.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001031/0.5506, allocations: 142.2 kB / 431.9 MB, free: 9.059 MB / 346.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.000218/0.5508, allocations: 121.6 kB / 432 MB, free: 8.938 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009331/0.5517, allocations: 364.5 kB / 432.4 MB, free: 8.664 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.5518, allocations: 0 / 432.4 MB, free: 8.664 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003137/0.5521, allocations: 128.5 kB / 432.5 MB, free: 8.57 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006226/0.5527, allocations: 68.31 kB / 432.6 MB, free: 8.539 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00326/0.556, allocations: 1.219 MB / 433.8 MB, free: 7.371 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009085/0.557, allocations: 1.035 MB / 434.8 MB, free: 6.309 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005145/0.5575, allocations: 94 kB / 434.9 MB, free: 6.215 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.5577, allocations: 66.59 kB / 435 MB, free: 6.156 MB / 346.7 MB Notification: Performance of SimCode: time 1.933e-06/0.5578, allocations: 0 / 435 MB, free: 6.156 MB / 346.7 MB Notification: Performance of Templates: time 0.01812/0.5759, allocations: 4.503 MB / 439.5 MB, free: 1.668 MB / 346.7 MB