Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_AbsoluteSensor2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.529/2.529, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.14e-05/4.148e-05, allocations: 7.984 kB / 323.5 MB, free: 4.234 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.419, allocations: 58.84 MB / 382.3 MB, free: 10.35 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1993/0.6183, allocations: 105.4 MB / 487.7 MB, free: 3.082 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.6187, allocations: 75.95 kB / 487.8 MB, free: 3.008 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6922/1.311, allocations: 79.88 MB / 0.5544 GB, free: 112.3 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.585e-06/1.311, allocations: 0 / 0.5544 GB, free: 112.3 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0001742/1.311, allocations: 72 kB / 0.5544 GB, free: 112.3 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1617 * Number of variables: 1617 Notification: Performance of Generate backend data structure: time 0.01329/1.324, allocations: 3.577 MB / 0.5579 GB, free: 110.6 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/1.325, allocations: 7.406 kB / 0.5579 GB, free: 110.6 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003905/1.328, allocations: 0.8066 MB / 0.5587 GB, free: 110.4 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0251/1.354, allocations: 3.374 MB / 0.562 GB, free: 110.1 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008404/1.362, allocations: 2.351 MB / 0.5643 GB, free: 109 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004249/1.363, allocations: 316.8 kB / 0.5646 GB, free: 108.8 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002732/1.365, allocations: 399.1 kB / 0.565 GB, free: 108.8 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02936/1.395, allocations: 10.63 MB / 0.5754 GB, free: 98.88 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002644/1.395, allocations: 47.56 kB / 0.5754 GB, free: 98.83 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002615/1.398, allocations: 200.5 kB / 0.5756 GB, free: 98.67 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002483/1.4, allocations: 1.146 MB / 0.5767 GB, free: 97.52 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02475/1.425, allocations: 9.12 MB / 0.5856 GB, free: 88.39 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07393/1.499, allocations: 46.97 MB / 0.6315 GB, free: 40.14 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008838/1.508, allocations: 3.444 MB / 0.6349 GB, free: 36.42 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002921/1.511, allocations: 1.252 MB / 0.6361 GB, free: 35.15 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01548/1.526, allocations: 5.318 MB / 0.6413 GB, free: 29.72 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/1.526, allocations: 43.12 kB / 0.6413 GB, free: 29.67 MB / 458.8 MB Notification: Performance of pre-optimization done (n=153): time 6.662e-06/1.527, allocations: 0 / 0.6413 GB, free: 29.67 MB / 458.8 MB Notification: Performance of matching and sorting (n=153): time 0.01025/1.537, allocations: 2.534 MB / 0.6438 GB, free: 27.13 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.323e-05/1.537, allocations: 166.7 kB / 0.644 GB, free: 26.93 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009717/1.547, allocations: 3.484 MB / 0.6474 GB, free: 23.46 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003343/1.547, allocations: 45.7 kB / 0.6474 GB, free: 23.41 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003008/1.55, allocations: 3.332 MB / 0.6507 GB, free: 20.08 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001089/1.551, allocations: 0.6211 MB / 0.6513 GB, free: 19.47 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009124/1.552, allocations: 128 kB / 0.6514 GB, free: 19.34 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0006704/1.553, allocations: 0.5909 MB / 0.652 GB, free: 18.75 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005132/1.558, allocations: 1.903 MB / 0.6538 GB, free: 16.84 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007862/1.566, allocations: 6.125 MB / 0.6598 GB, free: 8.574 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007682/1.574, allocations: 3.493 MB / 0.6632 GB, free: 5.082 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001612/1.574, allocations: 44 kB / 0.6633 GB, free: 5.039 MB / 458.8 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.021/1.595, allocations: 7.292 MB / 0.6704 GB, free: 13.74 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001512/1.595, allocations: 80.02 kB / 0.6705 GB, free: 13.66 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003078/1.595, allocations: 152 kB / 0.6706 GB, free: 13.52 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003376/1.596, allocations: 220 kB / 0.6708 GB, free: 13.3 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009833/1.606, allocations: 1.505 MB / 0.6723 GB, free: 11.79 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004138/1.606, allocations: 298.8 kB / 0.6726 GB, free: 11.5 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007706/1.614, allocations: 0.9345 MB / 0.6735 GB, free: 10.56 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0017/1.616, allocations: 412 kB / 0.6739 GB, free: 10.16 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 696 * Number of states: 0 () * Number of discrete variables: 21 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (816): * Single equations (assignments): 810 * 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.002293/1.618, allocations: 0.5963 MB / 0.6745 GB, free: 9.551 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008493/1.619, allocations: 319.8 kB / 0.6748 GB, free: 9.234 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001682/1.621, allocations: 428.2 kB / 0.6752 GB, free: 8.816 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001242/1.621, allocations: 35.98 kB / 0.6752 GB, free: 8.781 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.612e-05/1.621, allocations: 4 kB / 0.6752 GB, free: 8.777 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.788e-05/1.621, allocations: 3.984 kB / 0.6752 GB, free: 8.773 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01949/1.64, allocations: 5.738 MB / 0.6808 GB, free: 2.93 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-05/1.64, allocations: 12.45 kB / 0.6808 GB, free: 2.918 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002136/1.643, allocations: 215.6 kB / 0.681 GB, free: 2.707 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.351e-05/1.643, allocations: 19.62 kB / 0.681 GB, free: 2.691 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002857/1.643, allocations: 24 kB / 0.6811 GB, free: 2.668 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.83e-05/1.643, allocations: 19.94 kB / 0.6811 GB, free: 2.648 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.068e-05/1.643, allocations: 15.88 kB / 0.6811 GB, free: 2.633 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006403/1.649, allocations: 3.221 MB / 0.6842 GB, free: 15.19 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/1.651, allocations: 392.5 kB / 0.6846 GB, free: 14.79 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001165/1.652, allocations: 24 kB / 0.6846 GB, free: 14.76 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002542/1.654, allocations: 75.11 kB / 0.6847 GB, free: 14.69 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005021/1.655, allocations: 76.38 kB / 0.6848 GB, free: 14.61 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001667/1.655, allocations: 51.94 kB / 0.6848 GB, free: 14.56 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.007083/1.662, allocations: 2.364 MB / 0.6871 GB, free: 12.21 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.242e-06/1.662, allocations: 0 / 0.6871 GB, free: 12.21 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.008096/1.67, allocations: 1.14 MB / 0.6883 GB, free: 11.07 MB / 490.8 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.007988/1.679, allocations: 5.374 MB / 0.6935 GB, free: 5.5 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01202/1.691, allocations: 4.199 MB / 0.6976 GB, free: 1.34 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/1.691, allocations: 0.5 kB / 0.6976 GB, free: 1.34 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002483/1.693, allocations: 0.9384 MB / 0.6985 GB, free: 416 kB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002937/1.696, allocations: 344.4 kB / 0.6989 GB, free: 72 kB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03258/1.729, allocations: 8.505 MB / 0.7072 GB, free: 7.414 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009079/1.738, allocations: 3.366 MB / 0.7104 GB, free: 4.016 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.0116/1.75, allocations: 2.279 MB / 0.7127 GB, free: 1.727 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3566/2.106, allocations: 1.747 MB / 0.7144 GB, free: 139.8 MB / 0.4949 GB Notification: Performance of SimCode: time 2.184e-06/2.106, allocations: 0 / 0.7144 GB, free: 139.8 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1488/2.255, allocations: 65.5 MB / 0.7783 GB, free: 110.1 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002429/2.255, allocations: 163.1 kB / 0.7785 GB, free: 109.8 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.535/6.791, allocations: 3.938 kB / 0.7785 GB, free: 109.8 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2_res.mat does not exist to compare? outputFormat=mat