Running command: translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance") Notification: Performance of loadModel(Modelica): time 1.975/1.975, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.769e-05/2.786e-05, allocations: 0 / 292.1 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09343/0.09349, allocations: 50.42 MB / 342.6 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4393/0.5328, allocations: 79.55 MB / 422.1 MB, free: 14.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.5331, allocations: 70.45 kB / 422.2 MB, free: 14.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02015/0.5533, allocations: 5.049 MB / 427.2 MB, free: 10.31 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.899e-06/0.5533, allocations: 0 / 427.2 MB, free: 10.31 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.611e-05/0.5534, allocations: 12 kB / 427.2 MB, free: 10.3 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009688/0.5543, allocations: 0.5357 MB / 427.8 MB, free: 9.734 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.5544, allocations: 8.031 kB / 427.8 MB, free: 9.727 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.587e-05/0.5545, allocations: 39.52 kB / 427.8 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.5549, allocations: 248.4 kB / 428.1 MB, free: 9.426 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.432e-05/0.5549, allocations: 31.17 kB / 428.1 MB, free: 9.406 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.17e-05/0.555, allocations: 34.67 kB / 428.1 MB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005625/0.5556, allocations: 245.1 kB / 428.4 MB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.5556, allocations: 0 / 428.4 MB, free: 9.215 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/0.5557, allocations: 14.81 kB / 428.4 MB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.5557, allocations: 8 kB / 428.4 MB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004341/0.5562, allocations: 172.7 kB / 428.6 MB, free: 9.094 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.5582, allocations: 1.016 MB / 429.6 MB, free: 8.172 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.5586, allocations: 131 kB / 429.7 MB, free: 8.074 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.5587, allocations: 67.86 kB / 429.8 MB, free: 8.027 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.5588, allocations: 11.94 kB / 429.8 MB, free: 8.016 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.5588, allocations: 30.56 kB / 429.8 MB, free: 7.977 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 6.922e-06/0.5588, allocations: 0 / 429.8 MB, free: 7.977 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003823/0.5592, allocations: 148.5 kB / 430 MB, free: 7.852 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.5593, allocations: 55.41 kB / 430 MB, free: 7.785 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.5595, allocations: 181.7 kB / 430.2 MB, free: 7.629 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.5596, allocations: 29.08 kB / 430.2 MB, free: 7.598 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.5597, allocations: 187.8 kB / 430.4 MB, free: 7.434 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.574e-05/0.5598, allocations: 60.92 kB / 430.5 MB, free: 7.383 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.247e-05/0.5598, allocations: 3.438 kB / 430.5 MB, free: 7.383 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.56, allocations: 336.3 kB / 430.8 MB, free: 7.055 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.5602, allocations: 54.88 kB / 430.8 MB, free: 7.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.5604, allocations: 100.1 kB / 430.9 MB, free: 6.922 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.5606, allocations: 60.86 kB / 431 MB, free: 6.883 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.395e-06/0.5606, allocations: 4 kB / 431 MB, free: 6.879 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004735/0.5611, allocations: 220.5 kB / 431.2 MB, free: 6.699 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.5611, allocations: 7.953 kB / 431.2 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.5611, allocations: 4 kB / 431.2 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.5611, allocations: 4 kB / 431.2 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.5615, allocations: 63.41 kB / 431.3 MB, free: 6.625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.5616, allocations: 4 kB / 431.3 MB, free: 6.621 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.5618, allocations: 35.45 kB / 431.3 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.5618, allocations: 4 kB / 431.3 MB, free: 6.586 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001066/0.5619, allocations: 115.9 kB / 431.5 MB, free: 6.473 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.086e-05/0.562, allocations: 23.72 kB / 431.5 MB, free: 6.449 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000382/0.5624, allocations: 160.2 kB / 431.6 MB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.5624, allocations: 4 kB / 431.6 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.789e-06/0.5624, allocations: 11.89 kB / 431.6 MB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.944e-06/0.5625, allocations: 4 kB / 431.7 MB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004858/0.563, allocations: 325.9 kB / 432 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.681e-06/0.563, allocations: 0 / 432 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003939/0.5634, allocations: 55.41 kB / 432 MB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.573e-06/0.5634, allocations: 4 kB / 432 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.5634, allocations: 3.312 kB / 432 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.027e-06/0.5634, allocations: 0 / 432 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.935e-06/0.5635, allocations: 0 / 432 MB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005375/0.564, allocations: 312.6 kB / 432.3 MB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-05/0.5641, allocations: 92.92 kB / 432.4 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.5642, allocations: 3.062 kB / 432.4 MB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.5644, allocations: 19.8 kB / 432.4 MB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.5645, allocations: 23.34 kB / 432.5 MB, free: 5.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.5646, allocations: 11.89 kB / 432.5 MB, free: 5.508 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001771/0.5647, allocations: 149.2 kB / 432.6 MB, free: 5.383 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.5648, allocations: 0 / 432.6 MB, free: 5.383 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004572/0.5652, allocations: 82.94 kB / 432.7 MB, free: 5.309 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (sineVoltage.phi,inductor1.i,capacitor1.v,cosineVoltage.phi,inductor2.i,capacitor2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001758/0.5654, allocations: 116.5 kB / 432.8 MB, free: 5.191 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003355/0.5658, allocations: 126.6 kB / 432.9 MB, free: 5.102 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.801e-06/0.5658, allocations: 0 / 432.9 MB, free: 5.102 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.5659, allocations: 63.92 kB / 433 MB, free: 5.055 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.5662, allocations: 34.5 kB / 433 MB, free: 5.031 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.5678, allocations: 0.6731 MB / 433.7 MB, free: 4.371 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/0.5683, allocations: 0.7716 MB / 434.5 MB, free: 3.57 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.5685, allocations: 22.06 kB / 434.5 MB, free: 3.547 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.006e-05/0.5686, allocations: 23.42 kB / 434.5 MB, free: 3.523 MB / 346.7 MB Notification: Performance of SimCode: time 1.805e-06/0.5686, allocations: 4 kB / 434.5 MB, free: 3.52 MB / 346.7 MB Notification: Performance of Templates: time 0.007811/0.5764, allocations: 1.768 MB / 436.3 MB, free: 1.77 MB / 346.7 MB