Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadModel(Modelica): time 1.946/1.946, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.81e-05/2.794e-05, allocations: 4 kB / 292.7 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0918/0.09185, allocations: 50.41 MB / 343.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3625/0.4544, allocations: 84.02 MB / 427.1 MB, free: 10.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.4547, allocations: 86.2 kB / 427.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06839/0.5231, allocations: 19.58 MB / 446.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.092e-06/0.5232, allocations: 0 / 446.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.978e-05/0.5232, allocations: 8 kB / 446.8 MB, free: 10.15 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003424/0.5267, allocations: 0.9479 MB / 447.7 MB, free: 9.227 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.5267, allocations: 12.03 kB / 447.8 MB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/0.5283, allocations: 173.4 kB / 447.9 MB, free: 9.062 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.5286, allocations: 231 kB / 448.1 MB, free: 8.793 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.941e-05/0.5287, allocations: 49.81 kB / 448.2 MB, free: 8.766 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.5288, allocations: 71.67 kB / 448.3 MB, free: 8.719 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.5304, allocations: 0.6454 MB / 448.9 MB, free: 8.277 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.5304, allocations: 4 kB / 448.9 MB, free: 8.273 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.076e-05/0.5306, allocations: 31.42 kB / 448.9 MB, free: 8.266 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.5306, allocations: 23.95 kB / 449 MB, free: 8.242 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.532, allocations: 0.5344 MB / 449.5 MB, free: 7.891 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004792/0.5368, allocations: 2.361 MB / 451.9 MB, free: 5.613 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/0.5394, allocations: 1.627 MB / 453.5 MB, free: 3.754 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005693/0.5399, allocations: 243.8 kB / 453.7 MB, free: 3.508 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.5401, allocations: 93.64 kB / 453.8 MB, free: 3.398 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.5402, allocations: 39.12 kB / 453.9 MB, free: 3.352 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 6.611e-06/0.5402, allocations: 0 / 453.9 MB, free: 3.352 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.001275/0.5415, allocations: 478.6 kB / 454.3 MB, free: 2.879 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.486e-05/0.5416, allocations: 111.4 kB / 454.4 MB, free: 2.746 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003695/0.542, allocations: 225.1 kB / 454.7 MB, free: 2.523 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.169e-05/0.5421, allocations: 37.7 kB / 454.7 MB, free: 2.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.5423, allocations: 260 kB / 454.9 MB, free: 2.219 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/0.5425, allocations: 232.6 kB / 455.2 MB, free: 1.988 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/0.5426, allocations: 12 kB / 455.2 MB, free: 1.977 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.5428, allocations: 354.8 kB / 455.5 MB, free: 1.621 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004993/0.5433, allocations: 177.6 kB / 455.7 MB, free: 1.445 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/0.5439, allocations: 265.8 kB / 456 MB, free: 1.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005914/0.5446, allocations: 218.1 kB / 456.2 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.079e-06/0.5446, allocations: 0 / 456.2 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001459/0.546, allocations: 0.5701 MB / 456.7 MB, free: 384 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.5461, allocations: 8 kB / 456.8 MB, free: 376 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.5461, allocations: 0 / 456.8 MB, free: 376 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.5461, allocations: 4.188 kB / 456.8 MB, free: 372 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000963/0.5471, allocations: 167.8 kB / 456.9 MB, free: 204 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.5471, allocations: 4 kB / 456.9 MB, free: 200 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000593/0.5477, allocations: 83.25 kB / 457 MB, free: 116 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.081e-05/0.5478, allocations: 20 kB / 457 MB, free: 96 kB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002196/0.5481, allocations: 148.8 kB / 457.2 MB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.5482, allocations: 35.61 kB / 457.2 MB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/0.5497, allocations: 0.5499 MB / 457.8 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.5497, allocations: 8 kB / 457.8 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.137e-06/0.5497, allocations: 0 / 457.8 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.5497, allocations: 4 kB / 457.8 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002662/0.5524, allocations: 1.214 MB / 459 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.5524, allocations: 0 / 459 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008168/0.5533, allocations: 139.8 kB / 459.1 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.875e-06/0.5533, allocations: 0 / 459.1 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.151e-05/0.5534, allocations: 16 kB / 459.1 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.258e-06/0.5534, allocations: 0 / 459.1 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.365e-06/0.5534, allocations: 7.953 kB / 459.1 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.5553, allocations: 0.8986 MB / 460 MB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.5555, allocations: 124.5 kB / 460.2 MB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.314e-05/0.5556, allocations: 12 kB / 460.2 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005294/0.5562, allocations: 47.8 kB / 460.2 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.5563, allocations: 44.44 kB / 460.3 MB, free: 12.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.812e-05/0.5564, allocations: 16 kB / 460.3 MB, free: 12.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002987/0.5567, allocations: 189.4 kB / 460.5 MB, free: 12.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.5567, allocations: 0 / 460.5 MB, free: 12.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008117/0.5575, allocations: 187.5 kB / 460.6 MB, free: 12.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 66 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003201/0.5578, allocations: 163.2 kB / 460.8 MB, free: 12.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.5591, allocations: 478.2 kB / 461.3 MB, free: 11.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.009e-06/0.5591, allocations: 4 kB / 461.3 MB, free: 11.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000552/0.5596, allocations: 246.3 kB / 461.5 MB, free: 11.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.5601, allocations: 41.02 kB / 461.6 MB, free: 11.44 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/0.5626, allocations: 0.793 MB / 462.4 MB, free: 10.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006349/0.5632, allocations: 0.8539 MB / 463.2 MB, free: 9.738 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006318/0.5639, allocations: 79.41 kB / 463.3 MB, free: 9.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.5641, allocations: 43.42 kB / 463.3 MB, free: 9.617 MB / 378.7 MB Notification: Performance of SimCode: time 1.82e-06/0.5641, allocations: 0 / 463.3 MB, free: 9.617 MB / 378.7 MB Notification: Performance of Templates: time 0.01495/0.5791, allocations: 4.772 MB / 468.1 MB, free: 4.887 MB / 378.7 MB