Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.107/2.107, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.738e-05/2.737e-05, allocations: 4 kB / 267.6 MB, free: 5.328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.101, allocations: 48.7 MB / 316.3 MB, free: 4.535 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4826/0.5836, allocations: 92.13 MB / 408.4 MB, free: 376 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.584, allocations: 78.27 kB / 408.5 MB, free: 336 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3921/0.9761, allocations: 78.15 MB / 486.7 MB, free: 5.457 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.9762, allocations: 4 kB / 486.7 MB, free: 5.453 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001788/0.9764, allocations: 75.94 kB / 486.7 MB, free: 5.379 MB / 410.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.0147/0.9911, allocations: 3.551 MB / 490.3 MB, free: 1.762 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.821e-05/0.9912, allocations: 8.031 kB / 490.3 MB, free: 1.754 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3121/1.303, allocations: 3.377 MB / 493.7 MB, free: 92.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008542/1.312, allocations: 2.334 MB / 496 MB, free: 92.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003457/1.312, allocations: 130.8 kB / 496.1 MB, free: 92.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002311/1.315, allocations: 231 kB / 496.4 MB, free: 92.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01665/1.331, allocations: 6.684 MB / 0.4912 GB, free: 92.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02691/1.358, allocations: 9.984 MB / 0.501 GB, free: 89.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001563/1.358, allocations: 44.44 kB / 0.501 GB, free: 89.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001372/1.36, allocations: 34.66 kB / 0.5011 GB, free: 89.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00232/1.362, allocations: 1.132 MB / 0.5022 GB, free: 89.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06571/1.428, allocations: 45.88 MB / 0.547 GB, free: 58.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004353/1.432, allocations: 2.798 MB / 0.5497 GB, free: 56.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002011/1.434, allocations: 1.022 MB / 0.5507 GB, free: 56.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/1.434, allocations: 26.62 kB / 0.5507 GB, free: 56.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/1.435, allocations: 52.59 kB / 0.5508 GB, free: 56.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 4.478e-06/1.435, allocations: 0 / 0.5508 GB, free: 56.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=179): time 0.006793/1.441, allocations: 2.387 MB / 0.5531 GB, free: 55.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/1.441, allocations: 173.1 kB / 0.5533 GB, free: 55.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00626/1.448, allocations: 3.105 MB / 0.5563 GB, free: 54.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000317/1.448, allocations: 27.67 kB / 0.5563 GB, free: 54.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002413/1.45, allocations: 3.382 MB / 0.5596 GB, free: 51.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009751/1.452, allocations: 0.6944 MB / 0.5603 GB, free: 51.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000546/1.452, allocations: 0 / 0.5603 GB, free: 51.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004485/1.453, allocations: 0.6126 MB / 0.5609 GB, free: 50.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004139/1.457, allocations: 1.906 MB / 0.5628 GB, free: 50.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007052/1.464, allocations: 6.433 MB / 0.5691 GB, free: 43.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007539/1.471, allocations: 3.583 MB / 0.5726 GB, free: 41.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001548/1.472, allocations: 47.66 kB / 0.5726 GB, free: 41.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=925) (initialization): time 0.01959/1.491, allocations: 7.195 MB / 0.5796 GB, free: 37.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000117/1.491, allocations: 77 kB / 0.5797 GB, free: 37.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002013/1.492, allocations: 160 kB / 0.5799 GB, free: 36.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002704/1.492, allocations: 247.4 kB / 0.5801 GB, free: 36.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009272/1.501, allocations: 1.61 MB / 0.5817 GB, free: 35.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000297/1.501, allocations: 317.4 kB / 0.582 GB, free: 34.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00724/1.509, allocations: 0.8186 MB / 0.5828 GB, free: 34.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001496/1.51, allocations: 440.4 kB / 0.5832 GB, free: 33.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 746 * 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 (877): * Single equations (assignments): 871 * 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.001062/1.511, allocations: 498.6 kB / 0.5837 GB, free: 33.24 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004598/1.516, allocations: 2.152 MB / 0.5858 GB, free: 31.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005982/1.517, allocations: 307.9 kB / 0.5861 GB, free: 30.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004327/1.521, allocations: 1.89 MB / 0.5879 GB, free: 29.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.402e-05/1.521, allocations: 43.47 kB / 0.588 GB, free: 29.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/1.521, allocations: 0 / 0.588 GB, free: 29.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-05/1.521, allocations: 7.703 kB / 0.588 GB, free: 29.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/1.535, allocations: 5.748 MB / 0.5936 GB, free: 24.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/1.535, allocations: 8 kB / 0.5936 GB, free: 24.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002055/1.537, allocations: 249 kB / 0.5938 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-05/1.537, allocations: 16 kB / 0.5938 GB, free: 24.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/1.537, allocations: 19.23 kB / 0.5939 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.799e-05/1.537, allocations: 16 kB / 0.5939 GB, free: 24.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.05e-05/1.537, allocations: 19.59 kB / 0.5939 GB, free: 24.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004548/1.541, allocations: 3.61 MB / 0.5974 GB, free: 20.38 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007296/1.542, allocations: 378.9 kB / 0.5978 GB, free: 19.99 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005761/1.543, allocations: 15.61 kB / 0.5978 GB, free: 19.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/1.545, allocations: 48.86 kB / 0.5978 GB, free: 19.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000267/1.545, allocations: 102.1 kB / 0.5979 GB, free: 19.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/1.545, allocations: 52.94 kB / 0.598 GB, free: 19.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003719/1.549, allocations: 2.019 MB / 0.6 GB, free: 18.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.41e-07/1.549, allocations: 4 kB / 0.6 GB, free: 18.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006892/1.556, allocations: 1.018 MB / 0.601 GB, free: 17.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 125 * 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.005453/1.561, allocations: 6.221 MB / 0.607 GB, free: 10.84 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008861/1.57, allocations: 4.387 MB / 0.6113 GB, free: 6.859 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/1.57, allocations: 4 kB / 0.6113 GB, free: 6.855 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001901/1.572, allocations: 1.045 MB / 0.6123 GB, free: 5.902 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/1.574, allocations: 267.2 kB / 0.6126 GB, free: 5.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02537/1.599, allocations: 9.08 MB / 0.6215 GB, free: 13.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0062/1.606, allocations: 3.368 MB / 0.6247 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004341/1.61, allocations: 1.812 MB / 0.6265 GB, free: 9.27 MB / 426.7 MB Notification: Performance of SimCode: time 1.433e-06/1.61, allocations: 0 / 0.6265 GB, free: 9.27 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.206/5.816, allocations: 76.48 MB / 0.7012 GB, free: 74.74 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat does not exist to compare? outputFormat=mat