Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadModel(Modelica): time 1.83/1.83, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.407e-05/3.427e-05, allocations: 2.25 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07818/0.07824, allocations: 44.51 MB / 299.9 MB, free: 6.613 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3286/0.4069, allocations: 76.94 MB / 376.8 MB, free: 22.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.4072, allocations: 77.05 kB / 376.9 MB, free: 22.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05474/0.4619, allocations: 15.95 MB / 392.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.057e-06/0.462, allocations: 0 / 392.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.761e-05/0.462, allocations: 11.72 kB / 392.8 MB, free: 19.96 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.002027/0.4641, allocations: 0.7486 MB / 393.6 MB, free: 19.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.4641, allocations: 11.62 kB / 393.6 MB, free: 19.47 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003984/0.4681, allocations: 437.2 kB / 394 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005434/0.4687, allocations: 315.9 kB / 394.3 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/0.4688, allocations: 39.56 kB / 394.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.4689, allocations: 58.44 kB / 394.4 MB, free: 19.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.4701, allocations: 0.5132 MB / 394.9 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/0.4702, allocations: 11.23 kB / 394.9 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.57e-05/0.4703, allocations: 22.53 kB / 395 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.4703, allocations: 11.75 kB / 395 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.4716, allocations: 0.5908 MB / 395.6 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003834/0.4755, allocations: 2.053 MB / 397.6 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/0.4778, allocations: 2.991 MB / 400.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000429/0.4783, allocations: 201.5 kB / 400.8 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/0.4784, allocations: 85.42 kB / 400.9 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.4784, allocations: 42.47 kB / 400.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 4.756e-06/0.4784, allocations: 0 / 400.9 MB, free: 15.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001108/0.4796, allocations: 440.2 kB / 401.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.4796, allocations: 55.75 kB / 401.4 MB, free: 15.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.4798, allocations: 187.2 kB / 401.6 MB, free: 14.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.337e-05/0.4799, allocations: 37.3 kB / 401.6 MB, free: 14.92 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.48, allocations: 299.7 kB / 401.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.4801, allocations: 167.4 kB / 402.1 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.4802, allocations: 11.62 kB / 402.1 MB, free: 14.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.537e-05/0.4803, allocations: 334.1 kB / 402.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003161/0.4806, allocations: 140.5 kB / 402.6 MB, free: 14.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000366/0.481, allocations: 243.6 kB / 402.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004066/0.4814, allocations: 184.1 kB / 403 MB, free: 14.12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.13e-06/0.4814, allocations: 3.875 kB / 403 MB, free: 14.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001183/0.4826, allocations: 0.529 MB / 403.5 MB, free: 14.03 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.4827, allocations: 7.812 kB / 403.5 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.4827, allocations: 7.703 kB / 403.5 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003977/0.4831, allocations: 86.27 kB / 403.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005311/0.4836, allocations: 111.4 kB / 403.7 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002508/0.4862, allocations: 1.852 MB / 405.6 MB, free: 28.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.4866, allocations: 57.56 kB / 405.6 MB, free: 28.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/0.4867, allocations: 23.12 kB / 405.7 MB, free: 28.59 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.4869, allocations: 139 kB / 405.8 MB, free: 28.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.275e-05/0.487, allocations: 27.3 kB / 405.8 MB, free: 28.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001215/0.4882, allocations: 0.5205 MB / 406.3 MB, free: 28.38 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.292e-06/0.4882, allocations: 3.812 kB / 406.3 MB, free: 28.38 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.864e-06/0.4883, allocations: 3.812 kB / 406.4 MB, free: 28.38 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.4883, allocations: 3.844 kB / 406.4 MB, free: 28.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/0.4902, allocations: 1.1 MB / 407.5 MB, free: 28.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.065e-06/0.4902, allocations: 3.938 kB / 407.5 MB, free: 28.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/0.4907, allocations: 83.39 kB / 407.5 MB, free: 28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000371/0.4911, allocations: 85.5 kB / 407.6 MB, free: 27.99 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.866e-05/0.4911, allocations: 11.09 kB / 407.6 MB, free: 27.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002328/0.4935, allocations: 1.834 MB / 409.5 MB, free: 26.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.827e-06/0.4935, allocations: 0 / 409.5 MB, free: 26.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.495, allocations: 0.7589 MB / 410.2 MB, free: 26.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.4951, allocations: 104.5 kB / 410.3 MB, free: 26.31 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.813e-05/0.4952, allocations: 10.84 kB / 410.3 MB, free: 26.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.4955, allocations: 27.45 kB / 410.4 MB, free: 26.31 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.898e-05/0.4957, allocations: 38.36 kB / 410.4 MB, free: 26.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/0.4957, allocations: 15.03 kB / 410.4 MB, free: 26.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001645/0.4959, allocations: 136.5 kB / 410.6 MB, free: 26.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-07/0.4959, allocations: 0 / 410.6 MB, free: 26.23 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007981/0.4967, allocations: 167.1 kB / 410.7 MB, free: 26.2 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (capacitor.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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002728/0.497, allocations: 156.5 kB / 410.9 MB, free: 26.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.4981, allocations: 0.5442 MB / 411.4 MB, free: 25.95 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.716e-06/0.4981, allocations: 3.938 kB / 411.4 MB, free: 25.94 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000569/0.4987, allocations: 357.3 kB / 411.8 MB, free: 25.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.4991, allocations: 19.06 kB / 411.8 MB, free: 25.82 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003461/0.5025, allocations: 1.039 MB / 412.8 MB, free: 25.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000537/0.5031, allocations: 0.8296 MB / 413.7 MB, free: 24.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.5033, allocations: 41.47 kB / 413.7 MB, free: 24.81 MB / 330.7 MB Notification: Performance of SimCode: time 2.007e-06/0.5033, allocations: 0 / 413.7 MB, free: 24.81 MB / 330.7 MB Notification: Performance of Templates: time 0.009945/0.5133, allocations: 6.335 MB / 420 MB, free: 22.38 MB / 330.7 MB