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.211/2.211, allocations: 209.4 MB / 216.5 MB, free: 6.676 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.602e-05/2.603e-05, allocations: 0 / 267.6 MB, free: 4.949 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1161, allocations: 48.69 MB / 316.3 MB, free: 4.16 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4459/0.5621, allocations: 92.1 MB / 408.4 MB, free: 484 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/0.5625, allocations: 80.17 kB / 408.5 MB, free: 444 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3387/0.9012, allocations: 78.15 MB / 486.7 MB, free: 5.254 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.9013, allocations: 0 / 486.7 MB, free: 5.254 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002094/0.9015, allocations: 79.94 kB / 486.7 MB, free: 5.176 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.01292/0.9144, allocations: 3.551 MB / 490.3 MB, free: 1.559 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.9145, allocations: 11.97 kB / 490.3 MB, free: 1.547 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3027/1.217, allocations: 3.372 MB / 493.7 MB, free: 93.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009331/1.227, allocations: 2.331 MB / 496 MB, free: 93.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003406/1.227, allocations: 134.5 kB / 496.1 MB, free: 93.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002664/1.23, allocations: 231.1 kB / 496.4 MB, free: 93.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01851/1.248, allocations: 6.685 MB / 0.4913 GB, free: 93.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02841/1.277, allocations: 9.983 MB / 0.501 GB, free: 90.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00025/1.277, allocations: 49.59 kB / 0.501 GB, free: 90.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002409/1.279, allocations: 30.84 kB / 0.5011 GB, free: 90.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002463/1.282, allocations: 1.142 MB / 0.5022 GB, free: 90.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06849/1.351, allocations: 45.88 MB / 0.547 GB, free: 59.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004468/1.355, allocations: 2.787 MB / 0.5497 GB, free: 57.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002209/1.357, allocations: 1.027 MB / 0.5507 GB, free: 57.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001898/1.358, allocations: 22.91 kB / 0.5507 GB, free: 57.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/1.358, allocations: 53.47 kB / 0.5508 GB, free: 57.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 6.041e-06/1.358, allocations: 0 / 0.5508 GB, free: 57.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=179): time 0.007311/1.365, allocations: 2.391 MB / 0.5531 GB, free: 56.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.21e-05/1.365, allocations: 169 kB / 0.5533 GB, free: 56.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006924/1.372, allocations: 3.111 MB / 0.5563 GB, free: 55.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003235/1.372, allocations: 25.7 kB / 0.5564 GB, free: 55.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002928/1.375, allocations: 3.361 MB / 0.5596 GB, free: 52.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001065/1.376, allocations: 0.6904 MB / 0.5603 GB, free: 52.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007263/1.377, allocations: 0 / 0.5603 GB, free: 52.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005788/1.378, allocations: 0.6582 MB / 0.561 GB, free: 51.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004315/1.382, allocations: 1.902 MB / 0.5628 GB, free: 51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007259/1.389, allocations: 6.439 MB / 0.5691 GB, free: 44.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007625/1.397, allocations: 3.58 MB / 0.5726 GB, free: 42.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001514/1.397, allocations: 49.75 kB / 0.5726 GB, free: 42.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=925) (initialization): time 0.01866/1.416, allocations: 7.241 MB / 0.5797 GB, free: 37.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/1.416, allocations: 72 kB / 0.5798 GB, free: 37.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001982/1.416, allocations: 164 kB / 0.5799 GB, free: 37.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002528/1.417, allocations: 240 kB / 0.5802 GB, free: 37.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009265/1.426, allocations: 1.612 MB / 0.5817 GB, free: 36.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002598/1.426, allocations: 320.4 kB / 0.582 GB, free: 35.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007059/1.433, allocations: 0.8158 MB / 0.5828 GB, free: 35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001559/1.435, allocations: 444.4 kB / 0.5833 GB, free: 34.57 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.001967/1.437, allocations: 490.6 kB / 0.5837 GB, free: 34.08 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004913/1.442, allocations: 2.152 MB / 0.5858 GB, free: 32.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006585/1.443, allocations: 304 kB / 0.5861 GB, free: 31.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004286/1.447, allocations: 1.902 MB / 0.588 GB, free: 30.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.059e-05/1.447, allocations: 40.05 kB / 0.588 GB, free: 30.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/1.447, allocations: 7.938 kB / 0.588 GB, free: 30.15 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.09e-05/1.447, allocations: 6.797 kB / 0.588 GB, free: 30.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01537/1.462, allocations: 5.746 MB / 0.5936 GB, free: 25.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.293e-05/1.463, allocations: 8 kB / 0.5937 GB, free: 25.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00214/1.465, allocations: 256.7 kB / 0.5939 GB, free: 24.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.623e-05/1.465, allocations: 19.33 kB / 0.5939 GB, free: 24.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/1.465, allocations: 12 kB / 0.5939 GB, free: 24.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.759e-05/1.465, allocations: 19.55 kB / 0.5939 GB, free: 24.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.284e-05/1.465, allocations: 15.94 kB / 0.594 GB, free: 24.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004798/1.47, allocations: 3.602 MB / 0.5975 GB, free: 21.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008646/1.471, allocations: 383.2 kB / 0.5978 GB, free: 20.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005841/1.471, allocations: 8 kB / 0.5979 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001814/1.473, allocations: 64.12 kB / 0.5979 GB, free: 20.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002857/1.473, allocations: 99.67 kB / 0.598 GB, free: 20.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/1.474, allocations: 48 kB / 0.5981 GB, free: 20.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004191/1.478, allocations: 2.026 MB / 0.6 GB, free: 18.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.12e-07/1.478, allocations: 0 / 0.6 GB, free: 18.93 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007251/1.485, allocations: 1.015 MB / 0.601 GB, free: 17.91 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.005727/1.491, allocations: 6.214 MB / 0.6071 GB, free: 11.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00929/1.5, allocations: 4.39 MB / 0.6114 GB, free: 7.695 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.137e-05/1.5, allocations: 0 / 0.6114 GB, free: 7.695 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001918/1.502, allocations: 1.044 MB / 0.6124 GB, free: 6.746 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/1.504, allocations: 268.1 kB / 0.6127 GB, free: 6.504 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02776/1.532, allocations: 8.648 MB / 0.6211 GB, free: 15.06 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008068/1.54, allocations: 3.364 MB / 0.6244 GB, free: 12.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01216/1.552, allocations: 2.486 MB / 0.6268 GB, free: 9.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005113/1.557, allocations: 1.753 MB / 0.6285 GB, free: 8.086 MB / 426.7 MB Notification: Performance of SimCode: time 1.763e-06/1.558, allocations: 0 / 0.6285 GB, free: 8.086 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.47/2.028, allocations: 62.99 MB / 0.69 GB, free: 82.65 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002107/2.028, allocations: 142.2 kB / 0.6902 GB, free: 82.45 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.096/7.124, allocations: 3.969 kB / 0.6902 GB, free: 82.45 MB / 426.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