Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.38/2.38, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.487e-05/3.499e-05, allocations: 4 kB / 305 MB, free: 5.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3959, allocations: 54.86 MB / 359.9 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2837/0.6797, allocations: 99.17 MB / 459 MB, free: 13.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003895/0.6802, allocations: 79.95 kB / 459.1 MB, free: 13.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6853/1.365, allocations: 79.82 MB / 0.5263 GB, free: 106.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.365e-06/1.366, allocations: 0 / 0.5263 GB, free: 106.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002027/1.366, allocations: 82.22 kB / 0.5264 GB, free: 106.8 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1614 * Number of variables: 1614 Notification: Performance of Generate backend data structure: time 0.0144/1.38, allocations: 3.557 MB / 0.5299 GB, free: 105.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.295e-05/1.38, allocations: 9.375 kB / 0.5299 GB, free: 105.4 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004191/1.384, allocations: 0.8083 MB / 0.5306 GB, free: 105.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02683/1.411, allocations: 3.376 MB / 0.5339 GB, free: 105 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009413/1.421, allocations: 2.333 MB / 0.5362 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005674/1.421, allocations: 310 kB / 0.5365 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002794/1.424, allocations: 401.3 kB / 0.5369 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03166/1.456, allocations: 10.62 MB / 0.5473 GB, free: 102 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002165/1.456, allocations: 44.47 kB / 0.5473 GB, free: 102 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001652/1.458, allocations: 199.5 kB / 0.5475 GB, free: 102 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002506/1.46, allocations: 1.142 MB / 0.5486 GB, free: 102 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02401/1.484, allocations: 9.11 MB / 0.5575 GB, free: 101.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07003/1.555, allocations: 46.89 MB / 0.6033 GB, free: 67.36 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008358/1.563, allocations: 3.44 MB / 0.6067 GB, free: 65.39 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002731/1.566, allocations: 1.246 MB / 0.6079 GB, free: 64.94 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01406/1.58, allocations: 5.318 MB / 0.6131 GB, free: 62.15 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/1.58, allocations: 54.5 kB / 0.6131 GB, free: 62.09 MB / 458.7 MB Notification: Performance of pre-optimization done (n=153): time 6.873e-06/1.58, allocations: 0 / 0.6131 GB, free: 62.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=153): time 0.009538/1.59, allocations: 2.526 MB / 0.6156 GB, free: 61.38 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/1.59, allocations: 169.3 kB / 0.6158 GB, free: 61.19 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007774/1.597, allocations: 3.457 MB / 0.6191 GB, free: 58.82 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002838/1.598, allocations: 42.56 kB / 0.6192 GB, free: 58.77 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00284/1.601, allocations: 3.304 MB / 0.6224 GB, free: 55.79 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009618/1.602, allocations: 0.6173 MB / 0.623 GB, free: 55.26 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007372/1.602, allocations: 132.6 kB / 0.6231 GB, free: 55.13 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004794/1.603, allocations: 0.5931 MB / 0.6237 GB, free: 54.61 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004542/1.607, allocations: 1.899 MB / 0.6256 GB, free: 52.88 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007168/1.615, allocations: 6.106 MB / 0.6315 GB, free: 44.94 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0075/1.622, allocations: 3.484 MB / 0.6349 GB, free: 41.94 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001471/1.622, allocations: 47.94 kB / 0.635 GB, free: 41.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=861) (initialization): time 0.01969/1.642, allocations: 7.208 MB / 0.642 GB, free: 35.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/1.642, allocations: 72 kB / 0.6421 GB, free: 35.43 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002336/1.643, allocations: 148 kB / 0.6422 GB, free: 35.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002563/1.643, allocations: 227.6 kB / 0.6424 GB, free: 35.07 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009356/1.652, allocations: 1.499 MB / 0.6439 GB, free: 33.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002862/1.652, allocations: 304.8 kB / 0.6442 GB, free: 33.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007145/1.66, allocations: 0.9322 MB / 0.6451 GB, free: 32.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001348/1.661, allocations: 404 kB / 0.6455 GB, free: 32.18 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 18 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (813): * Single equations (assignments): 807 * Array equations: 6 * 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.001183/1.662, allocations: 0.6001 MB / 0.6461 GB, free: 31.57 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007569/1.663, allocations: 319.7 kB / 0.6464 GB, free: 31.26 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/1.664, allocations: 418.1 kB / 0.6468 GB, free: 30.89 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.614e-05/1.664, allocations: 39.94 kB / 0.6468 GB, free: 30.86 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.878e-05/1.664, allocations: 0 / 0.6468 GB, free: 30.86 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/1.664, allocations: 11.52 kB / 0.6468 GB, free: 30.85 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0142/1.679, allocations: 5.723 MB / 0.6524 GB, free: 25.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.179e-05/1.679, allocations: 11.61 kB / 0.6524 GB, free: 25.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001848/1.681, allocations: 208.9 kB / 0.6526 GB, free: 25.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-05/1.681, allocations: 15.95 kB / 0.6526 GB, free: 25.76 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/1.681, allocations: 28 kB / 0.6527 GB, free: 25.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-05/1.681, allocations: 19.83 kB / 0.6527 GB, free: 25.72 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/1.681, allocations: 8.406 kB / 0.6527 GB, free: 25.71 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004295/1.685, allocations: 3.212 MB / 0.6558 GB, free: 22.46 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009781/1.686, allocations: 394.1 kB / 0.6562 GB, free: 22.07 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000579/1.687, allocations: 24 kB / 0.6562 GB, free: 22.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00196/1.689, allocations: 68.64 kB / 0.6563 GB, free: 22 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002467/1.689, allocations: 88.64 kB / 0.6564 GB, free: 21.94 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/1.689, allocations: 51.28 kB / 0.6564 GB, free: 21.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005459/1.695, allocations: 2.346 MB / 0.6587 GB, free: 19.85 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.683e-06/1.695, allocations: 4 kB / 0.6587 GB, free: 19.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007905/1.703, allocations: 1.129 MB / 0.6598 GB, free: 18.71 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 105 * Array equations: 6 * 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.005737/1.708, allocations: 5.355 MB / 0.6651 GB, free: 13.36 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00931/1.718, allocations: 4.19 MB / 0.6692 GB, free: 9.531 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/1.718, allocations: 4.062 kB / 0.6692 GB, free: 9.527 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001856/1.72, allocations: 0.9349 MB / 0.6701 GB, free: 8.672 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002457/1.722, allocations: 336 kB / 0.6704 GB, free: 8.379 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0287/1.751, allocations: 8.983 MB / 0.6792 GB, free: 15.28 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008073/1.759, allocations: 3.363 MB / 0.6824 GB, free: 11.91 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004875/1.764, allocations: 1.788 MB / 0.6842 GB, free: 10.12 MB / 474.7 MB Notification: Performance of SimCode: time 1.693e-06/1.764, allocations: 4 kB / 0.6842 GB, free: 10.11 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.241/6.005, allocations: 76.52 MB / 0.7589 GB, free: 103.6 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat does not exist to compare? outputFormat=mat