Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadModel(Modelica): time 2.158/2.158, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.755e-05/2.767e-05, allocations: 4 kB / 292.1 MB, free: 8.789 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09287/0.09292, allocations: 50.41 MB / 342.6 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3681/0.461, allocations: 84.08 MB / 426.6 MB, free: 10.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.4614, allocations: 89.19 kB / 426.7 MB, free: 10.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06978/0.5312, allocations: 19.57 MB / 446.3 MB, free: 10.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.095e-06/0.5312, allocations: 0 / 446.3 MB, free: 10.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.139e-05/0.5312, allocations: 16 kB / 446.3 MB, free: 10.03 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.003414/0.5347, allocations: 0.9416 MB / 447.3 MB, free: 9.117 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.5347, allocations: 12.02 kB / 447.3 MB, free: 9.105 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/0.5363, allocations: 180.5 kB / 447.4 MB, free: 8.949 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.5367, allocations: 235.7 kB / 447.7 MB, free: 8.676 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.263e-05/0.5368, allocations: 52.69 kB / 447.7 MB, free: 8.648 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.5369, allocations: 61.62 kB / 447.8 MB, free: 8.609 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.5385, allocations: 0.663 MB / 448.5 MB, free: 8.152 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/0.5385, allocations: 0 / 448.5 MB, free: 8.152 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.023e-05/0.5386, allocations: 27.31 kB / 448.5 MB, free: 8.145 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/0.5387, allocations: 19.95 kB / 448.5 MB, free: 8.125 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.5401, allocations: 0.5313 MB / 449 MB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00492/0.545, allocations: 2.368 MB / 451.4 MB, free: 5.801 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00254/0.5476, allocations: 1.621 MB / 453 MB, free: 3.945 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005936/0.5483, allocations: 243.7 kB / 453.3 MB, free: 3.699 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/0.5485, allocations: 101.6 kB / 453.4 MB, free: 3.582 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.5485, allocations: 47.16 kB / 453.4 MB, free: 3.527 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 3.793e-06/0.5485, allocations: 3.938 kB / 453.4 MB, free: 3.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.001268/0.5498, allocations: 458.6 kB / 453.9 MB, free: 3.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.045e-05/0.5499, allocations: 111.4 kB / 454 MB, free: 2.938 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003861/0.5503, allocations: 229.1 kB / 454.2 MB, free: 2.711 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/0.5504, allocations: 37.64 kB / 454.2 MB, free: 2.668 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.5507, allocations: 330.4 kB / 454.5 MB, free: 2.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.5509, allocations: 228.6 kB / 454.8 MB, free: 2.113 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/0.551, allocations: 12 kB / 454.8 MB, free: 2.102 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.5512, allocations: 342.8 kB / 455.1 MB, free: 1.758 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004902/0.5517, allocations: 177.5 kB / 455.3 MB, free: 1.582 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005831/0.5523, allocations: 257.9 kB / 455.5 MB, free: 1.305 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005829/0.5529, allocations: 222.1 kB / 455.8 MB, free: 1.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.189e-06/0.5529, allocations: 4 kB / 455.8 MB, free: 1.086 MB / 362.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001428/0.5544, allocations: 0.5586 MB / 456.3 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.5544, allocations: 8 kB / 456.3 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.351e-06/0.5544, allocations: 0 / 456.3 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.369e-05/0.5545, allocations: 4 kB / 456.3 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009836/0.5555, allocations: 159.8 kB / 456.5 MB, free: 364 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.5555, allocations: 11.94 kB / 456.5 MB, free: 352 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006038/0.5561, allocations: 83.44 kB / 456.6 MB, free: 268 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.591e-05/0.5562, allocations: 23.98 kB / 456.6 MB, free: 244 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.0002028/0.5564, allocations: 144.6 kB / 456.7 MB, free: 96 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.5566, allocations: 35.53 kB / 456.8 MB, free: 60 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.558, allocations: 0.5461 MB / 457.3 MB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/0.5581, allocations: 8 kB / 457.3 MB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.193e-06/0.5581, allocations: 0 / 457.3 MB, free: 15.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.5581, allocations: 3.984 kB / 457.3 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/0.5609, allocations: 1.226 MB / 458.6 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.497e-06/0.5609, allocations: 0 / 458.6 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008277/0.5618, allocations: 131.9 kB / 458.7 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/0.5618, allocations: 0 / 458.7 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-05/0.5619, allocations: 23.92 kB / 458.7 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.134e-06/0.5619, allocations: 0 / 458.7 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.386e-06/0.5619, allocations: 3.953 kB / 458.7 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.5638, allocations: 0.9025 MB / 459.6 MB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.564, allocations: 128.5 kB / 459.7 MB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.393e-05/0.5641, allocations: 15.94 kB / 459.8 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005478/0.5647, allocations: 40 kB / 459.8 MB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.5649, allocations: 40.5 kB / 459.8 MB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.698e-05/0.5649, allocations: 19.98 kB / 459.9 MB, free: 12.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002946/0.5652, allocations: 185.4 kB / 460 MB, free: 12.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.5652, allocations: 0 / 460 MB, free: 12.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008257/0.5661, allocations: 183.5 kB / 460.2 MB, free: 12.52 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.0003358/0.5664, allocations: 175.1 kB / 460.4 MB, free: 12.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.5677, allocations: 474.2 kB / 460.9 MB, free: 11.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.373e-06/0.5677, allocations: 4 kB / 460.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005367/0.5682, allocations: 238 kB / 461.1 MB, free: 11.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.5687, allocations: 36.42 kB / 461.1 MB, free: 11.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.5714, allocations: 0.8263 MB / 462 MB, free: 10.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000659/0.572, allocations: 0.8539 MB / 462.8 MB, free: 9.855 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003284/0.5724, allocations: 55.41 kB / 462.9 MB, free: 9.801 MB / 378.7 MB Notification: Performance of SimCode: time 4.163e-06/0.5724, allocations: 4 kB / 462.9 MB, free: 9.797 MB / 378.7 MB Notification: Performance of Templates: time 0.01416/0.5866, allocations: 6.52 MB / 469.4 MB, free: 3.309 MB / 378.7 MB