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_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadModel(Modelica): time 1.758/1.758, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.887e-05/2.866e-05, allocations: 0 / 225 MB, free: 2.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2113, allocations: 38.77 MB / 263.8 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1064/0.3177, allocations: 70.07 MB / 333.8 MB, free: 3.691 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.318, allocations: 75.95 kB / 333.9 MB, free: 3.617 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04289/0.3609, allocations: 12.35 MB / 346.3 MB, free: 7.105 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.271e-06/0.3609, allocations: 4 kB / 346.3 MB, free: 7.102 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.361, allocations: 7.938 kB / 346.3 MB, free: 7.094 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.001953/0.3629, allocations: 0.6662 MB / 346.9 MB, free: 6.383 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.363, allocations: 8.031 kB / 346.9 MB, free: 6.375 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002767/0.3633, allocations: 55.59 kB / 347 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.3637, allocations: 266.5 kB / 347.3 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/0.3638, allocations: 29 kB / 347.3 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.272e-05/0.3639, allocations: 36 kB / 347.3 MB, free: 5.957 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008473/0.3647, allocations: 340.5 kB / 347.7 MB, free: 5.617 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.3648, allocations: 4 kB / 347.7 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.433e-05/0.3648, allocations: 16 kB / 347.7 MB, free: 5.598 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.3649, allocations: 11.98 kB / 347.7 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006858/0.3656, allocations: 250 kB / 347.9 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002894/0.3685, allocations: 1.364 MB / 349.3 MB, free: 3.895 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005125/0.369, allocations: 154.7 kB / 349.4 MB, free: 3.734 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.3693, allocations: 120.8 kB / 349.6 MB, free: 3.613 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.3694, allocations: 11.98 kB / 349.6 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.3694, allocations: 30.56 kB / 349.6 MB, free: 3.562 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 3.309e-06/0.3695, allocations: 3.938 kB / 349.6 MB, free: 3.559 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006608/0.3701, allocations: 205.2 kB / 349.8 MB, free: 3.352 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.3702, allocations: 51.41 kB / 349.9 MB, free: 3.289 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.3704, allocations: 162.4 kB / 350 MB, free: 3.117 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.3705, allocations: 25.7 kB / 350 MB, free: 3.086 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.3707, allocations: 270 kB / 350.3 MB, free: 2.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.286e-05/0.3707, allocations: 55.2 kB / 350.4 MB, free: 2.766 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.508e-05/0.3708, allocations: 4 kB / 350.4 MB, free: 2.762 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3709, allocations: 326.8 kB / 350.7 MB, free: 2.434 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.3711, allocations: 48 kB / 350.7 MB, free: 2.387 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.3713, allocations: 120.5 kB / 350.8 MB, free: 2.238 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.3715, allocations: 68.7 kB / 350.9 MB, free: 2.172 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.621e-06/0.3715, allocations: 4 kB / 350.9 MB, free: 2.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007279/0.3722, allocations: 260.5 kB / 351.2 MB, free: 1.906 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.3723, allocations: 15.98 kB / 351.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.3723, allocations: 0 / 351.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004179/0.3727, allocations: 84.73 kB / 351.3 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.373, allocations: 35.98 kB / 351.3 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/0.3754, allocations: 1.64 MB / 352.9 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.3756, allocations: 27.84 kB / 353 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.3757, allocations: 8 kB / 353 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.000142/0.3758, allocations: 124.8 kB / 353.1 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/0.3759, allocations: 19.75 kB / 353.1 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006488/0.3766, allocations: 220 kB / 353.3 MB, free: 15.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.877e-06/0.3766, allocations: 4 kB / 353.3 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.209e-06/0.3766, allocations: 0 / 353.3 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.945e-06/0.3766, allocations: 0 / 353.3 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.378, allocations: 0.6491 MB / 354 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.378, allocations: 4.062 kB / 354 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.3782, allocations: 23.98 kB / 354 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003789/0.3786, allocations: 84.7 kB / 354.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.3786, allocations: 0 / 354.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/0.3809, allocations: 1.629 MB / 355.7 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.072e-06/0.3809, allocations: 0 / 355.7 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008463/0.3818, allocations: 413.2 kB / 356.1 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.95e-05/0.3819, allocations: 100.9 kB / 356.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.382, allocations: 4 kB / 356.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.3822, allocations: 15.98 kB / 356.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/0.3823, allocations: 15.98 kB / 356.3 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.3823, allocations: 4 kB / 356.3 MB, free: 12.39 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000159/0.3825, allocations: 128.9 kB / 356.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.6e-07/0.3825, allocations: 0 / 356.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006016/0.3831, allocations: 103.5 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.0002383/0.3834, allocations: 123.2 kB / 356.6 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007185/0.3841, allocations: 292.7 kB / 356.9 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3841, allocations: 0 / 356.9 MB, free: 11.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004383/0.3846, 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.0002835/0.3849, allocations: 19.95 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.001072/0.386, allocations: 419.2 kB / 357.5 MB, free: 11.06 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005028/0.3865, allocations: 0.7753 MB / 358.3 MB, free: 10.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.237e-05/0.3866, allocations: 15.44 kB / 358.3 MB, free: 10.25 MB / 314.7 MB Notification: Performance of SimCode: time 1.928e-06/0.3866, allocations: 3.938 kB / 358.3 MB, free: 10.24 MB / 314.7 MB Notification: Performance of Templates: time 0.007765/0.3944, allocations: 3.972 MB / 362.3 MB, free: 6.266 MB / 314.7 MB