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.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadModel(Modelica): time 1.875/1.875, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.073e-05/3.096e-05, allocations: 4 kB / 255.3 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07713/0.07718, allocations: 44.51 MB / 299.8 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3247/0.4019, allocations: 76.93 MB / 376.8 MB, free: 21.91 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.4022, allocations: 80.77 kB / 376.9 MB, free: 21.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05442/0.4567, allocations: 16.03 MB / 392.9 MB, free: 19.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.656e-06/0.4567, allocations: 0 / 392.9 MB, free: 19.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.834e-05/0.4567, allocations: 7.812 kB / 392.9 MB, free: 19.48 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00183/0.4586, allocations: 0.7576 MB / 393.6 MB, free: 19 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.4586, allocations: 11.72 kB / 393.7 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003955/0.4626, allocations: 437.7 kB / 394.1 MB, free: 18.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005347/0.4632, allocations: 318.9 kB / 394.4 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.232e-05/0.4632, allocations: 40.19 kB / 394.4 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.4634, allocations: 57.03 kB / 394.5 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.4645, allocations: 0.5352 MB / 395 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.4646, allocations: 3.906 kB / 395 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.55e-05/0.4646, allocations: 21.22 kB / 395.1 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.4647, allocations: 15.72 kB / 395.1 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.466, allocations: 0.6096 MB / 395.7 MB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00415/0.4702, allocations: 2.093 MB / 397.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/0.4723, allocations: 2.974 MB / 400.7 MB, free: 14.92 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004836/0.4728, allocations: 249.2 kB / 401 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.4729, allocations: 100.7 kB / 401.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.473, allocations: 38.47 kB / 401.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.798e-06/0.473, allocations: 0 / 401.1 MB, free: 14.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001034/0.474, allocations: 426.8 kB / 401.5 MB, free: 14.69 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.4741, allocations: 59.7 kB / 401.6 MB, free: 14.63 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.4743, allocations: 189 kB / 401.8 MB, free: 14.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.4744, allocations: 32.95 kB / 401.8 MB, free: 14.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.4745, allocations: 304.6 kB / 402.1 MB, free: 14.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.4746, allocations: 168 kB / 402.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.4746, allocations: 7.625 kB / 402.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.568e-05/0.4747, allocations: 333.4 kB / 402.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/0.475, allocations: 143.3 kB / 402.7 MB, free: 13.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003711/0.4754, allocations: 262.2 kB / 403 MB, free: 13.69 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003879/0.4758, allocations: 173.5 kB / 403.2 MB, free: 13.67 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.4759, allocations: 7.938 kB / 403.2 MB, free: 13.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00124/0.4771, allocations: 0.5467 MB / 403.7 MB, free: 13.57 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.4771, allocations: 3.969 kB / 403.7 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.4772, allocations: 3.844 kB / 403.7 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003908/0.4776, allocations: 84.58 kB / 403.8 MB, free: 13.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005447/0.4781, allocations: 110.3 kB / 403.9 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.4803, allocations: 1.635 MB / 405.6 MB, free: 28.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004466/0.4808, allocations: 65.66 kB / 405.6 MB, free: 28.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-05/0.4809, allocations: 26.91 kB / 405.7 MB, free: 28.23 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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.0001672/0.4811, allocations: 131.9 kB / 405.8 MB, free: 28.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.081e-05/0.4812, allocations: 27.38 kB / 405.8 MB, free: 28.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.4824, allocations: 0.5145 MB / 406.3 MB, free: 28.03 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.571e-06/0.4824, allocations: 7.297 kB / 406.3 MB, free: 28.03 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.548e-06/0.4824, allocations: 8 kB / 406.3 MB, free: 28.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.4824, allocations: 0 / 406.3 MB, free: 28.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/0.4845, allocations: 1.163 MB / 407.5 MB, free: 27.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.078e-06/0.4845, allocations: 3.969 kB / 407.5 MB, free: 27.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000492/0.485, allocations: 83.88 kB / 407.6 MB, free: 27.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003622/0.4854, allocations: 79.08 kB / 407.7 MB, free: 27.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-05/0.4855, allocations: 15.28 kB / 407.7 MB, free: 27.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/0.4875, allocations: 1.632 MB / 409.3 MB, free: 26.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.716e-06/0.4875, allocations: 3.906 kB / 409.3 MB, free: 26.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.4889, allocations: 0.7848 MB / 410.1 MB, free: 26.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.4891, allocations: 108.3 kB / 410.2 MB, free: 25.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.74e-05/0.4891, allocations: 14.97 kB / 410.2 MB, free: 25.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/0.4895, allocations: 22.42 kB / 410.2 MB, free: 25.96 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.4896, allocations: 42.91 kB / 410.3 MB, free: 25.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/0.4896, allocations: 15.39 kB / 410.3 MB, free: 25.95 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001678/0.4898, allocations: 149.1 kB / 410.4 MB, free: 25.87 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.09e-07/0.4898, allocations: 0 / 410.4 MB, free: 25.87 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007221/0.4906, allocations: 158.2 kB / 410.6 MB, free: 25.84 MB / 330.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 (46): * Single equations (assignments): 45 * 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.0002756/0.4909, allocations: 151.4 kB / 410.7 MB, free: 25.74 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.492, allocations: 0.5531 MB / 411.3 MB, free: 25.6 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.04e-06/0.492, allocations: 0.9375 kB / 411.3 MB, free: 25.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006467/0.4927, allocations: 369.3 kB / 411.7 MB, free: 25.46 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.493, allocations: 21.88 kB / 411.7 MB, free: 25.46 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003561/0.4966, allocations: 1.075 MB / 412.8 MB, free: 25.13 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/0.4972, allocations: 0.8276 MB / 413.6 MB, free: 24.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.4974, allocations: 34.77 kB / 413.6 MB, free: 24.42 MB / 330.7 MB Notification: Performance of SimCode: time 1.821e-06/0.4974, allocations: 0 / 413.6 MB, free: 24.42 MB / 330.7 MB Notification: Performance of Templates: time 0.01005/0.5074, allocations: 6.418 MB / 420 MB, free: 21.95 MB / 330.7 MB