Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,fileNamePrefix="Modelica_trunk_cpp_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CuboidSections",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.025/2.025, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.497e-05, allocations: 4 kB / 292.2 MB, free: 8.734 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 50.42 MB / 342.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4796/0.5912, allocations: 82.78 MB / 425.4 MB, free: 11.08 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/0.5916, allocations: 88.33 kB / 425.5 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07958/0.6712, allocations: 20.73 MB / 446.2 MB, free: 10.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.6712, allocations: 0 / 446.2 MB, free: 10.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.713e-05/0.6713, allocations: 12 kB / 446.3 MB, free: 10.09 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.004468/0.6757, allocations: 0.9801 MB / 447.2 MB, free: 9.137 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.6758, allocations: 8.031 kB / 447.2 MB, free: 9.129 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002418/0.6761, allocations: 127.4 kB / 447.4 MB, free: 9.043 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002005/0.6781, allocations: 215 kB / 447.6 MB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.6784, allocations: 231.9 kB / 447.8 MB, free: 8.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.003e-05/0.6785, allocations: 55.81 kB / 447.9 MB, free: 8.559 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002089/0.6787, allocations: 77.69 kB / 447.9 MB, free: 8.508 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.6806, allocations: 0.716 MB / 448.6 MB, free: 8.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/0.6806, allocations: 0 / 448.6 MB, free: 8.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.6807, allocations: 29.12 kB / 448.7 MB, free: 8.012 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.583e-05/0.6808, allocations: 19.95 kB / 448.7 MB, free: 7.992 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.6824, allocations: 0.6017 MB / 449.3 MB, free: 7.598 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006847/0.6893, allocations: 3.144 MB / 452.4 MB, free: 4.586 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003378/0.6927, allocations: 2.032 MB / 454.5 MB, free: 2.258 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008269/0.6936, allocations: 292 kB / 454.8 MB, free: 1.969 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000176/0.6938, allocations: 109.8 kB / 454.9 MB, free: 1.844 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.6939, allocations: 43.3 kB / 454.9 MB, free: 1.789 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 4.92e-06/0.6939, allocations: 0 / 454.9 MB, free: 1.789 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.001852/0.6957, allocations: 0.5914 MB / 455.5 MB, free: 1.188 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.762e-05/0.6958, allocations: 111.6 kB / 455.6 MB, free: 1.055 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004238/0.6963, allocations: 242.8 kB / 455.8 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.86e-05/0.6964, allocations: 37.7 kB / 455.9 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.6966, allocations: 357.8 kB / 456.2 MB, free: 428 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000264/0.6969, allocations: 248.4 kB / 456.5 MB, free: 176 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/0.697, allocations: 12 kB / 456.5 MB, free: 164 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.6971, allocations: 346.8 kB / 456.8 MB, free: 15.81 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005945/0.6978, allocations: 202 kB / 457 MB, free: 15.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007223/0.6985, allocations: 348.1 kB / 457.4 MB, free: 15.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007601/0.6993, allocations: 254 kB / 457.6 MB, free: 14.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.6993, allocations: 0 / 457.6 MB, free: 14.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00209/0.7014, allocations: 0.7473 MB / 458.4 MB, free: 14.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.391e-05/0.7014, allocations: 4 kB / 458.4 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.7015, allocations: 8.391 kB / 458.4 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000615/0.7021, allocations: 125.6 kB / 458.5 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.7034, allocations: 163.8 kB / 458.7 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004416/0.7079, allocations: 3.401 MB / 462.1 MB, free: 10.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.709, allocations: 95.19 kB / 462.1 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.873e-05/0.7091, allocations: 24 kB / 462.2 MB, free: 10.12 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.0002312/0.7093, allocations: 160.7 kB / 462.3 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.7095, allocations: 47.42 kB / 462.4 MB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/0.7116, allocations: 0.6896 MB / 463.1 MB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.7116, allocations: 12 kB / 463.1 MB, free: 9.195 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.7116, allocations: 4 kB / 463.1 MB, free: 9.191 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.7116, allocations: 3.984 kB / 463.1 MB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003628/0.7153, allocations: 1.445 MB / 464.5 MB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.7153, allocations: 0 / 464.5 MB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.7164, allocations: 119.8 kB / 464.6 MB, free: 7.562 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005466/0.717, allocations: 109.7 kB / 464.8 MB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.043e-05/0.7171, allocations: 15.98 kB / 464.8 MB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003851/0.7209, allocations: 3.102 MB / 467.9 MB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.721, allocations: 0 / 467.9 MB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002658/0.7237, allocations: 1.056 MB / 468.9 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/0.7239, allocations: 132.4 kB / 469.1 MB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.724, allocations: 15.95 kB / 469.1 MB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007513/0.7248, allocations: 40.03 kB / 469.1 MB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.725, allocations: 52.64 kB / 469.2 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.91e-05/0.7251, allocations: 24 kB / 469.2 MB, free: 2.699 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003014/0.7254, allocations: 183.1 kB / 469.4 MB, free: 2.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.7254, allocations: 0 / 469.4 MB, free: 2.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001237/0.7267, allocations: 223.5 kB / 469.6 MB, free: 2.301 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.00317/0.7299, allocations: 1.736 MB / 471.3 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002124/0.732, allocations: 0.7893 MB / 472.1 MB, free: 15.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.7321, allocations: 1 kB / 472.1 MB, free: 15.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.7333, allocations: 0.514 MB / 472.6 MB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.7338, allocations: 28.52 kB / 472.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003634/0.7375, allocations: 0.9632 MB / 473.6 MB, free: 14.15 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005761/0.7381, allocations: 0.8811 MB / 474.5 MB, free: 13.24 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006112/0.7387, allocations: 199.4 kB / 474.7 MB, free: 13.05 MB / 394.7 MB Notification: Performance of SimCode: time 1.263e-06/0.7387, allocations: 0 / 474.7 MB, free: 13.05 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.854/3.593, allocations: 13.31 MB / 488 MB, free: 15.72 MB / 410.7 MB