Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadModel(Modelica): time 2.032/2.032, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.345e-05/3.367e-05, allocations: 7.984 kB / 292.1 MB, free: 8.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09124/0.09129, allocations: 50.42 MB / 342.6 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3641/0.4554, allocations: 81.25 MB / 423.8 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.4557, allocations: 80.2 kB / 423.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03541/0.4912, allocations: 8.348 MB / 432.2 MB, free: 5.754 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.292e-06/0.4912, allocations: 0 / 432.2 MB, free: 5.754 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.4913, allocations: 4 kB / 432.2 MB, free: 5.75 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001151/0.4924, allocations: 0.5785 MB / 432.8 MB, free: 5.148 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.4925, allocations: 8.031 kB / 432.8 MB, free: 5.141 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.4926, allocations: 39.56 kB / 432.9 MB, free: 5.102 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004807/0.4931, allocations: 277.1 kB / 433.1 MB, free: 4.812 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.4931, allocations: 23.72 kB / 433.2 MB, free: 4.801 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.647e-05/0.4932, allocations: 27.75 kB / 433.2 MB, free: 4.781 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005926/0.4938, allocations: 258.7 kB / 433.4 MB, free: 4.602 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.4939, allocations: 0 / 433.4 MB, free: 4.602 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/0.4939, allocations: 14.31 kB / 433.4 MB, free: 4.598 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.4939, allocations: 15.89 kB / 433.5 MB, free: 4.582 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000527/0.4945, allocations: 199.8 kB / 433.7 MB, free: 4.457 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002361/0.4969, allocations: 1.132 MB / 434.8 MB, free: 3.414 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000325/0.4972, allocations: 132 kB / 434.9 MB, free: 3.312 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.4974, allocations: 58.66 kB / 435 MB, free: 3.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.4974, allocations: 4 kB / 435 MB, free: 3.266 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.4974, allocations: 34.5 kB / 435 MB, free: 3.223 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 3.242e-06/0.4975, allocations: 0 / 435 MB, free: 3.223 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001902/0.4994, allocations: 0.5065 MB / 435.5 MB, free: 2.773 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.4994, allocations: 58.22 kB / 435.6 MB, free: 2.707 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003806/0.4998, allocations: 250.3 kB / 435.8 MB, free: 2.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.4999, allocations: 32.27 kB / 435.9 MB, free: 2.465 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.5001, allocations: 281.2 kB / 436.1 MB, free: 2.219 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.383e-05/0.5002, allocations: 79.14 kB / 436.2 MB, free: 2.148 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-05/0.5002, allocations: 5.938 kB / 436.2 MB, free: 2.148 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.5004, allocations: 329 kB / 436.5 MB, free: 1.824 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.5006, allocations: 65.81 kB / 436.6 MB, free: 1.785 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.5009, allocations: 155.8 kB / 436.7 MB, free: 1.617 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.5011, allocations: 115.1 kB / 436.9 MB, free: 1.539 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.299e-06/0.5012, allocations: 0 / 436.9 MB, free: 1.539 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007711/0.5019, allocations: 306.7 kB / 437.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.502, allocations: 7.938 kB / 437.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.502, allocations: 7.984 kB / 437.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000304/0.5023, allocations: 61.17 kB / 437.2 MB, free: 1.219 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004621/0.5028, allocations: 87.16 kB / 437.3 MB, free: 1.137 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002761/0.5056, allocations: 2.629 MB / 439.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004147/0.506, allocations: 31.05 kB / 440 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/0.5061, allocations: 12 kB / 440 MB, free: 14.33 MB / 362.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 (37): * Single equations (assignments): 35 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.5062, allocations: 122 kB / 440.1 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.002e-05/0.5063, allocations: 31.61 kB / 440.1 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.339e-05/0.5064, allocations: 34.8 kB / 440.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.386e-06/0.5064, allocations: 0 / 440.2 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.246e-06/0.5065, allocations: 7.984 kB / 440.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.5065, allocations: 4 kB / 440.2 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005419/0.507, allocations: 330.8 kB / 440.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.111e-06/0.507, allocations: 0 / 440.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.5074, allocations: 43.91 kB / 440.6 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002563/0.5076, allocations: 58.88 kB / 440.6 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.5077, allocations: 3.375 kB / 440.6 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002679/0.5104, allocations: 2.625 MB / 443.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.329e-06/0.5104, allocations: 4 kB / 443.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006463/0.5111, allocations: 318.4 kB / 443.6 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.5112, allocations: 104.1 kB / 443.7 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/0.5112, allocations: 0 / 443.7 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002899/0.5115, allocations: 23.48 kB / 443.7 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-05/0.5116, allocations: 19.47 kB / 443.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.5117, allocations: 7.625 kB / 443.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002818/0.512, allocations: 193.2 kB / 443.9 MB, free: 10.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.512, allocations: 3.938 kB / 443.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005665/0.5126, allocations: 78.12 kB / 444 MB, free: 10.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001987/0.5128, allocations: 119.2 kB / 444.1 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008452/0.5136, allocations: 407.4 kB / 444.5 MB, free: 9.812 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.688e-06/0.5137, allocations: 0.8125 kB / 444.5 MB, free: 9.812 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004842/0.5142, allocations: 310.5 kB / 444.8 MB, free: 9.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.5145, allocations: 21.89 kB / 444.8 MB, free: 9.508 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.5156, allocations: 361.3 kB / 445.2 MB, free: 9.168 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005116/0.5161, allocations: 0.783 MB / 445.9 MB, free: 8.359 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.5162, allocations: 26.75 kB / 446 MB, free: 8.34 MB / 362.7 MB Notification: Performance of SimCode: time 2.061e-06/0.5162, allocations: 0 / 446 MB, free: 8.34 MB / 362.7 MB Notification: Performance of Templates: time 0.01067/0.5269, allocations: 5.786 MB / 451.8 MB, free: 2.59 MB / 362.7 MB