Running command: translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.ParallelResonance") Notification: Performance of loadModel(Modelica): time 1.884/1.884, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.32e-05/3.331e-05, allocations: 8 kB / 292.1 MB, free: 8.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09215/0.09221, allocations: 50.42 MB / 342.6 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3516/0.4439, allocations: 79.58 MB / 422.1 MB, free: 14.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002177/0.4442, allocations: 80.48 kB / 422.2 MB, free: 14.5 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02026/0.4644, allocations: 5.086 MB / 427.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.271e-06/0.4645, allocations: 0 / 427.3 MB, free: 10.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.795e-05/0.4645, allocations: 7.984 kB / 427.3 MB, free: 10.14 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.0009878/0.4655, allocations: 0.5487 MB / 427.9 MB, free: 9.574 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.4656, allocations: 8.031 kB / 427.9 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.567e-05/0.4657, allocations: 43.53 kB / 427.9 MB, free: 9.523 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003982/0.4661, allocations: 252.5 kB / 428.1 MB, free: 9.258 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.274e-05/0.4662, allocations: 26.17 kB / 428.2 MB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.036e-05/0.4662, allocations: 29.88 kB / 428.2 MB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005893/0.4668, allocations: 254 kB / 428.4 MB, free: 9.047 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.4669, allocations: 3.938 kB / 428.5 MB, free: 9.043 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/0.4669, allocations: 12.94 kB / 428.5 MB, free: 9.039 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.4669, allocations: 8 kB / 428.5 MB, free: 9.031 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004738/0.4674, allocations: 178.5 kB / 428.6 MB, free: 8.922 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002197/0.4696, allocations: 1.065 MB / 429.7 MB, free: 7.977 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/0.47, allocations: 140.8 kB / 429.9 MB, free: 7.871 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/0.4703, allocations: 125.6 kB / 430 MB, free: 7.781 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.4703, allocations: 0 / 430 MB, free: 7.781 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.4704, allocations: 38.55 kB / 430 MB, free: 7.734 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 2.36e-06/0.4704, allocations: 0 / 430 MB, free: 7.734 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004004/0.4708, allocations: 144.8 kB / 430.2 MB, free: 7.613 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.4709, allocations: 59.41 kB / 430.2 MB, free: 7.543 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002603/0.4711, allocations: 189.8 kB / 430.4 MB, free: 7.383 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.4712, allocations: 29.7 kB / 430.4 MB, free: 7.348 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.4714, allocations: 253.6 kB / 430.7 MB, free: 7.121 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.356e-05/0.4715, allocations: 70.06 kB / 430.7 MB, free: 7.062 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.334e-05/0.4715, allocations: 3.25 kB / 430.7 MB, free: 7.062 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.4717, allocations: 322.6 kB / 431.1 MB, free: 6.742 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.4718, allocations: 52.44 kB / 431.1 MB, free: 6.711 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.4721, allocations: 132.8 kB / 431.2 MB, free: 6.574 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.4723, allocations: 70.17 kB / 431.3 MB, free: 6.527 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.222e-06/0.4723, allocations: 3.938 kB / 431.3 MB, free: 6.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005164/0.4728, allocations: 220.1 kB / 431.5 MB, free: 6.348 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.4729, allocations: 8.031 kB / 431.5 MB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.4729, allocations: 15.88 kB / 431.6 MB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.4729, allocations: 4 kB / 431.6 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/0.4734, allocations: 75.66 kB / 431.6 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.4734, allocations: 4 kB / 431.6 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.4736, allocations: 34.92 kB / 431.7 MB, free: 6.215 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.4737, allocations: 11.62 kB / 431.7 MB, free: 6.207 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.000119/0.4738, allocations: 119.8 kB / 431.8 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.47e-05/0.4739, allocations: 23.72 kB / 431.8 MB, free: 6.066 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004013/0.4743, allocations: 174.6 kB / 432 MB, free: 5.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.747e-06/0.4743, allocations: 7.953 kB / 432 MB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.421e-06/0.4744, allocations: 0 / 432 MB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.4744, allocations: 0 / 432 MB, free: 5.922 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.4754, allocations: 0.578 MB / 432.6 MB, free: 5.383 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.74e-06/0.4754, allocations: 0 / 432.6 MB, free: 5.383 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004272/0.4759, allocations: 63.89 kB / 432.6 MB, free: 5.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.069e-06/0.4759, allocations: 0 / 432.6 MB, free: 5.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.4759, allocations: 15.27 kB / 432.7 MB, free: 5.309 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.736e-06/0.4759, allocations: 0 / 432.7 MB, free: 5.309 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.476, allocations: 0 / 432.7 MB, free: 5.309 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005854/0.4766, allocations: 363.8 kB / 433 MB, free: 4.977 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.995e-05/0.4767, allocations: 92.92 kB / 433.1 MB, free: 4.867 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.4767, allocations: 7.25 kB / 433.1 MB, free: 4.863 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.477, allocations: 23.48 kB / 433.1 MB, free: 4.844 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.4771, allocations: 23.16 kB / 433.2 MB, free: 4.824 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.4771, allocations: 4 kB / 433.2 MB, free: 4.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001892/0.4773, allocations: 150.7 kB / 433.3 MB, free: 4.695 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.06e-07/0.4773, allocations: 0 / 433.3 MB, free: 4.695 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004886/0.4778, allocations: 88.92 kB / 433.4 MB, free: 4.617 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.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 (21): * Single equations (assignments): 21 * 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.0001753/0.478, allocations: 106.8 kB / 433.5 MB, free: 4.508 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003746/0.4784, allocations: 158 kB / 433.6 MB, free: 4.387 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.41e-06/0.4784, allocations: 0 / 433.6 MB, free: 4.387 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.4786, allocations: 71.06 kB / 433.7 MB, free: 4.336 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003228/0.4789, allocations: 28.34 kB / 433.7 MB, free: 4.316 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.4805, allocations: 0.7187 MB / 434.5 MB, free: 3.605 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/0.481, allocations: 0.7756 MB / 435.2 MB, free: 2.805 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.939e-05/0.4811, allocations: 23.44 kB / 435.3 MB, free: 2.781 MB / 346.7 MB Notification: Performance of SimCode: time 1.887e-06/0.4811, allocations: 0 / 435.3 MB, free: 2.781 MB / 346.7 MB Notification: Performance of Templates: time 0.006336/0.4875, allocations: 2.863 MB / 438.1 MB, free: 15.97 MB / 362.7 MB