Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadModel(Modelica): time 1.917/1.917, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.684e-05/2.7e-05, allocations: 4 kB / 292.7 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08862/0.08867, allocations: 50.42 MB / 343.1 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4201/0.5088, allocations: 82.97 MB / 426.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.5091, allocations: 74.64 kB / 426.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05331/0.5624, allocations: 15.55 MB / 441.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.846e-06/0.5625, allocations: 0 / 441.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.083e-05/0.5625, allocations: 8 kB / 441.7 MB, free: 14.35 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.001951/0.5645, allocations: 0.7375 MB / 442.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.5645, allocations: 12.03 kB / 442.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003157/0.5677, allocations: 366 kB / 442.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004878/0.5682, allocations: 299.3 kB / 443.1 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.551e-05/0.5683, allocations: 38.06 kB / 443.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/0.5684, allocations: 58.22 kB / 443.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.5695, allocations: 498.8 kB / 443.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.5696, allocations: 0 / 443.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.93e-05/0.5697, allocations: 18.44 kB / 443.7 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.5697, allocations: 12 kB / 443.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.5709, allocations: 0.5402 MB / 444.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003911/0.5748, allocations: 1.924 MB / 446.2 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002533/0.5774, allocations: 2.147 MB / 448.3 MB, free: 8.391 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005022/0.5779, allocations: 236.6 kB / 448.5 MB, free: 8.246 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.5781, allocations: 97.52 kB / 448.6 MB, free: 8.129 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.5781, allocations: 38.75 kB / 448.7 MB, free: 8.086 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 3.241e-06/0.5781, allocations: 0 / 448.7 MB, free: 8.086 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.001087/0.5792, allocations: 414.5 kB / 449.1 MB, free: 7.781 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.5793, allocations: 55.84 kB / 449.1 MB, free: 7.715 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.5796, allocations: 179.5 kB / 449.3 MB, free: 7.559 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.5796, allocations: 41.27 kB / 449.3 MB, free: 7.516 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.5798, allocations: 217.2 kB / 449.6 MB, free: 7.316 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.58, allocations: 157.7 kB / 449.7 MB, free: 7.184 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.58, allocations: 10.94 kB / 449.7 MB, free: 7.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.5802, allocations: 336.8 kB / 450.1 MB, free: 6.852 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/0.5805, allocations: 129.1 kB / 450.2 MB, free: 6.777 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000394/0.5809, allocations: 226 kB / 450.4 MB, free: 6.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003739/0.5813, allocations: 162.5 kB / 450.6 MB, free: 6.492 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.789e-06/0.5813, allocations: 0 / 450.6 MB, free: 6.492 MB / 362.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00122/0.5826, allocations: 0.4894 MB / 451 MB, free: 6.012 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.5826, allocations: 12.27 kB / 451.1 MB, free: 6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.5826, allocations: 4 kB / 451.1 MB, free: 5.996 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003908/0.583, allocations: 72.81 kB / 451.1 MB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000509/0.5836, allocations: 95.89 kB / 451.2 MB, free: 5.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.5859, allocations: 1.641 MB / 452.9 MB, free: 4.055 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/0.5862, allocations: 55.58 kB / 452.9 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/0.5863, allocations: 16 kB / 452.9 MB, free: 3.984 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.0001629/0.5865, allocations: 136.8 kB / 453.1 MB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.553e-05/0.5866, allocations: 23.72 kB / 453.1 MB, free: 3.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.5879, allocations: 0.5003 MB / 453.6 MB, free: 3.305 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/0.5879, allocations: 8 kB / 453.6 MB, free: 3.297 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.496e-06/0.5879, allocations: 0 / 453.6 MB, free: 3.297 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.5879, allocations: 7.984 kB / 453.6 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/0.5902, allocations: 1.126 MB / 454.7 MB, free: 2.098 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.573e-06/0.5903, allocations: 4.062 kB / 454.7 MB, free: 2.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004716/0.5907, allocations: 79.89 kB / 454.8 MB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003437/0.5911, allocations: 76.81 kB / 454.9 MB, free: 1.938 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-05/0.5912, allocations: 8 kB / 454.9 MB, free: 1.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/0.5933, allocations: 1.629 MB / 456.5 MB, free: 172 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.5933, allocations: 7.875 kB / 456.5 MB, free: 164 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.595, allocations: 0.7746 MB / 457.3 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.5951, allocations: 116.7 kB / 457.4 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.13e-05/0.5952, allocations: 15.98 kB / 457.4 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/0.5955, allocations: 16 kB / 457.5 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.5956, allocations: 36.38 kB / 457.5 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/0.5956, allocations: 16 kB / 457.5 MB, free: 15.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001618/0.5958, allocations: 131.3 kB / 457.6 MB, free: 15 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.5958, allocations: 0 / 457.6 MB, free: 15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006668/0.5965, allocations: 159.5 kB / 457.8 MB, free: 14.85 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.0003113/0.5968, allocations: 167.1 kB / 458 MB, free: 14.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.598, allocations: 0.5048 MB / 458.5 MB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.329e-06/0.598, allocations: 0 / 458.5 MB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006825/0.5987, allocations: 351.8 kB / 458.8 MB, free: 13.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.599, allocations: 24 kB / 458.8 MB, free: 13.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.6004, allocations: 0.5755 MB / 459.4 MB, free: 13.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005609/0.6009, allocations: 0.8127 MB / 460.2 MB, free: 12.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002943/0.6013, allocations: 46.95 kB / 460.3 MB, free: 12.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.6014, allocations: 35.38 kB / 460.3 MB, free: 12.27 MB / 378.7 MB Notification: Performance of SimCode: time 1.392e-06/0.6014, allocations: 4 kB / 460.3 MB, free: 12.26 MB / 378.7 MB Notification: Performance of Templates: time 0.01176/0.6132, allocations: 3.929 MB / 464.2 MB, free: 8.336 MB / 378.7 MB