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.824/1.824, allocations: 194.9 MB / 208 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.849e-05/2.87e-05, allocations: 4 kB / 255.4 MB, free: 2.695 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08846/0.08851, allocations: 44.49 MB / 299.9 MB, free: 6.141 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3669/0.4555, allocations: 76.93 MB / 376.8 MB, free: 22.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.4557, allocations: 78.58 kB / 376.9 MB, free: 22.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05355/0.5093, allocations: 15.95 MB / 392.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.886e-06/0.5094, allocations: 0 / 392.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.5094, allocations: 7.812 kB / 392.9 MB, free: 19.88 MB / 314.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.001833/0.5112, allocations: 0.7534 MB / 393.6 MB, free: 19.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.5113, allocations: 23.2 kB / 393.6 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004338/0.5156, allocations: 431.6 kB / 394 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004265/0.5161, allocations: 318.2 kB / 394.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.357e-05/0.5161, allocations: 43.41 kB / 394.4 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.5163, allocations: 56.56 kB / 394.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/0.5173, allocations: 0.5136 MB / 395 MB, free: 19.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.5174, allocations: 3.906 kB / 395 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.297e-05/0.5175, allocations: 25.16 kB / 395 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.5175, allocations: 15.56 kB / 395 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.5188, allocations: 0.5889 MB / 395.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003467/0.5223, allocations: 2.055 MB / 397.7 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002267/0.5245, allocations: 2.981 MB / 400.6 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003616/0.5249, allocations: 205.6 kB / 400.8 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.028e-05/0.525, allocations: 89.16 kB / 400.9 MB, free: 15.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.5251, allocations: 34.81 kB / 401 MB, free: 15.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.552e-06/0.5251, allocations: 0 / 401 MB, free: 15.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=49): time 0.001018/0.5261, allocations: 441.7 kB / 401.4 MB, free: 15.03 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.5262, allocations: 55.75 kB / 401.4 MB, free: 14.97 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.5264, allocations: 191 kB / 401.6 MB, free: 14.87 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.5264, allocations: 32.83 kB / 401.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.841e-05/0.5265, allocations: 238.8 kB / 401.9 MB, free: 14.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.5266, allocations: 166 kB / 402.1 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.5267, allocations: 7.188 kB / 402.1 MB, free: 14.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.784e-05/0.5268, allocations: 341.4 kB / 402.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002976/0.5271, allocations: 143.9 kB / 402.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003601/0.5274, allocations: 245.2 kB / 402.8 MB, free: 14.12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.5278, allocations: 181.4 kB / 403 MB, free: 14.11 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.6e-06/0.5279, allocations: 0 / 403 MB, free: 14.11 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001188/0.5291, allocations: 0.5419 MB / 403.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.5291, allocations: 9.375 kB / 403.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.879e-06/0.5291, allocations: 0 / 403.5 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003843/0.5295, allocations: 89.22 kB / 403.6 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005598/0.5301, allocations: 120.8 kB / 403.7 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/0.5326, allocations: 1.844 MB / 405.6 MB, free: 28.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/0.533, allocations: 49.75 kB / 405.6 MB, free: 28.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-05/0.5331, allocations: 22.58 kB / 405.6 MB, free: 28.58 MB / 330.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.0001656/0.5332, allocations: 138.7 kB / 405.8 MB, free: 28.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.283e-05/0.5333, allocations: 31.36 kB / 405.8 MB, free: 28.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.5345, allocations: 0.5204 MB / 406.3 MB, free: 28.37 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.752e-06/0.5346, allocations: 11.86 kB / 406.3 MB, free: 28.36 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.572e-06/0.5346, allocations: 3.969 kB / 406.3 MB, free: 28.36 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.128e-06/0.5346, allocations: 3.562 kB / 406.3 MB, free: 28.36 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/0.5364, allocations: 1.098 MB / 407.4 MB, free: 27.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.287e-06/0.5365, allocations: 0 / 407.4 MB, free: 27.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004921/0.537, allocations: 85.19 kB / 407.5 MB, free: 27.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003812/0.5374, allocations: 85.34 kB / 407.6 MB, free: 27.97 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/0.5374, allocations: 10.61 kB / 407.6 MB, free: 27.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002314/0.5398, allocations: 1.844 MB / 409.5 MB, free: 26.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.666e-06/0.5398, allocations: 4.062 kB / 409.5 MB, free: 26.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.5413, allocations: 0.7423 MB / 410.2 MB, free: 26.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.5414, allocations: 116.1 kB / 410.3 MB, free: 26.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.023e-05/0.5415, allocations: 3.938 kB / 410.3 MB, free: 26.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.5418, allocations: 26.56 kB / 410.3 MB, free: 26.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.121e-05/0.5419, allocations: 42.2 kB / 410.4 MB, free: 26.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.779e-05/0.542, allocations: 15.38 kB / 410.4 MB, free: 26.29 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001632/0.5421, allocations: 137.2 kB / 410.5 MB, free: 26.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.597e-06/0.5422, allocations: 0 / 410.5 MB, free: 26.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000795/0.543, allocations: 170.3 kB / 410.7 MB, free: 26.18 MB / 330.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.0002573/0.5432, allocations: 152.6 kB / 410.8 MB, free: 26.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.5443, allocations: 0.5446 MB / 411.4 MB, free: 25.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.724e-06/0.5443, allocations: 0 / 411.4 MB, free: 25.93 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006095/0.5449, allocations: 354.8 kB / 411.7 MB, free: 25.81 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.5453, allocations: 23.03 kB / 411.8 MB, free: 25.8 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003387/0.5487, allocations: 1.014 MB / 412.8 MB, free: 25.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005006/0.5492, allocations: 0.8223 MB / 413.6 MB, free: 24.84 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003177/0.5495, allocations: 54.03 kB / 413.7 MB, free: 24.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.5497, allocations: 30.58 kB / 413.7 MB, free: 24.81 MB / 330.7 MB Notification: Performance of SimCode: time 1.855e-06/0.5497, allocations: 0 / 413.7 MB, free: 24.81 MB / 330.7 MB Notification: Performance of Templates: time 0.01081/0.5605, allocations: 3.922 MB / 417.6 MB, free: 23.5 MB / 330.7 MB