Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.664/2.664, allocations: 270 MB / 282.6 MB, free: 1.871 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.846e-05/3.845e-05, allocations: 4 kB / 347 MB, free: 3.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3941, allocations: 61.88 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1603/0.5544, allocations: 88.94 MB / 497.9 MB, free: 1.598 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.5548, allocations: 67.97 kB / 497.9 MB, free: 1.531 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01421/0.569, allocations: 2.842 MB / 0.489 GB, free: 14.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5691, allocations: 0 / 0.489 GB, free: 14.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.648e-05/0.5691, allocations: 4 kB / 0.489 GB, free: 14.68 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008716/0.57, allocations: 426.1 kB / 0.4894 GB, free: 14.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.57, allocations: 12.03 kB / 0.4895 GB, free: 14.2 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.79e-05/0.5701, allocations: 46.55 kB / 0.4895 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.714e-05/0.5702, allocations: 15.81 kB / 0.4895 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.5705, allocations: 199.4 kB / 0.4897 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.5705, allocations: 12 kB / 0.4897 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.463e-05/0.5706, allocations: 15.95 kB / 0.4897 GB, free: 13.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004192/0.571, allocations: 157.9 kB / 0.4899 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.5711, allocations: 7.844 kB / 0.4899 GB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.5711, allocations: 8 kB / 0.4899 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.5711, allocations: 4 kB / 0.4899 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003193/0.5715, allocations: 88.45 kB / 0.49 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.5729, allocations: 0.7014 MB / 0.4907 GB, free: 12.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004737/0.5735, allocations: 130.6 kB / 0.4908 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.5736, allocations: 56.84 kB / 0.4908 GB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.5737, allocations: 7.953 kB / 0.4909 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.5737, allocations: 34.59 kB / 0.4909 GB, free: 12.58 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.816e-06/0.5737, allocations: 0 / 0.4909 GB, free: 12.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.001566/0.5753, allocations: 316.8 kB / 0.4912 GB, free: 12.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.5754, allocations: 59.33 kB / 0.4912 GB, free: 12.19 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.5756, allocations: 140 kB / 0.4914 GB, free: 12.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.5757, allocations: 29.7 kB / 0.4914 GB, free: 12.01 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.5758, allocations: 182.8 kB / 0.4916 GB, free: 11.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.828e-05/0.5759, allocations: 63.02 kB / 0.4916 GB, free: 11.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.219e-05/0.5759, allocations: 4 kB / 0.4916 GB, free: 11.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.576, allocations: 330.8 kB / 0.492 GB, free: 11.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.5762, allocations: 44 kB / 0.492 GB, free: 11.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.5764, allocations: 79.52 kB / 0.4921 GB, free: 11.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.5767, allocations: 58.91 kB / 0.4921 GB, free: 11.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5767, allocations: 0 / 0.4921 GB, free: 11.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005097/0.5772, allocations: 177.5 kB / 0.4923 GB, free: 11.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.5772, allocations: 8 kB / 0.4923 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5772, allocations: 0 / 0.4923 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.5773, allocations: 3.953 kB / 0.4923 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000574/0.5779, allocations: 63.89 kB / 0.4924 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.5779, allocations: 0 / 0.4924 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.5782, allocations: 20.08 kB / 0.4924 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.5783, allocations: 8 kB / 0.4924 GB, free: 10.96 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001255/0.5784, allocations: 120.9 kB / 0.4925 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.698e-05/0.5785, allocations: 11.91 kB / 0.4925 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.14e-05/0.5785, allocations: 16.75 kB / 0.4925 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.5786, allocations: 4 kB / 0.4926 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.5786, allocations: 3.953 kB / 0.4926 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.5786, allocations: 3.984 kB / 0.4926 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.5799, allocations: 0.6021 MB / 0.4931 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.58, allocations: 0 / 0.4931 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005316/0.5805, allocations: 47.91 kB / 0.4932 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.5805, allocations: 7.938 kB / 0.4932 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.5806, allocations: 8 kB / 0.4932 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.5806, allocations: 0 / 0.4932 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.5806, allocations: 3.984 kB / 0.4932 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005362/0.5812, allocations: 266 kB / 0.4935 GB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.5813, allocations: 100.9 kB / 0.4936 GB, free: 9.684 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.737e-05/0.5814, allocations: 11.95 kB / 0.4936 GB, free: 9.672 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.5818, allocations: 19.98 kB / 0.4936 GB, free: 9.652 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-05/0.5819, allocations: 15.97 kB / 0.4936 GB, free: 9.637 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.5819, allocations: 8 kB / 0.4936 GB, free: 9.629 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001282/0.582, allocations: 114.3 kB / 0.4937 GB, free: 9.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5821, allocations: 3.938 kB / 0.4937 GB, free: 9.516 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004027/0.5825, allocations: 40 kB / 0.4938 GB, free: 9.477 MB / 426.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 (20): * Single equations (assignments): 20 * 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.0008331/0.5833, allocations: 0.8003 MB / 0.4945 GB, free: 8.652 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004628/0.5838, allocations: 139.9 kB / 0.4947 GB, free: 8.516 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.5838, allocations: 0 / 0.4947 GB, free: 8.516 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.5841, allocations: 75.86 kB / 0.4948 GB, free: 8.441 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.5845, allocations: 23.34 kB / 0.4948 GB, free: 8.422 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.5857, allocations: 297.3 kB / 0.4951 GB, free: 8.086 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.586, allocations: 0.7249 MB / 0.4958 GB, free: 7.332 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.5863, allocations: 47.42 kB / 0.4958 GB, free: 7.285 MB / 426.7 MB Notification: Performance of SimCode: time 1.382e-06/0.5863, allocations: 0 / 0.4958 GB, free: 7.285 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.368/2.954, allocations: 2.776 MB / 0.4985 GB, free: 4.516 MB / 426.7 MB