Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadModel(Modelica): time 2.065/2.065, allocations: 225.8 MB / 239.4 MB, free: 1.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.793e-05/2.808e-05, allocations: 4 kB / 292.7 MB, free: 11.51 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08888/0.08893, allocations: 50.42 MB / 343.1 MB, free: 9.09 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3637/0.4526, allocations: 82.71 MB / 425.8 MB, free: 8.297 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/0.4529, allocations: 78.38 kB / 425.9 MB, free: 8.297 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04776/0.5007, allocations: 15.47 MB / 441.3 MB, free: 2.578 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.5007, allocations: 0 / 441.3 MB, free: 2.578 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.5007, allocations: 11.62 kB / 441.3 MB, free: 2.574 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001824/0.5026, allocations: 0.7416 MB / 442.1 MB, free: 2.016 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.5026, allocations: 15.36 kB / 442.1 MB, free: 2.012 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003255/0.5059, allocations: 360 kB / 442.5 MB, free: 1.895 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.5063, allocations: 299.8 kB / 442.7 MB, free: 1.637 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.902e-05/0.5063, allocations: 43.81 kB / 442.8 MB, free: 1.633 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-05/0.5064, allocations: 53.41 kB / 442.8 MB, free: 1.633 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.5075, allocations: 483.1 kB / 443.3 MB, free: 1.535 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/0.5075, allocations: 0 / 443.3 MB, free: 1.535 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-05/0.5076, allocations: 26.81 kB / 443.3 MB, free: 1.535 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.5076, allocations: 15.47 kB / 443.4 MB, free: 1.531 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.5087, allocations: 0.5183 MB / 443.9 MB, free: 1.496 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003108/0.5118, allocations: 1.884 MB / 445.8 MB, free: 468 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002363/0.5142, allocations: 2.167 MB / 447.9 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003394/0.5145, allocations: 189.7 kB / 448.1 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001379/0.5147, allocations: 92.73 kB / 448.2 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.5147, allocations: 45.98 kB / 448.2 MB, free: 14.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=47): time 3.658e-06/0.5147, allocations: 0 / 448.2 MB, free: 14.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=47): time 0.001035/0.5158, allocations: 420.2 kB / 448.7 MB, free: 14.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.5159, allocations: 55.78 kB / 448.7 MB, free: 14.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.5161, allocations: 167.4 kB / 448.9 MB, free: 13.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/0.5161, allocations: 35.8 kB / 448.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.5163, allocations: 218.4 kB / 449.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.5165, allocations: 157.8 kB / 449.3 MB, free: 13.64 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.5165, allocations: 6.938 kB / 449.3 MB, free: 13.64 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.5167, allocations: 341 kB / 449.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.517, allocations: 135 kB / 449.7 MB, free: 13.31 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003533/0.5174, allocations: 206.5 kB / 449.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003484/0.5177, allocations: 161.9 kB / 450.1 MB, free: 13.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.805e-06/0.5178, allocations: 0 / 450.1 MB, free: 13.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001126/0.5189, allocations: 0.4934 MB / 450.6 MB, free: 13.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.5189, allocations: 3.875 kB / 450.6 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.763e-06/0.5189, allocations: 3.75 kB / 450.6 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003934/0.5193, allocations: 86.97 kB / 450.7 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004822/0.5198, allocations: 95.61 kB / 450.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/0.5223, allocations: 1.843 MB / 452.6 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003575/0.5227, allocations: 49.67 kB / 452.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.5228, allocations: 24.92 kB / 452.7 MB, free: 11.57 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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.0001579/0.5229, allocations: 129.9 kB / 452.8 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.703e-05/0.523, allocations: 23.28 kB / 452.8 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.5242, allocations: 0.5114 MB / 453.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.715e-06/0.5243, allocations: 3.844 kB / 453.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.639e-06/0.5243, allocations: 7.922 kB / 453.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.5243, allocations: 3.938 kB / 453.4 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.5262, allocations: 1.083 MB / 454.5 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.5262, allocations: 0 / 454.5 MB, free: 10.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004463/0.5267, allocations: 77.28 kB / 454.5 MB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003464/0.5271, allocations: 84.62 kB / 454.6 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.034e-05/0.5271, allocations: 15.27 kB / 454.6 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00239/0.5295, allocations: 1.833 MB / 456.5 MB, free: 9.297 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.842e-06/0.5295, allocations: 3.938 kB / 456.5 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.531, allocations: 0.7354 MB / 457.2 MB, free: 9.074 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.5311, allocations: 111.8 kB / 457.3 MB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.5312, allocations: 11.25 kB / 457.3 MB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003137/0.5315, allocations: 22.36 kB / 457.3 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-05/0.5316, allocations: 34.52 kB / 457.4 MB, free: 8.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.5316, allocations: 14.97 kB / 457.4 MB, free: 8.938 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001422/0.5318, allocations: 127.5 kB / 457.5 MB, free: 8.859 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.97e-07/0.5318, allocations: 0 / 457.5 MB, free: 8.859 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007563/0.5326, allocations: 152.1 kB / 457.7 MB, free: 8.832 MB / 346.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 (42): * Single equations (assignments): 41 * 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.0002868/0.5329, allocations: 174.2 kB / 457.8 MB, free: 8.715 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.5339, allocations: 0.5111 MB / 458.3 MB, free: 8.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.118e-06/0.5339, allocations: 0 / 458.3 MB, free: 8.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006008/0.5345, allocations: 354.2 kB / 458.7 MB, free: 8.426 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.5349, allocations: 26.64 kB / 458.7 MB, free: 8.418 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.5361, allocations: 0.5533 MB / 459.3 MB, free: 8.129 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000564/0.5367, allocations: 0.8166 MB / 460.1 MB, free: 7.285 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002917/0.537, allocations: 46.95 kB / 460.1 MB, free: 7.238 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.5372, allocations: 30.88 kB / 460.2 MB, free: 7.211 MB / 346.7 MB Notification: Performance of SimCode: time 1.659e-06/0.5372, allocations: 0 / 460.2 MB, free: 7.211 MB / 346.7 MB Notification: Performance of Templates: time 0.01204/0.5492, allocations: 3.935 MB / 464.1 MB, free: 3.293 MB / 346.7 MB