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 2.108/2.108, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.984e-05/2.977e-05, allocations: 7.906 kB / 258.8 MB, free: 8.699 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3123, allocations: 44.5 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005167/0.3176, allocations: 3 MB / 306.3 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003377/0.321, allocations: 1.189 MB / 307.5 MB, free: 9.391 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003706/0.3214, allocations: 11.62 kB / 307.5 MB, free: 9.391 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004277/0.3219, allocations: 100 kB / 307.6 MB, free: 9.305 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.3238, allocations: 455.7 kB / 308 MB, free: 8.945 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.3251, allocations: 323 kB / 308.4 MB, free: 8.629 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007835/0.3259, allocations: 255.4 kB / 308.6 MB, free: 8.379 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001597/0.3275, allocations: 0.5938 MB / 309.2 MB, free: 7.758 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000444/0.328, allocations: 155.6 kB / 309.3 MB, free: 7.605 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003799/0.3284, allocations: 207.4 kB / 309.6 MB, free: 7.402 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006248/0.329, allocations: 147.8 kB / 309.7 MB, free: 7.258 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.649e-05/0.3291, allocations: 20 kB / 309.7 MB, free: 7.238 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.309e-05/0.3292, allocations: 75.69 kB / 309.8 MB, free: 7.164 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.3294, allocations: 36 kB / 309.8 MB, free: 7.129 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009321/0.3303, allocations: 0.512 MB / 310.3 MB, free: 6.617 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3303, allocations: 0 / 310.3 MB, free: 6.617 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3303, allocations: 0 / 310.3 MB, free: 6.617 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.3304, allocations: 0 / 310.3 MB, free: 6.617 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.003076/0.3334, allocations: 0.8273 MB / 311.2 MB, free: 5.742 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.3335, allocations: 8.031 kB / 311.2 MB, free: 5.734 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006606/0.3401, allocations: 0.5887 MB / 311.8 MB, free: 5.145 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007111/0.3409, allocations: 318.2 kB / 312.1 MB, free: 4.793 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.391e-05/0.341, allocations: 41.31 kB / 312.1 MB, free: 4.75 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.3411, allocations: 56 kB / 312.2 MB, free: 4.695 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/0.3429, allocations: 0.557 MB / 312.7 MB, free: 4.133 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.637e-05/0.3429, allocations: 0 / 312.7 MB, free: 4.133 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.783e-05/0.343, allocations: 23.94 kB / 312.7 MB, free: 4.109 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.3431, allocations: 12 kB / 312.8 MB, free: 4.098 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001969/0.3451, allocations: 0.6415 MB / 313.4 MB, free: 3.457 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00508/0.3502, allocations: 2.05 MB / 315.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003991/0.3542, allocations: 3 MB / 318.4 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000187/0.3545, allocations: 89.55 kB / 318.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/0.3545, allocations: 42.92 kB / 318.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=49): time 3.657e-06/0.3545, allocations: 7.938 kB / 318.6 MB, free: 13.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=49): time 0.003293/0.3578, allocations: 0.8016 MB / 319.4 MB, free: 12.72 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.3579, allocations: 59.84 kB / 319.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.3582, allocations: 194.1 kB / 319.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/0.3583, allocations: 37.7 kB / 319.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.3585, allocations: 302.5 kB / 320 MB, free: 12.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.3587, allocations: 165.5 kB / 320.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.3588, allocations: 8 kB / 320.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3589, allocations: 334.8 kB / 320.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00055/0.3595, allocations: 173 kB / 320.6 MB, free: 11.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006648/0.3602, allocations: 273.9 kB / 320.9 MB, free: 11.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006271/0.3608, allocations: 200.7 kB / 321.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.3609, allocations: 0 / 321.1 MB, free: 10.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001811/0.3627, allocations: 0.5784 MB / 321.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/0.3627, allocations: 11.94 kB / 321.7 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.3627, allocations: 4.375 kB / 321.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000539/0.3633, allocations: 92.8 kB / 321.8 MB, free: 10.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000816/0.3641, allocations: 111.8 kB / 321.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00306/0.3672, allocations: 1.866 MB / 323.8 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000577/0.3678, allocations: 59.36 kB / 323.8 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.501e-05/0.3679, allocations: 20 kB / 323.8 MB, free: 8.043 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.0003148/0.3682, allocations: 172.6 kB / 324 MB, free: 7.867 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.539e-05/0.3684, allocations: 35.66 kB / 324 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/0.3702, allocations: 0.5629 MB / 324.6 MB, free: 7.254 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.3702, allocations: 8 kB / 324.6 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3703, allocations: 0 / 324.6 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.3703, allocations: 3.984 kB / 324.6 MB, free: 7.242 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/0.3731, allocations: 1.157 MB / 325.8 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.3731, allocations: 0 / 325.8 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006648/0.3738, allocations: 83.89 kB / 325.9 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004755/0.3743, allocations: 84.94 kB / 325.9 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.566e-05/0.3744, allocations: 16 kB / 325.9 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002979/0.3774, allocations: 1.858 MB / 327.8 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3774, allocations: 32 / 327.8 MB, free: 3.848 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002381/0.3798, allocations: 0.8077 MB / 328.6 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.38, allocations: 124.7 kB / 328.7 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-05/0.3801, allocations: 8 kB / 328.7 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/0.3805, allocations: 27.92 kB / 328.8 MB, free: 2.848 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.3806, allocations: 36.34 kB / 328.8 MB, free: 2.812 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.657e-05/0.3807, allocations: 16 kB / 328.8 MB, free: 2.797 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000205/0.3809, allocations: 139.2 kB / 329 MB, free: 2.66 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3809, allocations: 0 / 329 MB, free: 2.66 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000856/0.3818, allocations: 155.6 kB / 329.1 MB, free: 2.508 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.0003137/0.3821, allocations: 131.1 kB / 329.2 MB, free: 2.367 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001758/0.3839, allocations: 0.6013 MB / 329.8 MB, free: 1.754 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3839, allocations: 0 / 329.8 MB, free: 1.754 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009291/0.3849, allocations: 389 kB / 330.2 MB, free: 1.363 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.3852, allocations: 24.81 kB / 330.2 MB, free: 1.34 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.3874, allocations: 1.071 MB / 331.3 MB, free: 244 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000517/0.388, allocations: 0.8253 MB / 332.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.3882, allocations: 43.44 kB / 332.2 MB, free: 15.35 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3882, allocations: 0 / 332.2 MB, free: 15.35 MB / 282.7 MB Notification: Performance of Templates: time 0.0138/0.402, allocations: 6.355 MB / 338.5 MB, free: 8.984 MB / 282.7 MB