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_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadModel(Modelica): time 1.953/1.953, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.628e-05/2.632e-05, allocations: 4 kB / 292.2 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08948/0.08953, allocations: 50.41 MB / 342.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3553/0.4448, allocations: 82.96 MB / 425.5 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.4451, allocations: 81.58 kB / 425.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05429/0.4994, allocations: 15.55 MB / 441.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.138e-06/0.4995, allocations: 0 / 441.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.062e-05/0.4995, allocations: 8 kB / 441.2 MB, free: 14.39 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.002/0.5015, allocations: 0.737 MB / 441.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.5016, allocations: 12.03 kB / 441.9 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003163/0.5047, allocations: 363.4 kB / 442.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000471/0.5052, allocations: 303.9 kB / 442.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.539e-05/0.5053, allocations: 38.38 kB / 442.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.5054, allocations: 55.34 kB / 442.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.5066, allocations: 0.4888 MB / 443.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.216e-05/0.5066, allocations: 6.688 kB / 443.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.045e-05/0.5067, allocations: 21.06 kB / 443.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.5068, allocations: 12 kB / 443.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.508, allocations: 0.5379 MB / 443.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003938/0.512, allocations: 1.911 MB / 445.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002579/0.5146, allocations: 2.151 MB / 447.8 MB, free: 8.426 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005062/0.5151, allocations: 239.9 kB / 448 MB, free: 8.273 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.5152, allocations: 95.83 kB / 448.1 MB, free: 8.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.5153, allocations: 34.5 kB / 448.1 MB, free: 8.121 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 3.624e-06/0.5153, allocations: 4 kB / 448.1 MB, free: 8.117 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.001093/0.5164, allocations: 415.9 kB / 448.6 MB, free: 7.812 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.5165, allocations: 63.78 kB / 448.6 MB, free: 7.738 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.5167, allocations: 181.7 kB / 448.8 MB, free: 7.582 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.351e-05/0.5168, allocations: 32.64 kB / 448.8 MB, free: 7.547 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001615/0.5169, allocations: 213.2 kB / 449 MB, free: 7.352 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.5171, allocations: 164.5 kB / 449.2 MB, free: 7.211 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.5171, allocations: 6 kB / 449.2 MB, free: 7.211 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.5173, allocations: 347.3 kB / 449.5 MB, free: 6.875 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.5177, allocations: 130 kB / 449.7 MB, free: 6.801 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003941/0.5181, allocations: 215 kB / 449.9 MB, free: 6.621 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.5185, allocations: 162.4 kB / 450 MB, free: 6.504 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.241e-06/0.5185, allocations: 0 / 450 MB, free: 6.504 MB / 362.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001239/0.5197, allocations: 0.4965 MB / 450.5 MB, free: 5.996 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.5198, allocations: 5.25 kB / 450.5 MB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.5198, allocations: 4 kB / 450.5 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004044/0.5202, allocations: 77 kB / 450.6 MB, free: 5.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005395/0.5208, allocations: 99.89 kB / 450.7 MB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/0.5231, allocations: 1.636 MB / 452.3 MB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003504/0.5235, allocations: 47.53 kB / 452.4 MB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.26e-05/0.5235, allocations: 23.98 kB / 452.4 MB, free: 3.973 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.0001632/0.5237, allocations: 128.9 kB / 452.5 MB, free: 3.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.688e-05/0.5238, allocations: 31.72 kB / 452.6 MB, free: 3.809 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.5251, allocations: 0.5003 MB / 453.1 MB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.5252, allocations: 4 kB / 453.1 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.665e-06/0.5252, allocations: 0 / 453.1 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.5252, allocations: 7.984 kB / 453.1 MB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/0.5275, allocations: 1.122 MB / 454.2 MB, free: 2.094 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.842e-06/0.5276, allocations: 4 kB / 454.2 MB, free: 2.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000476/0.528, allocations: 79.89 kB / 454.3 MB, free: 2.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003762/0.5284, allocations: 84.88 kB / 454.4 MB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.935e-05/0.5285, allocations: 8 kB / 454.4 MB, free: 1.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/0.5307, allocations: 1.629 MB / 456 MB, free: 160 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.586e-06/0.5307, allocations: 7.969 kB / 456 MB, free: 152 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.5324, allocations: 0.7784 MB / 456.8 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.5325, allocations: 112.7 kB / 456.9 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.425e-05/0.5326, allocations: 4 kB / 456.9 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/0.5329, allocations: 23.98 kB / 456.9 MB, free: 15.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.533, allocations: 40.45 kB / 457 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.445e-05/0.5331, allocations: 15.94 kB / 457 MB, free: 15.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001637/0.5333, allocations: 131.2 kB / 457.1 MB, free: 14.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.5333, allocations: 0 / 457.1 MB, free: 14.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007033/0.534, allocations: 159.5 kB / 457.3 MB, free: 14.83 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.0003019/0.5343, allocations: 159.1 kB / 457.4 MB, free: 14.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.5355, allocations: 0.5165 MB / 457.9 MB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.521e-06/0.5355, allocations: 0 / 457.9 MB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006901/0.5362, allocations: 351.1 kB / 458.3 MB, free: 13.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.5365, allocations: 20 kB / 458.3 MB, free: 13.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.538, allocations: 0.58 MB / 458.9 MB, free: 13.17 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006981/0.5387, allocations: 0.8127 MB / 459.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003002/0.539, allocations: 50.94 kB / 459.7 MB, free: 12.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.5392, allocations: 31.44 kB / 459.8 MB, free: 12.25 MB / 378.7 MB Notification: Performance of SimCode: time 1.424e-06/0.5392, allocations: 0 / 459.8 MB, free: 12.25 MB / 378.7 MB Notification: Performance of Templates: time 0.01194/0.5511, allocations: 3.928 MB / 463.7 MB, free: 8.332 MB / 378.7 MB