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_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") Notification: Performance of loadModel(Modelica): time 2.043/2.043, allocations: 225.8 MB / 238.8 MB, free: 11.14 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.846e-05/2.856e-05, allocations: 0 / 292.1 MB, free: 8.301 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09189/0.09195, allocations: 50.42 MB / 342.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4019/0.4939, allocations: 83.11 MB / 425.7 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.4941, allocations: 71.59 kB / 425.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06033/0.5545, allocations: 16.21 MB / 442 MB, free: 13.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.125e-06/0.5545, allocations: 0 / 442 MB, free: 13.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.483e-05/0.5546, allocations: 28 kB / 442 MB, free: 13.21 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.002056/0.5567, allocations: 1.035 MB / 443 MB, free: 12.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.5567, allocations: 8.031 kB / 443 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002873/0.557, allocations: 130.4 kB / 443.2 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.5583, allocations: 0.5493 MB / 443.7 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.745e-05/0.5584, allocations: 71.25 kB / 443.8 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.5586, allocations: 106.2 kB / 443.9 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002181/0.5608, allocations: 0.9832 MB / 444.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.963e-05/0.5609, allocations: 7.938 kB / 444.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.561, allocations: 42.38 kB / 444.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.441e-05/0.561, allocations: 24 kB / 444.9 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.5625, allocations: 0.4911 MB / 445.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007295/0.5698, allocations: 5.54 MB / 451 MB, free: 4.867 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006894/0.5706, allocations: 212.2 kB / 451.2 MB, free: 4.699 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/0.5709, allocations: 150 kB / 451.3 MB, free: 4.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001671/0.5711, allocations: 89.03 kB / 451.4 MB, free: 4.484 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.5712, allocations: 38.5 kB / 451.4 MB, free: 4.441 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 3.82e-06/0.5712, allocations: 0 / 451.4 MB, free: 4.441 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.004269/0.5755, allocations: 1.523 MB / 453 MB, free: 3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.5756, allocations: 81.11 kB / 453 MB, free: 2.902 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000921/0.5765, allocations: 0.5373 MB / 453.6 MB, free: 2.473 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.627e-05/0.5766, allocations: 28.83 kB / 453.6 MB, free: 2.441 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004927/0.5771, allocations: 0.6043 MB / 454.2 MB, free: 1.977 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.5773, allocations: 148 kB / 454.4 MB, free: 1.852 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.5773, allocations: 18.19 kB / 454.4 MB, free: 1.848 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000244/0.5776, allocations: 385.7 kB / 454.7 MB, free: 1.492 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.5779, allocations: 125.5 kB / 454.9 MB, free: 1.414 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006109/0.5785, allocations: 468.6 kB / 455.3 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/0.579, allocations: 213.7 kB / 455.5 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/0.579, allocations: 4 kB / 455.5 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001454/0.5805, allocations: 0.63 MB / 456.2 MB, free: 8 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.5806, allocations: 8 kB / 456.2 MB, free: 0 / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.961e-05/0.5806, allocations: 12.05 kB / 456.2 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.784e-05/0.5807, allocations: 24.03 kB / 456.2 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008729/0.5816, allocations: 199.7 kB / 456.4 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.504e-05/0.5816, allocations: 23.88 kB / 456.4 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005565/0.5822, allocations: 39.92 kB / 456.5 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-05/0.5823, allocations: 36 kB / 456.5 MB, free: 15.67 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.0002012/0.5825, allocations: 168.6 kB / 456.7 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.5827, allocations: 75.06 kB / 456.7 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.5829, allocations: 70.33 kB / 456.8 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.865e-06/0.5829, allocations: 4 kB / 456.8 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.489e-06/0.5829, allocations: 0 / 456.8 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.5829, allocations: 11.92 kB / 456.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002851/0.5858, allocations: 1.283 MB / 458.1 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.5859, allocations: 7.953 kB / 458.1 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006656/0.5865, allocations: 116 kB / 458.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-05/0.5866, allocations: 4 kB / 458.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.671e-05/0.5866, allocations: 15.98 kB / 458.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.449e-06/0.5866, allocations: 4 kB / 458.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.988e-06/0.5867, allocations: 4 kB / 458.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.5879, allocations: 0.7097 MB / 459 MB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002042/0.5882, allocations: 144.2 kB / 459.1 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.844e-05/0.5883, allocations: 8 kB / 459.1 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004434/0.5887, allocations: 23.98 kB / 459.1 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.96e-05/0.5888, allocations: 31.95 kB / 459.2 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.075e-05/0.5889, allocations: 12 kB / 459.2 MB, free: 12.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007139/0.5896, allocations: 407.2 kB / 459.6 MB, free: 12.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.63e-07/0.5896, allocations: 0 / 459.6 MB, free: 12.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009448/0.5906, allocations: 151.9 kB / 459.7 MB, free: 12.28 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.000204/0.5908, allocations: 115.9 kB / 459.8 MB, free: 12.16 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008794/0.5917, allocations: 369.4 kB / 460.2 MB, free: 11.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.801e-06/0.5917, allocations: 0 / 460.2 MB, free: 11.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.592, allocations: 135.8 kB / 460.3 MB, free: 11.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005217/0.5926, allocations: 64.83 kB / 460.4 MB, free: 11.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.5956, allocations: 1.221 MB / 461.6 MB, free: 10.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009307/0.5966, allocations: 1.028 MB / 462.7 MB, free: 9.285 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004731/0.5971, allocations: 89.95 kB / 462.7 MB, free: 9.195 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.5973, allocations: 63.41 kB / 462.8 MB, free: 9.133 MB / 378.7 MB Notification: Performance of SimCode: time 1.932e-06/0.5973, allocations: 0 / 462.8 MB, free: 9.133 MB / 378.7 MB Notification: Performance of Templates: time 0.0165/0.6138, allocations: 4.515 MB / 467.3 MB, free: 4.625 MB / 378.7 MB