Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.78/2.78, allocations: 270 MB / 282.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.089e-05/4.084e-05, allocations: 4 kB / 347.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3925, allocations: 61.87 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1704/0.563, allocations: 91.77 MB / 0.489 GB, free: 14.76 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/0.5633, allocations: 79.95 kB / 0.489 GB, free: 14.68 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0263/0.5896, allocations: 5.78 MB / 0.4947 GB, free: 8.863 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5897, allocations: 0 / 0.4947 GB, free: 8.863 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.98e-05/0.5897, allocations: 8 kB / 0.4947 GB, free: 8.855 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001592/0.5913, allocations: 0.6078 MB / 0.4953 GB, free: 8.203 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.5914, allocations: 8.031 kB / 0.4953 GB, free: 8.195 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001612/0.5916, allocations: 78.52 kB / 0.4954 GB, free: 8.109 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.5917, allocations: 44.91 kB / 0.4954 GB, free: 8.066 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/0.5922, allocations: 278.5 kB / 0.4957 GB, free: 7.754 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.659e-05/0.5923, allocations: 28.78 kB / 0.4957 GB, free: 7.727 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.469e-05/0.5924, allocations: 36 kB / 0.4957 GB, free: 7.691 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008594/0.5933, allocations: 318.2 kB / 0.496 GB, free: 7.375 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.5933, allocations: 0 / 0.496 GB, free: 7.375 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.782e-05/0.5934, allocations: 16 kB / 0.4961 GB, free: 7.359 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.5934, allocations: 8 kB / 0.4961 GB, free: 7.352 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007935/0.5942, allocations: 261.5 kB / 0.4963 GB, free: 7.098 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003524/0.5977, allocations: 1.348 MB / 0.4976 GB, free: 5.652 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006952/0.5985, allocations: 261.8 kB / 0.4979 GB, free: 5.387 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003684/0.5989, allocations: 153.3 kB / 0.498 GB, free: 5.234 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.32e-05/0.5989, allocations: 4.281 kB / 0.498 GB, free: 5.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.599, allocations: 38.84 kB / 0.4981 GB, free: 5.184 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.266e-06/0.599, allocations: 3.938 kB / 0.4981 GB, free: 5.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007896/0.5998, allocations: 247.8 kB / 0.4983 GB, free: 4.934 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.5998, allocations: 55.41 kB / 0.4984 GB, free: 4.867 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003811/0.6002, allocations: 235.1 kB / 0.4986 GB, free: 4.637 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.6003, allocations: 29.7 kB / 0.4986 GB, free: 4.602 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.6005, allocations: 262.4 kB / 0.4989 GB, free: 4.344 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.6006, allocations: 122.2 kB / 0.499 GB, free: 4.223 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.6007, allocations: 8 kB / 0.499 GB, free: 4.215 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.6008, allocations: 330.8 kB / 0.4993 GB, free: 3.883 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/0.6011, allocations: 84.88 kB / 0.4994 GB, free: 3.797 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003473/0.6015, allocations: 154.7 kB / 0.4995 GB, free: 3.617 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003609/0.6018, allocations: 113.5 kB / 0.4996 GB, free: 3.508 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.6019, allocations: 4 kB / 0.4996 GB, free: 3.504 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008543/0.6027, allocations: 311.2 kB / 0.4999 GB, free: 3.195 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.6028, allocations: 8 kB / 0.4999 GB, free: 3.188 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.6028, allocations: 3.984 kB / 0.5 GB, free: 3.184 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.6028, allocations: 4 kB / 0.5 GB, free: 3.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009751/0.6038, allocations: 104.1 kB / 0.5001 GB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.6038, allocations: 11.88 kB / 0.5001 GB, free: 3.066 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005052/0.6043, allocations: 47.61 kB / 0.5001 GB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/0.6044, allocations: 15.98 kB / 0.5001 GB, free: 3.004 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0001329/0.6045, allocations: 120.9 kB / 0.5002 GB, free: 2.879 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.37e-05/0.6046, allocations: 31.58 kB / 0.5003 GB, free: 2.848 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008422/0.6055, allocations: 300.5 kB / 0.5006 GB, free: 2.547 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.6055, allocations: 4 kB / 0.5006 GB, free: 2.543 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.6055, allocations: 4 kB / 0.5006 GB, free: 2.539 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.6055, allocations: 0 / 0.5006 GB, free: 2.539 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007047/0.6063, allocations: 401.1 kB / 0.5009 GB, free: 2.098 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.6063, allocations: 0 / 0.5009 GB, free: 2.098 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007947/0.6071, allocations: 83.88 kB / 0.501 GB, free: 2.016 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/0.6071, allocations: 3.953 kB / 0.501 GB, free: 2.012 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/0.6072, allocations: 12 kB / 0.501 GB, free: 2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.6072, allocations: 0 / 0.501 GB, free: 2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.6072, allocations: 7.938 kB / 0.5011 GB, free: 1.992 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.6083, allocations: 482.7 kB / 0.5015 GB, free: 1.504 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/0.6085, allocations: 136.6 kB / 0.5016 GB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.482e-05/0.6085, allocations: 7.953 kB / 0.5016 GB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/0.6089, allocations: 12 kB / 0.5017 GB, free: 1.332 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.053e-05/0.609, allocations: 23.95 kB / 0.5017 GB, free: 1.309 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.6091, allocations: 8.062 kB / 0.5017 GB, free: 1.301 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002841/0.6094, allocations: 191.1 kB / 0.5019 GB, free: 1.113 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6094, allocations: 0 / 0.5019 GB, free: 1.113 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005261/0.6099, allocations: 87.84 kB / 0.502 GB, free: 1.027 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001428/0.6114, allocations: 1.013 MB / 0.5029 GB, free: 15.99 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007492/0.6122, allocations: 243.7 kB / 0.5032 GB, free: 15.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6122, allocations: 0 / 0.5032 GB, free: 15.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003329/0.6125, allocations: 124.5 kB / 0.5033 GB, free: 15.63 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.6129, allocations: 28.45 kB / 0.5033 GB, free: 15.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.6151, allocations: 0.6417 MB / 0.504 GB, free: 14.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004957/0.6157, allocations: 0.7991 MB / 0.5047 GB, free: 14.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003554/0.6161, allocations: 119.4 kB / 0.5048 GB, free: 13.97 MB / 442.7 MB Notification: Performance of SimCode: time 1.723e-06/0.6161, allocations: 0 / 0.5048 GB, free: 13.97 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.44/3.056, allocations: 5.201 MB / 0.5099 GB, free: 8.793 MB / 442.7 MB