Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.588/2.588, allocations: 270 MB / 283.6 MB, free: 1.895 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.668e-05/3.675e-05, allocations: 0 / 348.5 MB, free: 2.641 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4005, allocations: 61.87 MB / 410.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.166/0.5666, allocations: 88.94 MB / 499.3 MB, free: 1.543 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.5669, allocations: 71.91 kB / 499.4 MB, free: 1.473 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01464/0.5816, allocations: 2.839 MB / 0.4904 GB, free: 14.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5817, allocations: 0 / 0.4904 GB, free: 14.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.717e-05/0.5817, allocations: 4 kB / 0.4904 GB, free: 14.62 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.0008794/0.5826, allocations: 426 kB / 0.4909 GB, free: 14.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.5826, allocations: 8.031 kB / 0.4909 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.19e-05/0.5827, allocations: 46.55 kB / 0.4909 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.69e-05/0.5828, allocations: 15.81 kB / 0.4909 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.5831, allocations: 199.5 kB / 0.4911 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.5832, allocations: 19.94 kB / 0.4911 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.715e-05/0.5832, allocations: 15.95 kB / 0.4911 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004037/0.5836, allocations: 153.9 kB / 0.4913 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.5837, allocations: 11.83 kB / 0.4913 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.246e-05/0.5837, allocations: 4 kB / 0.4913 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.5837, allocations: 4 kB / 0.4913 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003151/0.5841, allocations: 92.39 kB / 0.4914 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001451/0.5855, allocations: 0.6975 MB / 0.4921 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004579/0.586, allocations: 130.6 kB / 0.4922 GB, free: 12.63 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.5862, allocations: 48.86 kB / 0.4922 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.038e-05/0.5863, allocations: 7.953 kB / 0.4923 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.5863, allocations: 38.5 kB / 0.4923 GB, free: 12.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 3.427e-06/0.5863, allocations: 0 / 0.4923 GB, free: 12.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.001561/0.5879, allocations: 320.8 kB / 0.4926 GB, free: 12.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.321e-05/0.588, allocations: 55.41 kB / 0.4927 GB, free: 12.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.5882, allocations: 135.8 kB / 0.4928 GB, free: 12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.908e-05/0.5883, allocations: 33.7 kB / 0.4928 GB, free: 11.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.917e-05/0.5884, allocations: 116.3 kB / 0.4929 GB, free: 11.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.748e-05/0.5885, allocations: 71 kB / 0.493 GB, free: 11.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.5885, allocations: 4 kB / 0.493 GB, free: 11.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.5887, allocations: 326.8 kB / 0.4933 GB, free: 11.44 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.5889, allocations: 48 kB / 0.4934 GB, free: 11.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.5891, allocations: 83.39 kB / 0.4934 GB, free: 11.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.5894, allocations: 59.06 kB / 0.4935 GB, free: 11.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.5894, allocations: 3.938 kB / 0.4935 GB, free: 11.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005684/0.59, allocations: 181.5 kB / 0.4937 GB, free: 11.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.59, allocations: 8 kB / 0.4937 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.59, allocations: 0 / 0.4937 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.5901, allocations: 7.953 kB / 0.4937 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005911/0.5907, allocations: 47.97 kB / 0.4937 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.5907, allocations: 4.094 kB / 0.4937 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/0.591, allocations: 23.98 kB / 0.4938 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.5911, allocations: 4 kB / 0.4938 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.0001596/0.5913, allocations: 128.8 kB / 0.4939 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.371e-05/0.5914, allocations: 19.75 kB / 0.4939 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.039e-05/0.5914, allocations: 16.75 kB / 0.4939 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.5915, allocations: 4 kB / 0.4939 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.5915, allocations: 7.953 kB / 0.4939 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.5915, allocations: 0 / 0.4939 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.593, allocations: 0.6029 MB / 0.4945 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.593, allocations: 0 / 0.4945 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005077/0.5936, allocations: 47.97 kB / 0.4946 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/0.5936, allocations: 4 kB / 0.4946 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.5936, allocations: 0 / 0.4946 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.5936, allocations: 0 / 0.4946 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5937, allocations: 0 / 0.4946 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000586/0.5943, allocations: 275.2 kB / 0.4948 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.5944, allocations: 112.9 kB / 0.4949 GB, free: 9.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.627e-05/0.5945, allocations: 7.953 kB / 0.4949 GB, free: 9.652 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.5949, allocations: 19.98 kB / 0.495 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.595, allocations: 11.97 kB / 0.495 GB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.5951, allocations: 8 kB / 0.495 GB, free: 9.613 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001393/0.5952, allocations: 113.7 kB / 0.4951 GB, free: 9.504 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5952, allocations: 0 / 0.4951 GB, free: 9.504 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004283/0.5957, allocations: 40 kB / 0.4951 GB, free: 9.465 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.0009232/0.5966, allocations: 0.8095 MB / 0.4959 GB, free: 8.633 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005281/0.5972, allocations: 135.9 kB / 0.496 GB, free: 8.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.5972, allocations: 0 / 0.496 GB, free: 8.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002189/0.5974, allocations: 67.94 kB / 0.4961 GB, free: 8.434 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.5979, allocations: 24.17 kB / 0.4961 GB, free: 8.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.5991, allocations: 276 kB / 0.4964 GB, free: 8.102 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.5995, allocations: 0.7249 MB / 0.4971 GB, free: 7.348 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003802/0.5999, allocations: 25.2 kB / 0.4971 GB, free: 7.324 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.6001, allocations: 47.42 kB / 0.4972 GB, free: 7.277 MB / 426.7 MB Notification: Performance of SimCode: time 1.933e-06/0.6001, allocations: 0 / 0.4972 GB, free: 7.277 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/0.6329, allocations: 3.293 MB / 0.5004 GB, free: 4.078 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003993/0.6334, allocations: 145.3 kB / 0.5005 GB, free: 3.859 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/3.048, allocations: 3.938 kB / 0.5005 GB, free: 3.855 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat does not exist to compare? outputFormat=mat