Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadModel(Modelica): time 1.958/1.958, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.447e-05/3.474e-05, allocations: 0 / 225 MB, free: 2.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2201, allocations: 38.76 MB / 263.8 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1088/0.3289, allocations: 70.08 MB / 333.9 MB, free: 3.641 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/0.3292, allocations: 79.95 kB / 333.9 MB, free: 3.562 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04325/0.3725, allocations: 12.35 MB / 346.3 MB, free: 7.051 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.198e-06/0.3725, allocations: 0 / 346.3 MB, free: 7.051 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.994e-05/0.3726, allocations: 12 kB / 346.3 MB, free: 7.039 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001903/0.3745, allocations: 0.6662 MB / 347 MB, free: 6.328 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3746, allocations: 8.031 kB / 347 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002631/0.3748, allocations: 51.59 kB / 347 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.3752, allocations: 266.6 kB / 347.3 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.784e-05/0.3753, allocations: 29 kB / 347.3 MB, free: 5.941 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.607e-05/0.3754, allocations: 40 kB / 347.3 MB, free: 5.902 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008063/0.3762, allocations: 332.5 kB / 347.7 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.3763, allocations: 7.984 kB / 347.7 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.79e-05/0.3763, allocations: 20 kB / 347.7 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.3764, allocations: 8 kB / 347.7 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006628/0.377, allocations: 249.9 kB / 348 MB, free: 5.293 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002779/0.3798, allocations: 1.372 MB / 349.3 MB, free: 3.836 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.3804, allocations: 158.7 kB / 349.5 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/0.3807, allocations: 120.8 kB / 349.6 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.3807, allocations: 0 / 349.6 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.3808, allocations: 34.56 kB / 349.6 MB, free: 3.508 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 2.274e-06/0.3808, allocations: 3.938 kB / 349.6 MB, free: 3.504 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.000643/0.3814, allocations: 194.5 kB / 349.8 MB, free: 3.305 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.3815, allocations: 55.41 kB / 349.9 MB, free: 3.238 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.3817, allocations: 154.4 kB / 350 MB, free: 3.074 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.3818, allocations: 37.64 kB / 350.1 MB, free: 3.031 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.382, allocations: 203.6 kB / 350.3 MB, free: 2.828 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.544e-05/0.382, allocations: 59.19 kB / 350.3 MB, free: 2.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/0.3821, allocations: 4 kB / 350.3 MB, free: 2.766 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.3823, allocations: 330.7 kB / 350.7 MB, free: 2.434 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.3824, allocations: 52 kB / 350.7 MB, free: 2.383 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000202/0.3826, allocations: 112.6 kB / 350.8 MB, free: 2.242 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.3828, allocations: 72.86 kB / 350.9 MB, free: 2.172 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.434e-06/0.3829, allocations: 0 / 350.9 MB, free: 2.172 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007539/0.3836, allocations: 272.1 kB / 351.1 MB, free: 1.898 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.3837, allocations: 8 kB / 351.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.697e-06/0.3837, allocations: 0 / 351.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004145/0.3841, allocations: 80.8 kB / 351.2 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.3844, allocations: 48.03 kB / 351.3 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/0.3867, allocations: 1.629 MB / 352.9 MB, free: 0 / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.387, allocations: 31.77 kB / 352.9 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.3871, allocations: 8 kB / 352.9 MB, free: 15.96 MB / 314.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 (19): * Single equations (assignments): 18 * 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.0001348/0.3872, allocations: 124.8 kB / 353.1 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.509e-05/0.3873, allocations: 19.88 kB / 353.1 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006324/0.3879, allocations: 216 kB / 353.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.183e-06/0.388, allocations: 4 kB / 353.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.079e-06/0.388, allocations: 0 / 353.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.025e-06/0.388, allocations: 0 / 353.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.3893, allocations: 0.653 MB / 354 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.3893, allocations: 0 / 354 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.3895, allocations: 23.98 kB / 354 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000365/0.3899, allocations: 88.81 kB / 354.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.3899, allocations: 3.984 kB / 354.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002248/0.3922, allocations: 1.632 MB / 355.7 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.858e-06/0.3922, allocations: 0 / 355.7 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008274/0.3931, allocations: 409.2 kB / 356.1 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/0.3932, allocations: 92.91 kB / 356.2 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.3932, allocations: 4 kB / 356.2 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.3935, allocations: 19.92 kB / 356.2 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.625e-05/0.3935, allocations: 15.98 kB / 356.2 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.3936, allocations: 4.062 kB / 356.2 MB, free: 12.4 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001473/0.3937, allocations: 128.9 kB / 356.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.66e-07/0.3937, allocations: 4 kB / 356.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006172/0.3944, allocations: 99.52 kB / 356.5 MB, free: 12.17 MB / 314.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 (9): * Single equations (assignments): 8 * 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.0002414/0.3946, allocations: 130.5 kB / 356.6 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007224/0.3954, allocations: 293.9 kB / 356.9 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.341e-06/0.3954, allocations: 0 / 356.9 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004384/0.3958, allocations: 218.2 kB / 357.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.3961, allocations: 21.5 kB / 357.1 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.3972, allocations: 389.6 kB / 357.5 MB, free: 11.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.3978, allocations: 0.7714 MB / 358.3 MB, free: 10.29 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000109/0.3979, allocations: 13.55 kB / 358.3 MB, free: 10.28 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.514e-05/0.398, allocations: 11.44 kB / 358.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of SimCode: time 2.189e-06/0.398, allocations: 4 kB / 358.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of Templates: time 0.008594/0.4066, allocations: 2.445 MB / 360.7 MB, free: 7.824 MB / 314.7 MB