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 1.902/1.902, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.557e-05/3.577e-05, allocations: 4 kB / 273.2 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1037, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.424/0.5278, allocations: 92.53 MB / 414.4 MB, free: 13.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.5281, allocations: 78.91 kB / 414.5 MB, free: 13.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3337/0.8618, allocations: 79.81 MB / 494.3 MB, free: 12.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.8618, allocations: 0 / 494.3 MB, free: 12.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001939/0.862, allocations: 75.94 kB / 494.4 MB, free: 12.68 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: 1614 * Number of variables: 1614 Notification: Performance of Generate backend data structure: time 0.01318/0.8752, allocations: 3.558 MB / 497.9 MB, free: 9.055 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.8753, allocations: 12.03 kB / 497.9 MB, free: 9.043 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003755/0.8791, allocations: 0.8041 MB / 498.7 MB, free: 8.227 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02569/0.9048, allocations: 3.383 MB / 0.4903 GB, free: 4.832 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008884/0.9137, allocations: 2.332 MB / 0.4926 GB, free: 2.449 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004914/0.9143, allocations: 312 kB / 0.4929 GB, free: 2.141 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002515/0.9168, allocations: 403.8 kB / 0.4933 GB, free: 1.746 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3302/1.247, allocations: 10.6 MB / 0.5037 GB, free: 99.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000228/1.247, allocations: 45.47 kB / 0.5037 GB, free: 99.24 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002026/1.249, allocations: 207.2 kB / 0.5039 GB, free: 99.24 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002826/1.252, allocations: 1.131 MB / 0.505 GB, free: 99.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02678/1.279, allocations: 9.11 MB / 0.5139 GB, free: 99.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07008/1.349, allocations: 46.89 MB / 0.5597 GB, free: 67.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008455/1.358, allocations: 3.443 MB / 0.5631 GB, free: 65.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002706/1.361, allocations: 1.25 MB / 0.5643 GB, free: 64.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.014/1.375, allocations: 5.315 MB / 0.5695 GB, free: 62.13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/1.375, allocations: 49.66 kB / 0.5695 GB, free: 62.08 MB / 426.7 MB Notification: Performance of pre-optimization done (n=153): time 5.43e-06/1.375, allocations: 7.312 kB / 0.5695 GB, free: 62.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=153): time 0.009676/1.384, allocations: 2.523 MB / 0.572 GB, free: 61.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.948e-05/1.384, allocations: 169 kB / 0.5721 GB, free: 61.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008061/1.393, allocations: 3.462 MB / 0.5755 GB, free: 59.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003076/1.393, allocations: 42.16 kB / 0.5756 GB, free: 59.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002646/1.396, allocations: 3.301 MB / 0.5788 GB, free: 57.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009188/1.397, allocations: 0.6213 MB / 0.5794 GB, free: 57.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006981/1.397, allocations: 124.6 kB / 0.5795 GB, free: 56.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000437/1.398, allocations: 0.5981 MB / 0.5801 GB, free: 56.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004434/1.402, allocations: 1.894 MB / 0.5819 GB, free: 55.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007161/1.409, allocations: 6.115 MB / 0.5879 GB, free: 49.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007155/1.417, allocations: 3.483 MB / 0.5913 GB, free: 48.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001553/1.417, allocations: 49.75 kB / 0.5914 GB, free: 48.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=861) (initialization): time 0.01861/1.435, allocations: 7.192 MB / 0.5984 GB, free: 44.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/1.436, allocations: 80.02 kB / 0.5985 GB, free: 43.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001966/1.436, allocations: 152 kB / 0.5986 GB, free: 43.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002427/1.436, allocations: 220 kB / 0.5988 GB, free: 43.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008596/1.445, allocations: 1.504 MB / 0.6003 GB, free: 42.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002751/1.445, allocations: 296.7 kB / 0.6006 GB, free: 41.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007028/1.452, allocations: 0.9245 MB / 0.6015 GB, free: 41.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001549/1.454, allocations: 412.8 kB / 0.6019 GB, free: 40.68 MB / 426.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.001406/1.455, allocations: 0.5967 MB / 0.6025 GB, free: 40.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007226/1.456, allocations: 315.8 kB / 0.6028 GB, free: 39.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/1.457, allocations: 427.2 kB / 0.6032 GB, free: 39.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-05/1.457, allocations: 35.91 kB / 0.6032 GB, free: 39.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.801e-05/1.457, allocations: 4 kB / 0.6032 GB, free: 39.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/1.457, allocations: 3.469 kB / 0.6032 GB, free: 39.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01417/1.472, allocations: 5.732 MB / 0.6088 GB, free: 34.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/1.472, allocations: 8 kB / 0.6088 GB, free: 34.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001862/1.474, allocations: 207.2 kB / 0.609 GB, free: 34.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.258e-05/1.474, allocations: 12 kB / 0.609 GB, free: 34.26 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/1.474, allocations: 31.61 kB / 0.6091 GB, free: 34.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.766e-05/1.474, allocations: 23.72 kB / 0.6091 GB, free: 34.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.467e-06/1.474, allocations: 11.94 kB / 0.6091 GB, free: 34.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004294/1.478, allocations: 3.212 MB / 0.6122 GB, free: 30.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000908/1.479, allocations: 402.6 kB / 0.6126 GB, free: 30.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005382/1.48, allocations: 25.33 kB / 0.6126 GB, free: 30.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001859/1.481, allocations: 61.86 kB / 0.6127 GB, free: 30.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/1.482, allocations: 94.8 kB / 0.6128 GB, free: 30.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/1.482, allocations: 42.19 kB / 0.6128 GB, free: 30.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005267/1.487, allocations: 2.347 MB / 0.6151 GB, free: 28.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.61e-07/1.487, allocations: 0 / 0.6151 GB, free: 28.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006974/1.494, allocations: 1.128 MB / 0.6162 GB, free: 27.21 MB / 426.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.005175/1.499, allocations: 5.355 MB / 0.6214 GB, free: 21.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009239/1.509, allocations: 4.189 MB / 0.6255 GB, free: 18.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/1.509, allocations: 3.844 kB / 0.6255 GB, free: 18.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001905/1.511, allocations: 0.9435 MB / 0.6265 GB, free: 17.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002492/1.513, allocations: 328.7 kB / 0.6268 GB, free: 16.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03552/1.549, allocations: 8.979 MB / 0.6355 GB, free: 8.969 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008903/1.558, allocations: 3.354 MB / 0.6388 GB, free: 6.387 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005743/1.564, allocations: 1.799 MB / 0.6406 GB, free: 4.719 MB / 426.7 MB Notification: Performance of SimCode: time 1.513e-06/1.564, allocations: 0 / 0.6406 GB, free: 4.719 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.136/5.699, allocations: 76.53 MB / 0.7153 GB, free: 90.59 MB / 442.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