Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.EngineGasForce,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_EngineGasForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.752/2.752, allocations: 270 MB / 283.6 MB, free: 1.879 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.153e-05/5.164e-05, allocations: 8 kB / 348.5 MB, free: 2.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.418, allocations: 61.87 MB / 410.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1792/0.5972, allocations: 88.94 MB / 499.3 MB, free: 1.539 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.5975, allocations: 71.95 kB / 499.4 MB, free: 1.469 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01396/0.6115, allocations: 2.843 MB / 0.4904 GB, free: 14.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6115, allocations: 3.828 kB / 0.4904 GB, free: 14.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.6116, allocations: 0 / 0.4904 GB, free: 14.61 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.0008982/0.6125, allocations: 426.1 kB / 0.4909 GB, free: 14.15 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.6125, allocations: 8.031 kB / 0.4909 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.666e-05/0.6126, allocations: 46.56 kB / 0.4909 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.771e-05/0.6127, allocations: 15.81 kB / 0.4909 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.613, allocations: 207.4 kB / 0.4911 GB, free: 13.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.6131, allocations: 12 kB / 0.4911 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.484e-05/0.6131, allocations: 19.94 kB / 0.4911 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004198/0.6135, allocations: 149.9 kB / 0.4913 GB, free: 13.63 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.6136, allocations: 3.906 kB / 0.4913 GB, free: 13.63 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.6136, allocations: 4 kB / 0.4913 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.6136, allocations: 8 kB / 0.4913 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003119/0.614, allocations: 96.44 kB / 0.4914 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.6153, allocations: 0.6858 MB / 0.4921 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004362/0.6158, allocations: 130.6 kB / 0.4922 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.616, allocations: 56.86 kB / 0.4922 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.616, allocations: 3.953 kB / 0.4922 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.6161, allocations: 38.56 kB / 0.4923 GB, free: 12.53 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 3.446e-06/0.6161, allocations: 0 / 0.4923 GB, free: 12.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.001499/0.6176, allocations: 312.8 kB / 0.4926 GB, free: 12.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.6177, allocations: 59.41 kB / 0.4926 GB, free: 12.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.6179, allocations: 139.8 kB / 0.4928 GB, free: 12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.6179, allocations: 33.7 kB / 0.4928 GB, free: 11.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.147e-05/0.618, allocations: 116.3 kB / 0.4929 GB, free: 11.84 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.477e-05/0.6181, allocations: 71 kB / 0.493 GB, free: 11.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-05/0.6182, allocations: 3.938 kB / 0.493 GB, free: 11.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.6183, allocations: 326.8 kB / 0.4933 GB, free: 11.44 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.6185, allocations: 44 kB / 0.4933 GB, free: 11.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.6187, allocations: 87.52 kB / 0.4934 GB, free: 11.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.6189, allocations: 59.91 kB / 0.4935 GB, free: 11.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6189, allocations: 0 / 0.4935 GB, free: 11.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005129/0.6194, allocations: 175.9 kB / 0.4937 GB, free: 11.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.6195, allocations: 8 kB / 0.4937 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.6195, allocations: 3.984 kB / 0.4937 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.6195, allocations: 8.031 kB / 0.4937 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005467/0.6201, allocations: 63.91 kB / 0.4937 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.6201, allocations: 0 / 0.4937 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002965/0.6204, allocations: 15.98 kB / 0.4937 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.694e-05/0.6205, allocations: 8 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.0001371/0.6206, allocations: 120.9 kB / 0.4939 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/0.6207, allocations: 15.81 kB / 0.4939 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.055e-05/0.6208, allocations: 28.73 kB / 0.4939 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.6208, allocations: 4 kB / 0.4939 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.6208, allocations: 3.953 kB / 0.4939 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.6208, allocations: 0 / 0.4939 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.6222, allocations: 0.5925 MB / 0.4945 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.6222, allocations: 0 / 0.4945 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004857/0.6227, allocations: 51.89 kB / 0.4945 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/0.6227, allocations: 4 kB / 0.4946 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.6228, allocations: 8 kB / 0.4946 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.6228, allocations: 0 / 0.4946 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.6228, allocations: 0 / 0.4946 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000559/0.6234, allocations: 273.3 kB / 0.4948 GB, free: 9.789 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.6236, allocations: 101 kB / 0.4949 GB, free: 9.672 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/0.6236, allocations: 7.953 kB / 0.4949 GB, free: 9.664 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/0.624, allocations: 15.98 kB / 0.4949 GB, free: 9.648 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9e-05/0.6241, allocations: 15.98 kB / 0.495 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/0.6241, allocations: 7.984 kB / 0.495 GB, free: 9.625 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001323/0.6243, allocations: 121.7 kB / 0.4951 GB, free: 9.508 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6243, allocations: 0 / 0.4951 GB, free: 9.508 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003937/0.6247, allocations: 36 kB / 0.4951 GB, free: 9.473 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.0009114/0.6256, allocations: 0.7988 MB / 0.4959 GB, free: 8.648 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004677/0.6261, allocations: 144.9 kB / 0.496 GB, free: 8.508 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.6261, allocations: 0 / 0.496 GB, free: 8.508 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.6264, allocations: 79.81 kB / 0.4961 GB, free: 8.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.6267, allocations: 19.92 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.00112/0.6279, allocations: 273.4 kB / 0.4964 GB, free: 8.105 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.6283, allocations: 0.7249 MB / 0.4971 GB, free: 7.352 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003448/0.6286, allocations: 29.19 kB / 0.4971 GB, free: 7.324 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.6288, allocations: 47.42 kB / 0.4972 GB, free: 7.277 MB / 426.7 MB Notification: Performance of SimCode: time 1.222e-06/0.6288, allocations: 0 / 0.4972 GB, free: 7.277 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02522/0.654, allocations: 3.291 MB / 0.5004 GB, free: 4.082 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003376/0.6544, allocations: 150 kB / 0.5005 GB, free: 3.859 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.38/3.034, allocations: 4 kB / 0.5005 GB, free: 3.855 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.EngineGasForce_res.mat does not exist to compare? outputFormat=mat