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.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadModel(Modelica): time 1.891/1.891, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.104e-05/3.108e-05, allocations: 11.98 kB / 269.4 MB, free: 6.387 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08276/0.08281, allocations: 47.58 MB / 316.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3289/0.4118, allocations: 81.29 MB / 398.2 MB, free: 6.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/0.4121, allocations: 80.58 kB / 398.3 MB, free: 6.777 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0571/0.4692, allocations: 16.12 MB / 414.4 MB, free: 9.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.781e-06/0.4692, allocations: 4 kB / 414.4 MB, free: 9.406 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.414e-05/0.4693, allocations: 8 kB / 414.4 MB, free: 9.398 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002049/0.4713, allocations: 0.746 MB / 415.2 MB, free: 8.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.4714, allocations: 12.03 kB / 415.2 MB, free: 8.648 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003888/0.4753, allocations: 434.3 kB / 415.6 MB, free: 8.266 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005055/0.4758, allocations: 311.2 kB / 415.9 MB, free: 7.977 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.937e-05/0.4759, allocations: 45.31 kB / 416 MB, free: 7.953 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.476, allocations: 64.98 kB / 416 MB, free: 7.906 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.4773, allocations: 0.5183 MB / 416.6 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.4773, allocations: 0 / 416.6 MB, free: 7.562 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.532e-05/0.4774, allocations: 20.81 kB / 416.6 MB, free: 7.559 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/0.4774, allocations: 16 kB / 416.6 MB, free: 7.543 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.4788, allocations: 0.5884 MB / 417.2 MB, free: 7.152 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004098/0.4829, allocations: 2.061 MB / 419.2 MB, free: 5.461 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003281/0.4862, allocations: 2.985 MB / 422.2 MB, free: 2.117 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004086/0.4866, allocations: 204.5 kB / 422.4 MB, free: 1.992 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001353/0.4868, allocations: 93.03 kB / 422.5 MB, free: 1.887 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.4869, allocations: 38.25 kB / 422.6 MB, free: 1.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=49): time 3.562e-06/0.4869, allocations: 0 / 422.6 MB, free: 1.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=49): time 0.001122/0.488, allocations: 432.3 kB / 423 MB, free: 1.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.4881, allocations: 59.78 kB / 423 MB, free: 1.449 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.4883, allocations: 174.1 kB / 423.2 MB, free: 1.301 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.4884, allocations: 36.08 kB / 423.2 MB, free: 1.266 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.4886, allocations: 248.5 kB / 423.5 MB, free: 1.043 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.4888, allocations: 162.8 kB / 423.6 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.4888, allocations: 19.69 kB / 423.7 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.489, allocations: 340.3 kB / 424 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/0.4894, allocations: 139 kB / 424.1 MB, free: 488 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004258/0.4898, allocations: 250.6 kB / 424.4 MB, free: 264 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004094/0.4902, allocations: 185.9 kB / 424.6 MB, free: 144 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.13e-06/0.4902, allocations: 0 / 424.6 MB, free: 144 kB / 330.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001318/0.4916, allocations: 0.5381 MB / 425.1 MB, free: 15.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.4916, allocations: 8 kB / 425.1 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.4916, allocations: 4 kB / 425.1 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004173/0.4921, allocations: 85.66 kB / 425.2 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005629/0.4926, allocations: 114.6 kB / 425.3 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002602/0.4953, allocations: 1.847 MB / 427.1 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/0.4957, allocations: 55.11 kB / 427.2 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.659e-05/0.4957, allocations: 26.75 kB / 427.2 MB, free: 13.74 MB / 346.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.0001699/0.4959, allocations: 134.4 kB / 427.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.325e-05/0.496, allocations: 23.72 kB / 427.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.4973, allocations: 0.5148 MB / 427.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.4973, allocations: 11.98 kB / 427.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.586e-06/0.4974, allocations: 0 / 427.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.4974, allocations: 7.938 kB / 427.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.4995, allocations: 1.1 MB / 429 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.4995, allocations: 3.984 kB / 429 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000462/0.5, allocations: 87.47 kB / 429.1 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003778/0.5004, allocations: 79.88 kB / 429.2 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.5005, allocations: 10.19 kB / 429.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002539/0.503, allocations: 1.845 MB / 431 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.363e-06/0.503, allocations: 384 / 431 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.5046, allocations: 0.7503 MB / 431.8 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.5047, allocations: 104.8 kB / 431.9 MB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.842e-05/0.5048, allocations: 15.31 kB / 431.9 MB, free: 9.758 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003114/0.5051, allocations: 28.55 kB / 431.9 MB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.694e-05/0.5052, allocations: 35.95 kB / 432 MB, free: 9.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/0.5053, allocations: 15.23 kB / 432 MB, free: 9.695 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000181/0.5055, allocations: 145 kB / 432.1 MB, free: 9.574 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.31e-07/0.5055, allocations: 0 / 432.1 MB, free: 9.574 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008222/0.5063, allocations: 165.3 kB / 432.3 MB, free: 9.43 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 (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.0002903/0.5066, allocations: 158.2 kB / 432.4 MB, free: 9.273 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001185/0.5078, allocations: 0.5392 MB / 433 MB, free: 8.855 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.392e-06/0.5079, allocations: 0 / 433 MB, free: 8.855 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006526/0.5085, allocations: 354.1 kB / 433.3 MB, free: 8.578 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.5089, allocations: 21.81 kB / 433.3 MB, free: 8.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003806/0.5127, allocations: 1.05 MB / 434.4 MB, free: 7.699 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005701/0.5133, allocations: 0.8293 MB / 435.2 MB, free: 6.844 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003337/0.5136, allocations: 47.27 kB / 435.3 MB, free: 6.793 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.5138, allocations: 31.44 kB / 435.3 MB, free: 6.762 MB / 346.7 MB Notification: Performance of SimCode: time 1.618e-06/0.5138, allocations: 0 / 435.3 MB, free: 6.762 MB / 346.7 MB Notification: Performance of Templates: time 0.01266/0.5264, allocations: 3.984 MB / 439.3 MB, free: 2.785 MB / 346.7 MB