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.973/1.973, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.515e-05/4.535e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1079, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4297/0.5376, allocations: 92.54 MB / 414.4 MB, free: 13.37 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.5379, allocations: 78.98 kB / 414.4 MB, free: 13.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3353/0.8733, allocations: 79.81 MB / 494.3 MB, free: 12.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.8734, allocations: 0 / 494.3 MB, free: 12.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001851/0.8736, allocations: 72 kB / 494.3 MB, free: 12.73 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.01276/0.8863, allocations: 3.562 MB / 497.9 MB, free: 9.098 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.8864, allocations: 8.031 kB / 497.9 MB, free: 9.09 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0028/0.8892, allocations: 0.808 MB / 498.7 MB, free: 8.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02735/0.9166, allocations: 3.375 MB / 0.4903 GB, free: 4.883 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008864/0.9255, allocations: 2.34 MB / 0.4926 GB, free: 2.492 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004925/0.9261, allocations: 308 kB / 0.4929 GB, free: 2.188 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002768/0.9289, allocations: 403.9 kB / 0.4933 GB, free: 1.793 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.309/1.238, allocations: 10.64 MB / 0.5037 GB, free: 99.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002148/1.238, allocations: 47.44 kB / 0.5037 GB, free: 99.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001882/1.24, allocations: 203.1 kB / 0.5039 GB, free: 99.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002927/1.243, allocations: 1.135 MB / 0.505 GB, free: 99.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02759/1.271, allocations: 9.285 MB / 0.5141 GB, free: 99.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07067/1.341, allocations: 46.9 MB / 0.5599 GB, free: 67.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009274/1.351, allocations: 3.453 MB / 0.5633 GB, free: 65.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003163/1.354, allocations: 1.253 MB / 0.5645 GB, free: 64.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02047/1.374, allocations: 5.318 MB / 0.5697 GB, free: 62.13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/1.375, allocations: 50.66 kB / 0.5697 GB, free: 62.08 MB / 426.7 MB Notification: Performance of pre-optimization done (n=153): time 7.204e-06/1.375, allocations: 0 / 0.5697 GB, free: 62.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=153): time 0.01156/1.386, allocations: 2.535 MB / 0.5722 GB, free: 61.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/1.386, allocations: 168.4 kB / 0.5724 GB, free: 61.17 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007448/1.394, allocations: 3.46 MB / 0.5757 GB, free: 59.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003001/1.394, allocations: 48.52 kB / 0.5758 GB, free: 59.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002846/1.397, allocations: 3.294 MB / 0.579 GB, free: 57.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001032/1.398, allocations: 0.6259 MB / 0.5796 GB, free: 57.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007763/1.399, allocations: 134.8 kB / 0.5797 GB, free: 56.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004638/1.399, allocations: 0.5892 MB / 0.5803 GB, free: 56.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004767/1.404, allocations: 1.901 MB / 0.5822 GB, free: 55.94 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007763/1.412, allocations: 6.139 MB / 0.5882 GB, free: 49.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007763/1.42, allocations: 3.496 MB / 0.5916 GB, free: 48.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001787/1.42, allocations: 40.44 kB / 0.5916 GB, free: 48.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=861) (initialization): time 0.02017/1.44, allocations: 7.62 MB / 0.5991 GB, free: 43.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001178/1.44, allocations: 71.95 kB / 0.5991 GB, free: 43.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002065/1.441, allocations: 152 kB / 0.5993 GB, free: 43.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002449/1.441, allocations: 220 kB / 0.5995 GB, free: 42.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008973/1.45, allocations: 1.504 MB / 0.601 GB, free: 41.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002886/1.45, allocations: 297.4 kB / 0.6012 GB, free: 41.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007888/1.458, allocations: 0.9289 MB / 0.6021 GB, free: 40.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001318/1.459, allocations: 408.4 kB / 0.6025 GB, free: 40.05 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.001314/1.461, allocations: 0.5907 MB / 0.6031 GB, free: 39.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006878/1.461, allocations: 319.8 kB / 0.6034 GB, free: 39.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/1.463, allocations: 421.4 kB / 0.6038 GB, free: 38.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.759e-05/1.463, allocations: 36.39 kB / 0.6038 GB, free: 38.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/1.463, allocations: 8 kB / 0.6039 GB, free: 38.72 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/1.463, allocations: 6.844 kB / 0.6039 GB, free: 38.72 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01672/1.479, allocations: 5.743 MB / 0.6095 GB, free: 33.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-05/1.48, allocations: 7.938 kB / 0.6095 GB, free: 33.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001902/1.481, allocations: 219.6 kB / 0.6097 GB, free: 33.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.138e-05/1.482, allocations: 12 kB / 0.6097 GB, free: 33.61 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001483/1.482, allocations: 24.62 kB / 0.6097 GB, free: 33.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.67e-05/1.482, allocations: 20.33 kB / 0.6097 GB, free: 33.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/1.482, allocations: 15.94 kB / 0.6098 GB, free: 33.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004503/1.486, allocations: 3.213 MB / 0.6129 GB, free: 30.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009761/1.487, allocations: 391.7 kB / 0.6133 GB, free: 29.92 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007482/1.488, allocations: 29.83 kB / 0.6133 GB, free: 29.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002248/1.49, allocations: 69.05 kB / 0.6134 GB, free: 29.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003805/1.491, allocations: 85.38 kB / 0.6134 GB, free: 29.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/1.491, allocations: 45.25 kB / 0.6135 GB, free: 29.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005695/1.497, allocations: 2.346 MB / 0.6158 GB, free: 27.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.964e-06/1.497, allocations: 0 / 0.6158 GB, free: 27.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006786/1.503, allocations: 1.141 MB / 0.6169 GB, free: 26.56 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.005623/1.509, allocations: 5.348 MB / 0.6221 GB, free: 21.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009581/1.519, allocations: 4.397 MB / 0.6264 GB, free: 17.19 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/1.519, allocations: 3.938 kB / 0.6264 GB, free: 17.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001887/1.521, allocations: 0.9573 MB / 0.6273 GB, free: 16.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/1.523, allocations: 331.6 kB / 0.6277 GB, free: 16.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02602/1.549, allocations: 8.987 MB / 0.6364 GB, free: 8.094 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006062/1.555, allocations: 3.354 MB / 0.6397 GB, free: 5.508 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00532/1.561, allocations: 1.794 MB / 0.6415 GB, free: 3.844 MB / 426.7 MB Notification: Performance of SimCode: time 1.743e-06/1.561, allocations: 3.938 kB / 0.6415 GB, free: 3.84 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.381/5.941, allocations: 77.59 MB / 0.7172 GB, free: 90.02 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