Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadModel(Modelica): time 2.017/2.017, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.666e-05/2.68e-05, allocations: 1.562 kB / 292.1 MB, free: 8.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09345/0.0935, allocations: 50.42 MB / 342.6 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3942/0.4878, allocations: 82.76 MB / 425.3 MB, free: 11.41 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.4881, allocations: 91.81 kB / 425.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07381/0.562, allocations: 20.72 MB / 446.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.921e-06/0.562, allocations: 0 / 446.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.391e-05/0.5621, allocations: 12 kB / 446.1 MB, free: 10.41 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003779/0.5658, allocations: 0.9791 MB / 447.1 MB, free: 9.461 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.5659, allocations: 12.03 kB / 447.1 MB, free: 9.449 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/0.568, allocations: 211.1 kB / 447.3 MB, free: 9.266 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003522/0.5684, allocations: 235.6 kB / 447.6 MB, free: 9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.344e-05/0.5685, allocations: 58.94 kB / 447.6 MB, free: 8.969 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002277/0.5687, allocations: 72.06 kB / 447.7 MB, free: 8.922 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/0.5705, allocations: 0.7133 MB / 448.4 MB, free: 8.434 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.097e-05/0.5706, allocations: 4 kB / 448.4 MB, free: 8.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.609e-05/0.5707, allocations: 32 kB / 448.5 MB, free: 8.422 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/0.5707, allocations: 23.95 kB / 448.5 MB, free: 8.398 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.5723, allocations: 0.5972 MB / 449.1 MB, free: 8.008 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006433/0.5787, allocations: 3.142 MB / 452.2 MB, free: 4.852 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002992/0.5818, allocations: 2.036 MB / 454.3 MB, free: 2.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007908/0.5826, allocations: 303.9 kB / 454.5 MB, free: 2.219 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001775/0.5828, allocations: 93.88 kB / 454.6 MB, free: 2.109 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.283e-05/0.5829, allocations: 47.3 kB / 454.7 MB, free: 2.051 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 4.946e-06/0.5829, allocations: 0 / 454.7 MB, free: 2.051 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.001745/0.5847, allocations: 0.5912 MB / 455.3 MB, free: 1.449 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.828e-05/0.5848, allocations: 115.5 kB / 455.4 MB, free: 1.312 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004153/0.5852, allocations: 242.8 kB / 455.6 MB, free: 1.074 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.46e-05/0.5853, allocations: 37.7 kB / 455.7 MB, free: 1.031 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/0.5856, allocations: 357.9 kB / 456 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/0.5859, allocations: 244.4 kB / 456.3 MB, free: 444 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.529e-05/0.5859, allocations: 16 kB / 456.3 MB, free: 428 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.5861, allocations: 350.8 kB / 456.6 MB, free: 68 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005583/0.5867, allocations: 194.1 kB / 456.8 MB, free: 15.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006735/0.5874, allocations: 344.2 kB / 457.1 MB, free: 15.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006781/0.5881, allocations: 258 kB / 457.4 MB, free: 15.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.5881, allocations: 4 kB / 457.4 MB, free: 15.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001931/0.5901, allocations: 0.736 MB / 458.1 MB, free: 14.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.5901, allocations: 11.95 kB / 458.1 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.5902, allocations: 4 kB / 458.1 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005419/0.5907, allocations: 129.6 kB / 458.3 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009058/0.5917, allocations: 159.8 kB / 458.4 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004607/0.5963, allocations: 3.413 MB / 461.8 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007758/0.5971, allocations: 91.19 kB / 461.9 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.183e-05/0.5972, allocations: 32 kB / 462 MB, free: 10.38 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002302/0.5975, allocations: 148.7 kB / 462.1 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.5976, allocations: 43.52 kB / 462.1 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001917/0.5996, allocations: 0.6934 MB / 462.8 MB, free: 9.469 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.5996, allocations: 8 kB / 462.8 MB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.5997, allocations: 0 / 462.8 MB, free: 9.461 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.5997, allocations: 3.984 kB / 462.9 MB, free: 9.457 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003537/0.6032, allocations: 1.453 MB / 464.3 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.306e-06/0.6033, allocations: 0 / 464.3 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007335/0.604, allocations: 115.9 kB / 464.4 MB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004572/0.6045, allocations: 109.6 kB / 464.5 MB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.86e-05/0.6046, allocations: 23.98 kB / 464.5 MB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003823/0.6084, allocations: 3.098 MB / 467.6 MB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.058e-06/0.6085, allocations: 7.969 kB / 467.7 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002391/0.6109, allocations: 1.048 MB / 468.7 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002059/0.6111, allocations: 128.5 kB / 468.8 MB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-05/0.6112, allocations: 12 kB / 468.8 MB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005546/0.6118, allocations: 39.92 kB / 468.9 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.612, allocations: 52.7 kB / 468.9 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.055e-05/0.6121, allocations: 16 kB / 468.9 MB, free: 2.977 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002889/0.6124, allocations: 195.2 kB / 469.1 MB, free: 2.785 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.111e-06/0.6124, allocations: 0 / 469.1 MB, free: 2.785 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001147/0.6136, allocations: 223.4 kB / 469.4 MB, free: 2.566 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (cuboidBottom.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 58 * 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%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003724/0.6139, allocations: 175 kB / 469.5 MB, free: 2.383 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001835/0.6158, allocations: 0.7895 MB / 470.3 MB, free: 1.574 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.532e-06/0.6158, allocations: 0 / 470.3 MB, free: 1.574 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009773/0.6168, allocations: 0.5148 MB / 470.8 MB, free: 1.043 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004701/0.6173, allocations: 32.52 kB / 470.9 MB, free: 1.012 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.6198, allocations: 0.8524 MB / 471.7 MB, free: 132 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006697/0.6205, allocations: 0.8811 MB / 472.6 MB, free: 15.22 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/0.6209, allocations: 59.34 kB / 472.7 MB, free: 15.16 MB / 394.7 MB Notification: Performance of SimCode: time 1.904e-06/0.6209, allocations: 0 / 472.7 MB, free: 15.16 MB / 394.7 MB Notification: Performance of Templates: time 0.01968/0.6406, allocations: 11 MB / 483.7 MB, free: 4.148 MB / 394.7 MB