Running command: translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.SeriesResonance") Notification: Performance of loadModel(Modelica): time 1.94/1.94, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.103e-05/3.116e-05, allocations: 8 kB / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09018/0.09024, allocations: 50.41 MB / 342.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3538/0.4441, allocations: 79.61 MB / 422.2 MB, free: 14.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.4444, allocations: 72.84 kB / 422.2 MB, free: 14.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02014/0.4645, allocations: 5.059 MB / 427.3 MB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.558e-06/0.4646, allocations: 0 / 427.3 MB, free: 10.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.406e-05/0.4646, allocations: 4 kB / 427.3 MB, free: 10.17 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.0009782/0.4656, allocations: 0.5363 MB / 427.8 MB, free: 9.609 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.4657, allocations: 8.031 kB / 427.8 MB, free: 9.602 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.481e-05/0.4658, allocations: 39.53 kB / 427.9 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.4662, allocations: 253.5 kB / 428.1 MB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.4662, allocations: 28.17 kB / 428.1 MB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.955e-05/0.4663, allocations: 27.56 kB / 428.2 MB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000577/0.4669, allocations: 250.9 kB / 428.4 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.4669, allocations: 0 / 428.4 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.102e-05/0.467, allocations: 15.56 kB / 428.4 MB, free: 9.082 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.467, allocations: 8 kB / 428.4 MB, free: 9.074 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004332/0.4674, allocations: 170.6 kB / 428.6 MB, free: 8.965 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.4696, allocations: 1.012 MB / 429.6 MB, free: 8.051 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.4699, allocations: 137 kB / 429.8 MB, free: 7.945 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.4701, allocations: 70.38 kB / 429.8 MB, free: 7.895 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.4701, allocations: 3.953 kB / 429.8 MB, free: 7.891 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.4702, allocations: 38.5 kB / 429.9 MB, free: 7.848 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 4.942e-06/0.4702, allocations: 4 kB / 429.9 MB, free: 7.844 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003866/0.4706, allocations: 142 kB / 430 MB, free: 7.723 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.4706, allocations: 51.41 kB / 430.1 MB, free: 7.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.4709, allocations: 181.3 kB / 430.2 MB, free: 7.504 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.471, allocations: 29.7 kB / 430.3 MB, free: 7.469 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.4711, allocations: 253.9 kB / 430.5 MB, free: 7.242 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.877e-05/0.4712, allocations: 63.97 kB / 430.6 MB, free: 7.188 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.378e-05/0.4712, allocations: 6.312 kB / 430.6 MB, free: 7.188 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.4714, allocations: 322.5 kB / 430.9 MB, free: 6.867 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.4716, allocations: 50 kB / 430.9 MB, free: 6.836 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.4718, allocations: 105.7 kB / 431 MB, free: 6.734 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.472, allocations: 67.34 kB / 431.1 MB, free: 6.688 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.788e-06/0.472, allocations: 4 kB / 431.1 MB, free: 6.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004628/0.4725, allocations: 192.9 kB / 431.3 MB, free: 6.531 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.4725, allocations: 7.953 kB / 431.3 MB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.933e-06/0.4725, allocations: 4 kB / 431.3 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.4725, allocations: 0 / 431.3 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.473, allocations: 67.89 kB / 431.4 MB, free: 6.453 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.473, allocations: 8.125 kB / 431.4 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.4732, allocations: 27 kB / 431.4 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.4733, allocations: 15.11 kB / 431.4 MB, free: 6.41 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.000111/0.4734, allocations: 115.5 kB / 431.5 MB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.082e-05/0.4735, allocations: 19.81 kB / 431.6 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003799/0.4738, allocations: 158.4 kB / 431.7 MB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.4739, allocations: 4 kB / 431.7 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4739, allocations: 11.89 kB / 431.7 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.34e-06/0.4739, allocations: 3.984 kB / 431.7 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005029/0.4744, allocations: 310.9 kB / 432 MB, free: 5.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.4744, allocations: 4 kB / 432 MB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/0.4748, allocations: 55.16 kB / 432.1 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.4749, allocations: 0 / 432.1 MB, free: 5.777 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.918e-05/0.4749, allocations: 11.36 kB / 432.1 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.304e-06/0.4749, allocations: 0 / 432.1 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.002e-06/0.4749, allocations: 0 / 432.1 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005375/0.4755, allocations: 308.6 kB / 432.4 MB, free: 5.504 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.4756, allocations: 104 kB / 432.5 MB, free: 5.387 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.419e-05/0.4757, allocations: 7.125 kB / 432.5 MB, free: 5.383 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.4759, allocations: 19.8 kB / 432.5 MB, free: 5.367 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.637e-05/0.476, allocations: 11.98 kB / 432.6 MB, free: 5.355 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.476, allocations: 15.89 kB / 432.6 MB, free: 5.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000189/0.4762, allocations: 156 kB / 432.7 MB, free: 5.211 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.74e-07/0.4762, allocations: 0 / 432.7 MB, free: 5.211 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004806/0.4767, allocations: 80.69 kB / 432.8 MB, free: 5.137 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.0001802/0.4769, allocations: 114.9 kB / 432.9 MB, free: 5.023 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003428/0.4773, allocations: 131 kB / 433 MB, free: 4.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.493e-06/0.4773, allocations: 256 / 433 MB, free: 4.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.4774, allocations: 62 kB / 433.1 MB, free: 4.883 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.4778, allocations: 30.91 kB / 433.1 MB, free: 4.863 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.4793, allocations: 0.7011 MB / 433.8 MB, free: 4.168 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/0.4799, allocations: 0.7716 MB / 434.6 MB, free: 3.367 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.229e-05/0.48, allocations: 23.42 kB / 434.6 MB, free: 3.344 MB / 346.7 MB Notification: Performance of SimCode: time 1.712e-06/0.48, allocations: 0 / 434.6 MB, free: 3.344 MB / 346.7 MB Notification: Performance of Templates: time 0.006238/0.4862, allocations: 2.791 MB / 437.4 MB, free: 0.5938 MB / 346.7 MB