Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.726/1.726, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.02e-05/4.037e-05, allocations: 4 kB / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.259, allocations: 38.76 MB / 263.8 MB, free: 9.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1215/0.3806, allocations: 67.43 MB / 331.3 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.381, allocations: 71.95 kB / 331.3 MB, free: 6.258 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01088/0.3919, allocations: 2.498 MB / 333.8 MB, free: 3.754 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3919, allocations: 0 / 333.8 MB, free: 3.754 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.3919, allocations: 0 / 333.8 MB, free: 3.754 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000665/0.3926, allocations: 426.2 kB / 334.2 MB, free: 3.293 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.3927, allocations: 11.97 kB / 334.2 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.486e-05/0.3928, allocations: 50.55 kB / 334.3 MB, free: 3.223 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.3928, allocations: 15.81 kB / 334.3 MB, free: 3.207 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.3931, allocations: 194.8 kB / 334.5 MB, free: 2.977 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.3931, allocations: 16 kB / 334.5 MB, free: 2.961 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.648e-05/0.3932, allocations: 15.95 kB / 334.5 MB, free: 2.945 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.3936, allocations: 141.1 kB / 334.7 MB, free: 2.801 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.3936, allocations: 4 kB / 334.7 MB, free: 2.797 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.3936, allocations: 4 kB / 334.7 MB, free: 2.793 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.3936, allocations: 4 kB / 334.7 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.3939, allocations: 75.98 kB / 334.8 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.3951, allocations: 0.5329 MB / 335.3 MB, free: 2.125 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.3953, allocations: 74.5 kB / 335.4 MB, free: 2.043 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.231e-05/0.3954, allocations: 24.86 kB / 335.4 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.3955, allocations: 8 kB / 335.4 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.3955, allocations: 30.56 kB / 335.4 MB, free: 1.969 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 2.815e-06/0.3955, allocations: 0 / 335.4 MB, free: 1.969 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.001103/0.3966, allocations: 0.5477 MB / 336 MB, free: 1.328 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.3967, allocations: 63.34 kB / 336 MB, free: 1.254 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.3968, allocations: 123.8 kB / 336.2 MB, free: 1.125 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.3969, allocations: 25.7 kB / 336.2 MB, free: 1.094 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.397, allocations: 206.3 kB / 336.4 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/0.3971, allocations: 39.36 kB / 336.4 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.3971, allocations: 4 kB / 336.4 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3972, allocations: 326.8 kB / 336.7 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.246e-05/0.3973, allocations: 24 kB / 336.8 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.3975, allocations: 84.41 kB / 336.9 MB, free: 400 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.3976, allocations: 39.92 kB / 336.9 MB, free: 360 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3976, allocations: 4 kB / 336.9 MB, free: 356 kB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003408/0.398, allocations: 134.2 kB / 337 MB, free: 216 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.868e-05/0.398, allocations: 4 kB / 337 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.398, allocations: 4 kB / 337 MB, free: 208 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3981, allocations: 3.953 kB / 337 MB, free: 204 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.3984, allocations: 40.06 kB / 337.1 MB, free: 164 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.3984, allocations: 7.875 kB / 337.1 MB, free: 156 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.3986, allocations: 16.19 kB / 337.1 MB, free: 140 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.3986, allocations: 4 kB / 337.1 MB, free: 136 kB / 282.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 (19): * Single equations (assignments): 19 * 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 9.555e-05/0.3987, allocations: 109 kB / 337.2 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.3988, allocations: 7.906 kB / 337.2 MB, free: 12 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.529e-05/0.3988, allocations: 16.69 kB / 337.2 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3989, allocations: 4 kB / 337.2 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.3989, allocations: 4 kB / 337.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3989, allocations: 7.922 kB / 337.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007648/0.3997, allocations: 436 kB / 337.7 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.3997, allocations: 0 / 337.7 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.3999, allocations: 31.94 kB / 337.7 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.4, allocations: 0 / 337.7 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.4, allocations: 4 kB / 337.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.4, allocations: 3.938 kB / 337.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.4, allocations: 8.062 kB / 337.7 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.4004, allocations: 264.4 kB / 338 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.649e-05/0.4005, allocations: 93.03 kB / 338.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.4006, allocations: 64 / 338.1 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.4007, allocations: 11.98 kB / 338.1 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.962e-05/0.4008, allocations: 8 kB / 338.1 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.4008, allocations: 4 kB / 338.1 MB, free: 15.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.672e-05/0.4009, allocations: 98.36 kB / 338.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4009, allocations: 0 / 338.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003725/0.4013, allocations: 28 kB / 338.2 MB, free: 14.89 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.000914/0.4022, allocations: 0.933 MB / 339.2 MB, free: 13.92 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003039/0.4026, allocations: 76.3 kB / 339.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4026, allocations: 4 kB / 339.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.779e-05/0.4027, allocations: 40.16 kB / 339.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.4031, allocations: 15.94 kB / 339.3 MB, free: 13.79 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.4043, allocations: 371.1 kB / 339.6 MB, free: 13.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.4047, allocations: 0.7238 MB / 340.4 MB, free: 12.62 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.4048, allocations: 35.42 kB / 340.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of SimCode: time 1.773e-06/0.4048, allocations: 0 / 340.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.544/2.949, allocations: 2.044 MB / 342.4 MB, free: 10.55 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.Sensors_res.mat does not exist to compare? outputFormat=mat