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.918/1.918, allocations: 194.9 MB / 208.4 MB, free: 3.234 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.058e-05/3.083e-05, allocations: 4.688 kB / 255.3 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07877/0.07882, allocations: 44.51 MB / 299.8 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3379/0.4168, allocations: 76.93 MB / 376.8 MB, free: 22.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.4171, allocations: 77.31 kB / 376.8 MB, free: 22.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05438/0.4715, allocations: 15.95 MB / 392.8 MB, free: 20.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.061e-06/0.4715, allocations: 0 / 392.8 MB, free: 20.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.4716, allocations: 7.781 kB / 392.8 MB, free: 20.07 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.001875/0.4735, allocations: 0.7521 MB / 393.6 MB, free: 19.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.4735, allocations: 11.81 kB / 393.6 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003915/0.4775, allocations: 436.2 kB / 394 MB, free: 19.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/0.478, allocations: 315.6 kB / 394.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.282e-05/0.4781, allocations: 42.31 kB / 394.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.4782, allocations: 56.22 kB / 394.4 MB, free: 19.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.4795, allocations: 0.5248 MB / 394.9 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.4795, allocations: 7.906 kB / 394.9 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-05/0.4796, allocations: 21.91 kB / 394.9 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.4796, allocations: 15.69 kB / 395 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.4809, allocations: 0.5944 MB / 395.6 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003728/0.4847, allocations: 2.059 MB / 397.6 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002366/0.4871, allocations: 2.987 MB / 400.6 MB, free: 15.44 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004699/0.4876, allocations: 205.4 kB / 400.8 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/0.4877, allocations: 85.17 kB / 400.9 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.4878, allocations: 34.5 kB / 400.9 MB, free: 15.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 4.6e-06/0.4878, allocations: 3.781 kB / 400.9 MB, free: 15.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001086/0.4889, allocations: 437 kB / 401.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.4889, allocations: 63.72 kB / 401.4 MB, free: 15.15 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.4892, allocations: 186.4 kB / 401.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.274e-05/0.4892, allocations: 36.42 kB / 401.6 MB, free: 15.02 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.4893, allocations: 304.8 kB / 401.9 MB, free: 14.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.4895, allocations: 164.6 kB / 402.1 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.4895, allocations: 7.125 kB / 402.1 MB, free: 14.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.394e-05/0.4896, allocations: 336.5 kB / 402.4 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003168/0.4899, allocations: 141.1 kB / 402.6 MB, free: 14.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003711/0.4903, allocations: 248.6 kB / 402.8 MB, free: 14.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003894/0.4907, allocations: 184.6 kB / 403 MB, free: 14.22 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.094e-06/0.4907, allocations: 0 / 403 MB, free: 14.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001209/0.4919, allocations: 0.5402 MB / 403.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.492, allocations: 8.219 kB / 403.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.492, allocations: 7.906 kB / 403.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004169/0.4924, allocations: 89.83 kB / 403.6 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/0.493, allocations: 108.4 kB / 403.7 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/0.4956, allocations: 1.857 MB / 405.6 MB, free: 28.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004514/0.4961, allocations: 53.88 kB / 405.6 MB, free: 28.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.677e-05/0.4961, allocations: 19.19 kB / 405.7 MB, free: 28.69 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.0001775/0.4963, allocations: 127.7 kB / 405.8 MB, free: 28.58 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.544e-05/0.4964, allocations: 35.3 kB / 405.8 MB, free: 28.56 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.4977, allocations: 0.5278 MB / 406.4 MB, free: 28.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.547e-06/0.4977, allocations: 3.906 kB / 406.4 MB, free: 28.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.739e-06/0.4977, allocations: 3.844 kB / 406.4 MB, free: 28.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.175e-06/0.4977, allocations: 2.438 kB / 406.4 MB, free: 28.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.4997, allocations: 1.104 MB / 407.5 MB, free: 28.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.098e-06/0.4998, allocations: 0 / 407.5 MB, free: 28.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004327/0.5002, allocations: 80.92 kB / 407.5 MB, free: 28.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003766/0.5006, allocations: 88.81 kB / 407.6 MB, free: 28.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-05/0.5007, allocations: 10.81 kB / 407.6 MB, free: 28.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00246/0.5032, allocations: 1.836 MB / 409.5 MB, free: 26.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.779e-06/0.5032, allocations: 0 / 409.5 MB, free: 26.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.5048, allocations: 0.7449 MB / 410.2 MB, free: 26.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.505, allocations: 119.8 kB / 410.3 MB, free: 26.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.18e-05/0.5051, allocations: 15.62 kB / 410.4 MB, free: 26.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/0.5054, allocations: 22.5 kB / 410.4 MB, free: 26.41 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.5055, allocations: 35.05 kB / 410.4 MB, free: 26.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/0.5056, allocations: 19.56 kB / 410.4 MB, free: 26.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001731/0.5058, allocations: 140.7 kB / 410.6 MB, free: 26.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.74e-07/0.5058, allocations: 3.938 kB / 410.6 MB, free: 26.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008383/0.5066, allocations: 164.8 kB / 410.7 MB, free: 26.29 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.0002963/0.507, allocations: 147.3 kB / 410.9 MB, free: 26.19 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.5081, allocations: 0.5574 MB / 411.4 MB, free: 26.04 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.385e-06/0.5082, allocations: 3.844 kB / 411.4 MB, free: 26.04 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006345/0.5088, allocations: 366.5 kB / 411.8 MB, free: 25.9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.5092, allocations: 26 kB / 411.8 MB, free: 25.9 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003557/0.5128, allocations: 1.048 MB / 412.9 MB, free: 25.6 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/0.5133, allocations: 0.8241 MB / 413.7 MB, free: 24.9 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.5136, allocations: 38.42 kB / 413.7 MB, free: 24.89 MB / 330.7 MB Notification: Performance of SimCode: time 1.852e-06/0.5136, allocations: 3.938 kB / 413.7 MB, free: 24.89 MB / 330.7 MB Notification: Performance of Templates: time 0.01071/0.5243, allocations: 6.361 MB / 420.1 MB, free: 22.43 MB / 330.7 MB