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_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadModel(Modelica): time 1.876/1.876, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.191e-05/3.181e-05, allocations: 11.89 kB / 258.8 MB, free: 8.043 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3156, allocations: 44.5 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005034/0.3207, allocations: 2.999 MB / 306.3 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003063/0.3238, allocations: 1.189 MB / 307.5 MB, free: 9.402 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002894/0.3242, allocations: 12 kB / 307.5 MB, free: 9.391 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003766/0.3246, allocations: 103.3 kB / 307.6 MB, free: 9.289 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.3261, allocations: 442.6 kB / 308.1 MB, free: 8.855 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.3272, allocations: 323 kB / 308.4 MB, free: 8.539 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000604/0.3278, allocations: 251.4 kB / 308.6 MB, free: 8.293 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001493/0.3293, allocations: 0.5938 MB / 309.2 MB, free: 7.672 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003349/0.3296, allocations: 155.6 kB / 309.4 MB, free: 7.52 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000372/0.33, allocations: 203.4 kB / 309.6 MB, free: 7.32 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000544/0.3306, allocations: 143.8 kB / 309.7 MB, free: 7.18 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.247e-05/0.3307, allocations: 24 kB / 309.7 MB, free: 7.156 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.983e-05/0.3308, allocations: 75.69 kB / 309.8 MB, free: 7.082 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.3309, allocations: 36 kB / 309.8 MB, free: 7.047 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008855/0.3318, allocations: 0.5165 MB / 310.4 MB, free: 6.531 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3318, allocations: 0 / 310.4 MB, free: 6.531 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3318, allocations: 0 / 310.4 MB, free: 6.531 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.336e-05/0.3319, allocations: 0 / 310.4 MB, free: 6.531 MB / 250.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.002881/0.3348, allocations: 0.8234 MB / 311.2 MB, free: 5.66 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.3348, allocations: 8.031 kB / 311.2 MB, free: 5.652 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006449/0.3413, allocations: 0.5886 MB / 311.8 MB, free: 5.062 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006193/0.3419, allocations: 330.2 kB / 312.1 MB, free: 4.699 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.883e-05/0.342, allocations: 37.31 kB / 312.1 MB, free: 4.66 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.3422, allocations: 63.94 kB / 312.2 MB, free: 4.598 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.3438, allocations: 0.5453 MB / 312.7 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.12e-05/0.3438, allocations: 7.938 kB / 312.7 MB, free: 4.039 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.97e-05/0.3439, allocations: 20 kB / 312.8 MB, free: 4.02 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.344, allocations: 16 kB / 312.8 MB, free: 4.004 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.3458, allocations: 0.6376 MB / 313.4 MB, free: 3.367 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004697/0.3505, allocations: 2.057 MB / 315.5 MB, free: 1.176 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003857/0.3544, allocations: 2.996 MB / 318.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/0.3547, allocations: 89.53 kB / 318.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.3547, allocations: 46.92 kB / 318.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 5.35e-06/0.3547, allocations: 0 / 318.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=49): time 0.003198/0.3579, allocations: 0.8055 MB / 319.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.358, allocations: 59.84 kB / 319.5 MB, free: 12.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.3583, allocations: 194.1 kB / 319.7 MB, free: 12.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.3584, allocations: 29.7 kB / 319.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.3586, allocations: 240.1 kB / 319.9 MB, free: 12.08 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.3587, allocations: 169.5 kB / 320.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.3588, allocations: 8 kB / 320.1 MB, free: 11.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.359, allocations: 342.8 kB / 320.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000527/0.3595, allocations: 161 kB / 320.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006321/0.3601, allocations: 277.9 kB / 320.9 MB, free: 11.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000602/0.3608, allocations: 196.7 kB / 321.1 MB, free: 10.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.3608, allocations: 0 / 321.1 MB, free: 10.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00179/0.3626, allocations: 0.5904 MB / 321.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.3626, allocations: 8 kB / 321.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.3626, allocations: 4 kB / 321.7 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005207/0.3632, allocations: 92.73 kB / 321.7 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007956/0.364, allocations: 111.8 kB / 321.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003013/0.367, allocations: 1.866 MB / 323.7 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005279/0.3676, allocations: 63.36 kB / 323.8 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.945e-05/0.3677, allocations: 20 kB / 323.8 MB, free: 8.004 MB / 266.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.0003071/0.368, allocations: 180.7 kB / 324 MB, free: 7.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.718e-05/0.3681, allocations: 31.67 kB / 324 MB, free: 7.789 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/0.37, allocations: 0.5628 MB / 324.6 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.37, allocations: 12 kB / 324.6 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.37, allocations: 0 / 324.6 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.37, allocations: 3.984 kB / 324.6 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002817/0.3729, allocations: 1.149 MB / 325.7 MB, free: 5.984 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.3729, allocations: 0 / 325.7 MB, free: 5.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006548/0.3736, allocations: 83.89 kB / 325.8 MB, free: 5.902 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004675/0.3741, allocations: 84.81 kB / 325.9 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-05/0.3741, allocations: 12 kB / 325.9 MB, free: 5.805 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003033/0.3772, allocations: 1.866 MB / 327.8 MB, free: 3.805 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3772, allocations: 4.062 kB / 327.8 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002253/0.3795, allocations: 0.8076 MB / 328.6 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.3797, allocations: 124.7 kB / 328.7 MB, free: 2.836 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.613e-05/0.3798, allocations: 4 kB / 328.7 MB, free: 2.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/0.3802, allocations: 23.98 kB / 328.7 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.3803, allocations: 48.33 kB / 328.8 MB, free: 2.762 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-05/0.3804, allocations: 16 kB / 328.8 MB, free: 2.746 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001831/0.3806, allocations: 139.2 kB / 328.9 MB, free: 2.609 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.3806, allocations: 0 / 328.9 MB, free: 2.609 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0008066/0.3814, allocations: 151.6 kB / 329.1 MB, free: 2.461 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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.000295/0.3817, allocations: 135.1 kB / 329.2 MB, free: 2.316 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001749/0.3835, allocations: 0.6008 MB / 329.8 MB, free: 1.703 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3835, allocations: 0 / 329.8 MB, free: 1.703 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009578/0.3845, allocations: 393.8 kB / 330.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.3848, allocations: 20.19 kB / 330.2 MB, free: 1.289 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.387, allocations: 1.042 MB / 331.3 MB, free: 228 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/0.3875, allocations: 0.8253 MB / 332.1 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004329/0.3879, allocations: 51.27 kB / 332.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.3881, allocations: 39.42 kB / 332.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.3881, allocations: 0 / 332.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of Templates: time 0.01399/0.4021, allocations: 3.98 MB / 336.2 MB, free: 11.31 MB / 282.7 MB