Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.012/2.012, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.991e-05/4.006e-05, allocations: 0 / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1275, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4752/0.6028, allocations: 92.54 MB / 414.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.6032, allocations: 79.95 kB / 414.5 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3892/0.9924, allocations: 79.82 MB / 494.3 MB, free: 12.46 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.9925, allocations: 0 / 494.3 MB, free: 12.46 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002787/0.9928, allocations: 76 kB / 494.4 MB, free: 12.39 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.03703/1.03, allocations: 3.558 MB / 497.9 MB, free: 8.762 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.517e-05/1.03, allocations: 12.03 kB / 498 MB, free: 8.75 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009379/1.039, allocations: 0.8041 MB / 498.8 MB, free: 7.934 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02731/1.067, allocations: 3.379 MB / 0.4904 GB, free: 4.543 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009369/1.076, allocations: 2.332 MB / 0.4927 GB, free: 2.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005207/1.077, allocations: 312 kB / 0.493 GB, free: 1.852 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002733/1.079, allocations: 399.9 kB / 0.4933 GB, free: 1.461 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3556/1.435, allocations: 10.6 MB / 0.5037 GB, free: 99.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003235/1.435, allocations: 46.25 kB / 0.5037 GB, free: 99.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002562/1.438, allocations: 204.4 kB / 0.5039 GB, free: 99.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003012/1.441, allocations: 1.137 MB / 0.505 GB, free: 99.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02757/1.469, allocations: 9.108 MB / 0.5139 GB, free: 99.35 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07509/1.544, allocations: 46.89 MB / 0.5597 GB, free: 67.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008854/1.553, allocations: 3.444 MB / 0.5631 GB, free: 65.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002944/1.556, allocations: 1.248 MB / 0.5643 GB, free: 64.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01808/1.574, allocations: 5.32 MB / 0.5695 GB, free: 62.19 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.944e-05/1.574, allocations: 46.59 kB / 0.5695 GB, free: 62.14 MB / 426.7 MB Notification: Performance of pre-optimization done (n=153): time 8.476e-06/1.574, allocations: 0 / 0.5695 GB, free: 62.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=153): time 0.01458/1.589, allocations: 2.525 MB / 0.572 GB, free: 61.42 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.119e-05/1.589, allocations: 169.6 kB / 0.5722 GB, free: 61.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01176/1.601, allocations: 3.466 MB / 0.5756 GB, free: 60.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003406/1.601, allocations: 42.27 kB / 0.5756 GB, free: 59.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003865/1.605, allocations: 3.314 MB / 0.5788 GB, free: 57.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001312/1.606, allocations: 0.6218 MB / 0.5794 GB, free: 57.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001056/1.607, allocations: 127.6 kB / 0.5796 GB, free: 57.06 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009242/1.608, allocations: 0.5852 MB / 0.5801 GB, free: 56.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007117/1.616, allocations: 1.902 MB / 0.582 GB, free: 56.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0109/1.626, allocations: 6.105 MB / 0.588 GB, free: 49.65 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/1.637, allocations: 3.488 MB / 0.5914 GB, free: 48.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002305/1.637, allocations: 45.19 kB / 0.5914 GB, free: 48.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=861) (initialization): time 0.02182/1.659, allocations: 7.262 MB / 0.5985 GB, free: 43.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001294/1.659, allocations: 75.8 kB / 0.5986 GB, free: 43.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002412/1.66, allocations: 155.9 kB / 0.5987 GB, free: 43.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002487/1.66, allocations: 223.9 kB / 0.5989 GB, free: 43.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009292/1.669, allocations: 1.502 MB / 0.6004 GB, free: 42.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003025/1.669, allocations: 299 kB / 0.6007 GB, free: 41.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007366/1.677, allocations: 0.9304 MB / 0.6016 GB, free: 40.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001515/1.678, allocations: 412.5 kB / 0.602 GB, free: 40.44 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.001965/1.68, allocations: 0.591 MB / 0.6026 GB, free: 39.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007224/1.681, allocations: 315.9 kB / 0.6029 GB, free: 39.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/1.683, allocations: 421.6 kB / 0.6033 GB, free: 39.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001055/1.683, allocations: 40.17 kB / 0.6033 GB, free: 39.12 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.731e-05/1.683, allocations: 0 / 0.6033 GB, free: 39.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.73e-05/1.683, allocations: 6.938 kB / 0.6033 GB, free: 39.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.016/1.699, allocations: 5.734 MB / 0.6089 GB, free: 34.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.339e-05/1.699, allocations: 4 kB / 0.6089 GB, free: 34.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002011/1.701, allocations: 214 kB / 0.6091 GB, free: 34.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-05/1.701, allocations: 15.94 kB / 0.6091 GB, free: 34.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002209/1.701, allocations: 24 kB / 0.6092 GB, free: 34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.937e-05/1.701, allocations: 27.42 kB / 0.6092 GB, free: 33.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/1.701, allocations: 11.94 kB / 0.6092 GB, free: 33.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004811/1.706, allocations: 3.212 MB / 0.6123 GB, free: 30.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/1.707, allocations: 398.1 kB / 0.6127 GB, free: 30.33 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009741/1.708, allocations: 28.56 kB / 0.6127 GB, free: 30.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002468/1.711, allocations: 69.3 kB / 0.6128 GB, free: 30.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003982/1.711, allocations: 85.08 kB / 0.6129 GB, free: 30.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/1.711, allocations: 45.12 kB / 0.6129 GB, free: 30.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005908/1.717, allocations: 2.346 MB / 0.6152 GB, free: 28.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.303e-06/1.717, allocations: 0 / 0.6152 GB, free: 28.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007403/1.725, allocations: 1.138 MB / 0.6163 GB, free: 26.97 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.005886/1.731, allocations: 5.353 MB / 0.6216 GB, free: 21.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009984/1.741, allocations: 4.183 MB / 0.6256 GB, free: 17.81 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/1.741, allocations: 4.188 kB / 0.6256 GB, free: 17.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00204/1.743, allocations: 0.9471 MB / 0.6266 GB, free: 16.94 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002689/1.746, allocations: 326.4 kB / 0.6269 GB, free: 16.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02853/1.774, allocations: 8.482 MB / 0.6352 GB, free: 9.148 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007487/1.782, allocations: 3.353 MB / 0.6384 GB, free: 6.566 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01066/1.792, allocations: 2.273 MB / 0.6407 GB, free: 5.172 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00435/1.797, allocations: 1.739 MB / 0.6424 GB, free: 3.562 MB / 426.7 MB Notification: Performance of SimCode: time 1.953e-06/1.797, allocations: 0 / 0.6424 GB, free: 3.562 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4859/2.283, allocations: 65.15 MB / 0.706 GB, free: 101.8 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002524/2.283, allocations: 151.1 kB / 0.7061 GB, free: 101.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.716/6.999, allocations: 3.938 kB / 0.7061 GB, free: 101.6 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat does not exist to compare? outputFormat=mat