Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.505/2.505, allocations: 249.5 MB / 261.6 MB, free: 2.172 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.437e-05/4.442e-05, allocations: 4 kB / 323.5 MB, free: 4.23 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4198, allocations: 58.84 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.189/0.6089, allocations: 102.1 MB / 484.4 MB, free: 6.32 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/0.6093, allocations: 75.97 kB / 484.4 MB, free: 6.246 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.641/1.25, allocations: 57.03 MB / 0.5288 GB, free: 112.4 MB / 458.8 MB Notification: Performance of FrontEnd: time 3.227e-06/1.25, allocations: 4.562 kB / 0.5288 GB, free: 112.4 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0002212/1.251, allocations: 53.14 kB / 0.5288 GB, free: 112.4 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: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.0145/1.265, allocations: 2.681 MB / 0.5314 GB, free: 111.2 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 7.316e-05/1.265, allocations: 13.44 kB / 0.5315 GB, free: 111.2 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003194/1.269, allocations: 0.5569 MB / 0.532 GB, free: 111.1 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02279/1.291, allocations: 1.833 MB / 0.5338 GB, free: 110.9 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009014/1.3, allocations: 1.767 MB / 0.5355 GB, free: 110.5 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004634/1.301, allocations: 225.8 kB / 0.5357 GB, free: 110.5 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002302/1.303, allocations: 289.4 kB / 0.536 GB, free: 110.5 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02906/1.332, allocations: 6.731 MB / 0.5426 GB, free: 109.5 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001443/1.333, allocations: 20.12 kB / 0.5426 GB, free: 109.5 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001243/1.334, allocations: 134.2 kB / 0.5427 GB, free: 109.5 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002094/1.336, allocations: 0.6993 MB / 0.5434 GB, free: 109.5 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02541/1.361, allocations: 5.768 MB / 0.549 GB, free: 109.5 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05357/1.415, allocations: 23.94 MB / 0.5724 GB, free: 93.99 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006751/1.422, allocations: 2.162 MB / 0.5745 GB, free: 92.92 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001695/1.424, allocations: 0.7903 MB / 0.5753 GB, free: 92.63 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01101/1.435, allocations: 4.016 MB / 0.5792 GB, free: 89.5 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/1.435, allocations: 39.34 kB / 0.5793 GB, free: 89.46 MB / 458.8 MB Notification: Performance of pre-optimization done (n=96): time 5.24e-06/1.435, allocations: 0 / 0.5793 GB, free: 89.46 MB / 458.8 MB Notification: Performance of matching and sorting (n=96): time 0.008397/1.443, allocations: 1.76 MB / 0.581 GB, free: 88.03 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/1.443, allocations: 60.19 kB / 0.581 GB, free: 87.96 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003439/1.447, allocations: 1.802 MB / 0.5828 GB, free: 86.31 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001648/1.447, allocations: 44.42 kB / 0.5828 GB, free: 86.26 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001355/1.448, allocations: 2.009 MB / 0.5848 GB, free: 84.47 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005163/1.449, allocations: 375.4 kB / 0.5852 GB, free: 84.15 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/1.449, allocations: 60 kB / 0.5852 GB, free: 84.09 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0002174/1.449, allocations: 452.9 kB / 0.5857 GB, free: 83.68 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002782/1.452, allocations: 0.9238 MB / 0.5866 GB, free: 82.84 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004315/1.456, allocations: 2.883 MB / 0.5894 GB, free: 79.11 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00474/1.461, allocations: 1.678 MB / 0.591 GB, free: 77.68 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-05/1.461, allocations: 23.94 kB / 0.591 GB, free: 77.66 MB / 458.8 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.01203/1.473, allocations: 3.54 MB / 0.5945 GB, free: 74.52 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.098e-05/1.474, allocations: 36 kB / 0.5945 GB, free: 74.49 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000125/1.474, allocations: 68 kB / 0.5946 GB, free: 74.42 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000196/1.474, allocations: 108 kB / 0.5947 GB, free: 74.32 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005973/1.48, allocations: 0.7226 MB / 0.5954 GB, free: 73.68 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000173/1.48, allocations: 142 kB / 0.5955 GB, free: 73.55 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00478/1.485, allocations: 441.3 kB / 0.596 GB, free: 73.12 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006393/1.486, allocations: 207.6 kB / 0.5962 GB, free: 72.93 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 320 * Number of states: 0 () * Number of discrete variables: 24 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 395 * Array equations: 3 * 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.0007518/1.486, allocations: 357.2 kB / 0.5965 GB, free: 72.57 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000479/1.487, allocations: 173.8 kB / 0.5967 GB, free: 72.4 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003781/1.491, allocations: 1.22 MB / 0.5978 GB, free: 71.35 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.179e-05/1.491, allocations: 12 kB / 0.5979 GB, free: 71.34 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/1.491, allocations: 3.953 kB / 0.5979 GB, free: 71.33 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/1.491, allocations: 2.719 kB / 0.5979 GB, free: 71.33 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01606/1.507, allocations: 4.988 MB / 0.6027 GB, free: 66.98 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.28e-05/1.507, allocations: 12 kB / 0.6027 GB, free: 66.97 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/1.509, allocations: 148.7 kB / 0.6029 GB, free: 66.85 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.29e-05/1.509, allocations: 16 kB / 0.6029 GB, free: 66.83 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001334/1.509, allocations: 24 kB / 0.6029 GB, free: 66.81 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.61e-05/1.509, allocations: 23.55 kB / 0.603 GB, free: 66.79 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.748e-05/1.509, allocations: 15.78 kB / 0.603 GB, free: 66.78 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003819/1.513, allocations: 2.301 MB / 0.6052 GB, free: 64.13 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008151/1.514, allocations: 288.8 kB / 0.6055 GB, free: 63.84 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004539/1.514, allocations: 30.98 kB / 0.6055 GB, free: 63.81 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/1.516, allocations: 39.28 kB / 0.6056 GB, free: 63.78 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/1.516, allocations: 74.36 kB / 0.6056 GB, free: 63.72 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/1.516, allocations: 47.38 kB / 0.6057 GB, free: 63.68 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.00365/1.52, allocations: 1.313 MB / 0.607 GB, free: 62.49 MB / 458.8 MB Notification: Performance of sort global known variables: time 8.41e-07/1.52, allocations: 4 kB / 0.607 GB, free: 62.49 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.006025/1.526, allocations: 0.7699 MB / 0.6077 GB, free: 61.71 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * Array equations: 3 * 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.00448/1.53, allocations: 5.558 MB / 0.6131 GB, free: 55.95 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.004454/1.535, allocations: 2.096 MB / 0.6152 GB, free: 53.87 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/1.535, allocations: 4 kB / 0.6152 GB, free: 53.86 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/1.536, allocations: 0.5389 MB / 0.6157 GB, free: 53.33 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001772/1.538, allocations: 247.7 kB / 0.616 GB, free: 53.09 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/1.554, allocations: 5.589 MB / 0.6214 GB, free: 47.33 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004753/1.559, allocations: 2.517 MB / 0.6239 GB, free: 44.8 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.004887/1.564, allocations: 1.047 MB / 0.6249 GB, free: 43.76 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003548/1.568, allocations: 1.167 MB / 0.626 GB, free: 42.59 MB / 458.8 MB Notification: Performance of SimCode: time 2.164e-06/1.568, allocations: 0 / 0.626 GB, free: 42.59 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0949/1.663, allocations: 40 MB / 0.6651 GB, free: 3.062 MB / 458.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002658/1.663, allocations: 145.7 kB / 0.6652 GB, free: 2.84 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.577/5.24, allocations: 7.938 kB / 0.6652 GB, free: 2.832 MB / 458.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat