Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.976/1.976, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.29e-05/3.304e-05, allocations: 4 kB / 292.2 MB, free: 8.723 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1105, allocations: 50.43 MB / 342.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4619/0.5724, allocations: 84.1 MB / 426.7 MB, free: 9.676 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003315/0.5728, allocations: 85.88 kB / 426.8 MB, free: 9.629 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07497/0.6478, allocations: 19.58 MB / 446.4 MB, free: 9.605 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6479, allocations: 0 / 446.4 MB, free: 9.605 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.253e-05/0.6479, allocations: 12 kB / 446.4 MB, free: 9.594 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.004146/0.6521, allocations: 0.9446 MB / 447.4 MB, free: 8.672 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.6521, allocations: 12.03 kB / 447.4 MB, free: 8.66 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000201/0.6523, allocations: 113.6 kB / 447.5 MB, free: 8.582 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/0.654, allocations: 169.9 kB / 447.7 MB, free: 8.434 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.6543, allocations: 243.1 kB / 447.9 MB, free: 8.156 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.579e-05/0.6544, allocations: 52.38 kB / 447.9 MB, free: 8.125 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.6545, allocations: 68.94 kB / 448 MB, free: 8.082 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.6562, allocations: 0.6572 MB / 448.7 MB, free: 7.629 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.373e-05/0.6563, allocations: 3.984 kB / 448.7 MB, free: 7.625 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.526e-05/0.6564, allocations: 25.69 kB / 448.7 MB, free: 7.621 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.557e-05/0.6564, allocations: 19.95 kB / 448.7 MB, free: 7.602 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001533/0.6579, allocations: 0.5329 MB / 449.3 MB, free: 7.254 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005382/0.6633, allocations: 2.361 MB / 451.6 MB, free: 5.348 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00282/0.6662, allocations: 1.627 MB / 453.2 MB, free: 3.648 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006251/0.6669, allocations: 243.8 kB / 453.5 MB, free: 3.402 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/0.667, allocations: 97.59 kB / 453.6 MB, free: 3.289 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.6671, allocations: 43.16 kB / 453.6 MB, free: 3.238 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 5.33e-06/0.6671, allocations: 3.984 kB / 453.6 MB, free: 3.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.001346/0.6685, allocations: 462.6 kB / 454.1 MB, free: 2.777 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.885e-05/0.6686, allocations: 115.4 kB / 454.2 MB, free: 2.641 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003862/0.669, allocations: 225.1 kB / 454.4 MB, free: 2.418 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.213e-05/0.669, allocations: 37.7 kB / 454.4 MB, free: 2.375 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000226/0.6693, allocations: 326.4 kB / 454.8 MB, free: 2.051 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/0.6695, allocations: 224.7 kB / 455 MB, free: 1.828 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-05/0.6696, allocations: 16 kB / 455 MB, free: 1.812 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.6697, allocations: 334.8 kB / 455.3 MB, free: 1.477 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000543/0.6703, allocations: 189.5 kB / 455.5 MB, free: 1.289 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006472/0.671, allocations: 265.9 kB / 455.8 MB, free: 1.004 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006321/0.6716, allocations: 218.1 kB / 456 MB, free: 0.793 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.6716, allocations: 0 / 456 MB, free: 0.793 MB / 362.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001516/0.6731, allocations: 0.5585 MB / 456.5 MB, free: 236 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.6732, allocations: 4 kB / 456.5 MB, free: 232 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.6732, allocations: 4 kB / 456.5 MB, free: 228 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.6732, allocations: 4 kB / 456.6 MB, free: 224 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/0.6747, allocations: 164 kB / 456.7 MB, free: 60 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.068e-05/0.6747, allocations: 7.938 kB / 456.7 MB, free: 52 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008831/0.6756, allocations: 79.42 kB / 456.8 MB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.348e-05/0.6757, allocations: 27.98 kB / 456.8 MB, free: 15.94 MB / 378.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.0001969/0.6759, allocations: 136.8 kB / 457 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.6761, allocations: 39.53 kB / 457 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.6776, allocations: 0.5422 MB / 457.5 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.6777, allocations: 12 kB / 457.6 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.6777, allocations: 3.984 kB / 457.6 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.6777, allocations: 3.984 kB / 457.6 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002811/0.6805, allocations: 1.218 MB / 458.8 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.6806, allocations: 0 / 458.8 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/0.6817, allocations: 135.8 kB / 458.9 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/0.6818, allocations: 4 kB / 458.9 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.653e-05/0.6818, allocations: 19.92 kB / 458.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.679e-06/0.6818, allocations: 7.953 kB / 458.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.6819, allocations: 0 / 458.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.6839, allocations: 0.9024 MB / 459.8 MB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.6841, allocations: 128.5 kB / 460 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.6842, allocations: 19.95 kB / 460 MB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007406/0.6849, allocations: 31.97 kB / 460 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.6851, allocations: 36.52 kB / 460.1 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.852e-05/0.6852, allocations: 19.98 kB / 460.1 MB, free: 12.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000301/0.6855, allocations: 189.4 kB / 460.3 MB, free: 12.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6855, allocations: 0 / 460.3 MB, free: 12.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008565/0.6864, allocations: 187.5 kB / 460.4 MB, free: 12.22 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.002528/0.6889, allocations: 1.575 MB / 462 MB, free: 10.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.6903, allocations: 486.3 kB / 462.5 MB, free: 10.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6903, allocations: 0 / 462.5 MB, free: 10.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006037/0.6909, allocations: 238 kB / 462.7 MB, free: 9.898 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004876/0.6914, allocations: 32.42 kB / 462.8 MB, free: 9.867 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003434/0.6949, allocations: 0.9369 MB / 463.7 MB, free: 8.883 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.6954, allocations: 0.8539 MB / 464.5 MB, free: 8.008 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005469/0.696, allocations: 199.3 kB / 464.7 MB, free: 7.812 MB / 378.7 MB Notification: Performance of SimCode: time 1.232e-06/0.696, allocations: 4 kB / 464.7 MB, free: 7.809 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.487/3.183, allocations: 8.804 MB / 473.6 MB, free: 15.03 MB / 394.7 MB