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.1_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadModel(Modelica): time 1.59/1.59, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.747e-05/2.769e-05, allocations: 0 / 225 MB, free: 2.711 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2077, allocations: 38.78 MB / 263.8 MB, free: 9.875 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.3683, allocations: 70.07 MB / 333.8 MB, free: 3.695 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.3686, allocations: 79.95 kB / 333.9 MB, free: 3.617 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04146/0.4101, allocations: 12.25 MB / 346.2 MB, free: 7.203 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.11e-06/0.4101, allocations: 4 kB / 346.2 MB, free: 7.199 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.4102, allocations: 4 kB / 346.2 MB, free: 7.195 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001867/0.4121, allocations: 0.674 MB / 346.8 MB, free: 6.477 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.4121, allocations: 8.031 kB / 346.9 MB, free: 6.469 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002613/0.4124, allocations: 55.59 kB / 346.9 MB, free: 6.414 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.4128, allocations: 254.6 kB / 347.2 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.4128, allocations: 29 kB / 347.2 MB, free: 6.098 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-05/0.4129, allocations: 44 kB / 347.2 MB, free: 6.055 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007561/0.4137, allocations: 320.5 kB / 347.5 MB, free: 5.734 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.4138, allocations: 4 kB / 347.5 MB, free: 5.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/0.4138, allocations: 16 kB / 347.6 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.4138, allocations: 12 kB / 347.6 MB, free: 5.703 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006203/0.4145, allocations: 238 kB / 347.8 MB, free: 5.473 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002524/0.417, allocations: 1.351 MB / 349.2 MB, free: 4.023 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005811/0.4176, allocations: 170.6 kB / 349.3 MB, free: 3.848 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.4178, allocations: 76.89 kB / 349.4 MB, free: 3.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.4179, allocations: 0 / 349.4 MB, free: 3.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.4179, allocations: 34.56 kB / 349.4 MB, free: 3.727 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 2.227e-06/0.4179, allocations: 0 / 349.4 MB, free: 3.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006468/0.4186, allocations: 217 kB / 349.6 MB, free: 3.508 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.4186, allocations: 55.34 kB / 349.7 MB, free: 3.441 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.4189, allocations: 158.5 kB / 349.9 MB, free: 3.273 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.4189, allocations: 29.7 kB / 349.9 MB, free: 3.238 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.4191, allocations: 270 kB / 350.1 MB, free: 2.973 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.56e-05/0.4192, allocations: 59.19 kB / 350.2 MB, free: 2.914 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.515e-05/0.4192, allocations: 8 kB / 350.2 MB, free: 2.906 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.4194, allocations: 322.8 kB / 350.5 MB, free: 2.582 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.4195, allocations: 48 kB / 350.6 MB, free: 2.535 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.4197, allocations: 102.9 kB / 350.7 MB, free: 2.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.4199, allocations: 69.53 kB / 350.7 MB, free: 2.344 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.4199, allocations: 3.938 kB / 350.7 MB, free: 2.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007019/0.4207, allocations: 271.1 kB / 351 MB, free: 2.066 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.4207, allocations: 8 kB / 351 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4207, allocations: 0 / 351 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004155/0.4211, allocations: 84.81 kB / 351.1 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.4214, allocations: 43.98 kB / 351.1 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00266/0.424, allocations: 1.839 MB / 353 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.4243, allocations: 31.75 kB / 353 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.4243, allocations: 12.06 kB / 353 MB, free: 15.91 MB / 314.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 (17): * Single equations (assignments): 16 * 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.000128/0.4245, allocations: 116.9 kB / 353.1 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.221e-05/0.4245, allocations: 15.81 kB / 353.2 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006064/0.4252, allocations: 223.9 kB / 353.4 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.477e-06/0.4252, allocations: 4.141 kB / 353.4 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.866e-06/0.4252, allocations: 8 kB / 353.4 MB, free: 15.54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.619e-06/0.4252, allocations: 7.922 kB / 353.4 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005445/0.4258, allocations: 333.3 kB / 353.7 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.087e-06/0.4258, allocations: 0 / 353.7 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.426, allocations: 23.92 kB / 353.7 MB, free: 15.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003689/0.4264, allocations: 84.81 kB / 353.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.4264, allocations: 8 kB / 353.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002552/0.429, allocations: 1.827 MB / 355.7 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.812e-06/0.429, allocations: 4.031 kB / 355.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007928/0.4298, allocations: 379.1 kB / 356 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.471e-05/0.4299, allocations: 104.8 kB / 356.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.4299, allocations: 4 kB / 356.1 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.4302, allocations: 8 kB / 356.1 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.4302, allocations: 20.03 kB / 356.2 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.4303, allocations: 11.98 kB / 356.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001467/0.4304, allocations: 128.9 kB / 356.3 MB, free: 12.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.4304, allocations: 0 / 356.3 MB, free: 12.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006511/0.4311, allocations: 91.69 kB / 356.4 MB, free: 12.31 MB / 314.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 (7): * Single equations (assignments): 6 * 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.0002215/0.4313, allocations: 131.3 kB / 356.5 MB, free: 12.17 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006795/0.432, allocations: 292.8 kB / 356.8 MB, free: 11.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.432, allocations: 4.375 kB / 356.8 MB, free: 11.87 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004069/0.4325, allocations: 213.6 kB / 357 MB, free: 11.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.4328, allocations: 20.11 kB / 357 MB, free: 11.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.4338, allocations: 421.5 kB / 357.5 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.4343, allocations: 0.7753 MB / 358.2 MB, free: 10.39 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.648e-05/0.4344, allocations: 15.44 kB / 358.2 MB, free: 10.38 MB / 314.7 MB Notification: Performance of SimCode: time 1.418e-06/0.4344, allocations: 0 / 358.2 MB, free: 10.38 MB / 314.7 MB Notification: Performance of Templates: time 0.007501/0.4419, allocations: 3.929 MB / 362.2 MB, free: 6.445 MB / 314.7 MB