Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadModel(Modelica): time 1.977/1.977, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.612e-05/2.652e-05, allocations: 0 / 292.1 MB, free: 8.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09214/0.09219, allocations: 50.42 MB / 342.5 MB, free: 6.41 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4161/0.5083, allocations: 83.03 MB / 425.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.5086, allocations: 75.41 kB / 425.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05367/0.5623, allocations: 15.47 MB / 441.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.233e-06/0.5623, allocations: 0 / 441.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.253e-05/0.5624, allocations: 8 kB / 441.1 MB, free: 14.36 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002053/0.5644, allocations: 0.7399 MB / 441.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.5645, allocations: 8.031 kB / 441.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003247/0.5677, allocations: 363.1 kB / 442.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005175/0.5683, allocations: 298.5 kB / 442.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.889e-05/0.5683, allocations: 39 kB / 442.6 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.5685, allocations: 56.03 kB / 442.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.5697, allocations: 487.9 kB / 443.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/0.5697, allocations: 7.938 kB / 443.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.039e-05/0.5698, allocations: 19.25 kB / 443.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/0.5698, allocations: 12 kB / 443.1 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.571, allocations: 0.5265 MB / 443.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00376/0.5748, allocations: 1.88 MB / 445.5 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002632/0.5775, allocations: 2.159 MB / 447.7 MB, free: 8.387 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003901/0.5779, allocations: 194.6 kB / 447.9 MB, free: 8.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001293/0.5781, allocations: 89.53 kB / 448 MB, free: 8.164 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.5781, allocations: 42.06 kB / 448 MB, free: 8.121 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 3.454e-06/0.5781, allocations: 0 / 448 MB, free: 8.121 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.001125/0.5793, allocations: 417.8 kB / 448.4 MB, free: 7.812 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.5793, allocations: 63.78 kB / 448.5 MB, free: 7.734 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.5796, allocations: 167.3 kB / 448.6 MB, free: 7.586 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.12e-05/0.5796, allocations: 36.7 kB / 448.7 MB, free: 7.551 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.5798, allocations: 285.1 kB / 449 MB, free: 7.285 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.58, allocations: 159.3 kB / 449.1 MB, free: 7.148 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.5801, allocations: 6.812 kB / 449.1 MB, free: 7.148 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.5802, allocations: 336.8 kB / 449.5 MB, free: 6.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/0.5806, allocations: 134.2 kB / 449.6 MB, free: 6.742 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003798/0.581, allocations: 208 kB / 449.8 MB, free: 6.574 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.5814, allocations: 162.1 kB / 449.9 MB, free: 6.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.5814, allocations: 3.938 kB / 449.9 MB, free: 6.477 MB / 362.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00119/0.5826, allocations: 495.9 kB / 450.4 MB, free: 6.113 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.5826, allocations: 4 kB / 450.4 MB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.5826, allocations: 8.219 kB / 450.4 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004329/0.5831, allocations: 81 kB / 450.5 MB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005232/0.5836, allocations: 99.58 kB / 450.6 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002598/0.5862, allocations: 1.844 MB / 452.5 MB, free: 4.215 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/0.5866, allocations: 50.77 kB / 452.5 MB, free: 4.172 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/0.5867, allocations: 15.44 kB / 452.5 MB, free: 4.16 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001567/0.5868, allocations: 123 kB / 452.7 MB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.07e-05/0.587, allocations: 23.72 kB / 452.7 MB, free: 4.023 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.5883, allocations: 0.5209 MB / 453.2 MB, free: 3.523 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.074e-06/0.5883, allocations: 4 kB / 453.2 MB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.181e-06/0.5883, allocations: 7.953 kB / 453.2 MB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.521e-06/0.5884, allocations: 3.984 kB / 453.2 MB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/0.5906, allocations: 1.07 MB / 454.3 MB, free: 2.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.571e-06/0.5906, allocations: 4 kB / 454.3 MB, free: 2.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004699/0.5911, allocations: 79.89 kB / 454.4 MB, free: 2.297 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003809/0.5915, allocations: 88.88 kB / 454.4 MB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.369e-05/0.5915, allocations: 16 kB / 454.5 MB, free: 2.191 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002617/0.5942, allocations: 1.827 MB / 456.3 MB, free: 236 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.5942, allocations: 0 / 456.3 MB, free: 236 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001672/0.5959, allocations: 0.7491 MB / 457 MB, free: 15.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.596, allocations: 108.7 kB / 457.1 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.149e-05/0.5961, allocations: 11.98 kB / 457.2 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000304/0.5964, allocations: 19.94 kB / 457.2 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.5965, allocations: 40.38 kB / 457.2 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.189e-05/0.5966, allocations: 16.06 kB / 457.2 MB, free: 15.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001655/0.5968, allocations: 127.3 kB / 457.4 MB, free: 15.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.48e-07/0.5968, allocations: 0 / 457.4 MB, free: 15.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007943/0.5976, allocations: 151.5 kB / 457.5 MB, free: 14.98 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (capacitor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003131/0.5979, allocations: 163.1 kB / 457.7 MB, free: 14.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.5991, allocations: 0.5203 MB / 458.2 MB, free: 14.28 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.623e-06/0.5992, allocations: 0 / 458.2 MB, free: 14.28 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006828/0.5998, allocations: 355.5 kB / 458.5 MB, free: 13.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.6002, allocations: 20.12 kB / 458.6 MB, free: 13.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.6016, allocations: 0.5952 MB / 459.1 MB, free: 13.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005701/0.6022, allocations: 0.8127 MB / 460 MB, free: 12.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.6024, allocations: 35.42 kB / 460 MB, free: 12.41 MB / 378.7 MB Notification: Performance of SimCode: time 1.491e-06/0.6024, allocations: 0 / 460 MB, free: 12.41 MB / 378.7 MB Notification: Performance of Templates: time 0.01138/0.6138, allocations: 6.069 MB / 466.1 MB, free: 6.332 MB / 378.7 MB