Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadModel(Modelica): time 1.937/1.937, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.358e-05/3.361e-05, allocations: 8 kB / 292.1 MB, free: 8.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09408/0.09413, allocations: 50.42 MB / 342.6 MB, free: 6.398 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.362/0.4561, allocations: 83.02 MB / 425.6 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.4564, allocations: 82.44 kB / 425.7 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05493/0.5114, allocations: 15.54 MB / 441.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.047e-06/0.5114, allocations: 0 / 441.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.415e-05/0.5114, allocations: 8 kB / 441.2 MB, free: 14.25 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.002094/0.5136, allocations: 0.7419 MB / 441.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.5136, allocations: 8.031 kB / 442 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003279/0.5169, allocations: 365.7 kB / 442.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000555/0.5175, allocations: 311.5 kB / 442.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.358e-05/0.5176, allocations: 38.5 kB / 442.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.5177, allocations: 57.47 kB / 442.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001189/0.5189, allocations: 493.4 kB / 443.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/0.519, allocations: 3.812 kB / 443.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-05/0.519, allocations: 17.75 kB / 443.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.318e-05/0.5191, allocations: 16 kB / 443.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.5203, allocations: 0.5405 MB / 443.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004079/0.5244, allocations: 1.913 MB / 445.7 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002596/0.5271, allocations: 2.15 MB / 447.8 MB, free: 8.289 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005646/0.5277, allocations: 235 kB / 448.1 MB, free: 8.145 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001423/0.5278, allocations: 89.53 kB / 448.1 MB, free: 8.035 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.5279, allocations: 45.69 kB / 448.2 MB, free: 7.988 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 4.001e-06/0.5279, allocations: 0 / 448.2 MB, free: 7.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.001118/0.529, allocations: 412.9 kB / 448.6 MB, free: 7.684 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.5291, allocations: 55.84 kB / 448.7 MB, free: 7.617 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.5294, allocations: 183.8 kB / 448.8 MB, free: 7.457 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.5294, allocations: 36.58 kB / 448.9 MB, free: 7.422 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.5296, allocations: 274.3 kB / 449.1 MB, free: 7.164 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.5298, allocations: 165.7 kB / 449.3 MB, free: 7.023 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.5298, allocations: 7.75 kB / 449.3 MB, free: 7.023 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.53, allocations: 332.9 kB / 449.6 MB, free: 6.695 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003128/0.5304, allocations: 133.3 kB / 449.8 MB, free: 6.617 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003963/0.5308, allocations: 221.9 kB / 450 MB, free: 6.434 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.5312, allocations: 159.3 kB / 450.1 MB, free: 6.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.196e-06/0.5312, allocations: 0 / 450.1 MB, free: 6.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001229/0.5324, allocations: 0.4895 MB / 450.6 MB, free: 5.973 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.5325, allocations: 8 kB / 450.6 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.535e-06/0.5325, allocations: 0 / 450.6 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004207/0.5329, allocations: 87.39 kB / 450.7 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005579/0.5335, allocations: 99.81 kB / 450.8 MB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002279/0.5358, allocations: 1.634 MB / 452.4 MB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003959/0.5362, allocations: 50.77 kB / 452.5 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.339e-05/0.5363, allocations: 23.31 kB / 452.5 MB, free: 4.156 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001732/0.5365, allocations: 131.4 kB / 452.6 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.396e-05/0.5366, allocations: 27.62 kB / 452.7 MB, free: 4.008 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/0.538, allocations: 0.4993 MB / 453.2 MB, free: 3.527 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.538, allocations: 7.984 kB / 453.2 MB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.573e-06/0.538, allocations: 4 kB / 453.2 MB, free: 3.516 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.538, allocations: 3.984 kB / 453.2 MB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.5404, allocations: 1.126 MB / 454.3 MB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.5405, allocations: 0 / 454.3 MB, free: 2.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004915/0.541, allocations: 79.97 kB / 454.4 MB, free: 2.242 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003753/0.5414, allocations: 76.81 kB / 454.5 MB, free: 2.164 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.856e-05/0.5414, allocations: 15.98 kB / 454.5 MB, free: 2.148 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002274/0.5437, allocations: 1.629 MB / 456.1 MB, free: 396 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.521e-06/0.5438, allocations: 4.031 kB / 456.1 MB, free: 392 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.5455, allocations: 0.7745 MB / 456.9 MB, free: 15.57 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.5456, allocations: 108.7 kB / 457 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.482e-05/0.5457, allocations: 12 kB / 457 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003128/0.546, allocations: 20.05 kB / 457 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.5462, allocations: 36.39 kB / 457.1 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.52e-05/0.5462, allocations: 15.98 kB / 457.1 MB, free: 15.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001713/0.5464, allocations: 131.3 kB / 457.2 MB, free: 15.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.9e-07/0.5464, allocations: 0 / 457.2 MB, free: 15.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007321/0.5472, allocations: 159.5 kB / 457.4 MB, free: 15.08 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003183/0.5475, allocations: 163.2 kB / 457.5 MB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.5487, allocations: 0.5125 MB / 458 MB, free: 14.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.651e-06/0.5488, allocations: 0 / 458 MB, free: 14.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007031/0.5495, allocations: 355.8 kB / 458.4 MB, free: 14.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.5498, allocations: 24 kB / 458.4 MB, free: 14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.5513, allocations: 0.6006 MB / 459 MB, free: 13.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005881/0.5519, allocations: 0.8205 MB / 459.8 MB, free: 12.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.5521, allocations: 35.44 kB / 459.9 MB, free: 12.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.601e-06/0.5521, allocations: 0 / 459.9 MB, free: 12.5 MB / 378.7 MB Notification: Performance of Templates: time 0.01154/0.5637, allocations: 6.121 MB / 466 MB, free: 6.367 MB / 378.7 MB