Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.21/2.21, allocations: 209.4 MB / 216.5 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.582e-05/2.584e-05, allocations: 4 kB / 267.6 MB, free: 4.926 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1183, allocations: 48.69 MB / 316.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4598/0.5781, allocations: 88.86 MB / 405.2 MB, free: 3.957 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003573/0.5786, allocations: 81.92 kB / 405.3 MB, free: 3.918 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2625/0.8411, allocations: 55.59 MB / 460.9 MB, free: 15.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.8412, allocations: 0 / 460.9 MB, free: 15.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002164/0.8414, allocations: 52 kB / 460.9 MB, free: 15.34 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.01155/0.853, allocations: 2.661 MB / 463.6 MB, free: 12.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.382e-05/0.8531, allocations: 8.031 kB / 463.6 MB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01507/0.8682, allocations: 1.833 MB / 465.4 MB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006523/0.8747, allocations: 1.743 MB / 467.1 MB, free: 8.984 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002367/0.875, allocations: 104 kB / 467.3 MB, free: 8.883 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001594/0.8766, allocations: 172 kB / 467.4 MB, free: 8.715 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01259/0.8892, allocations: 4.477 MB / 471.9 MB, free: 4.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01994/0.9093, allocations: 6.219 MB / 478.1 MB, free: 13.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001435/0.9095, allocations: 23.81 kB / 478.1 MB, free: 13.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001546/0.911, allocations: 12 kB / 478.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001857/0.9129, allocations: 0.7046 MB / 478.9 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3557/1.269, allocations: 23.49 MB / 0.4906 GB, free: 93.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003165/1.272, allocations: 1.527 MB / 0.4921 GB, free: 92.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001556/1.274, allocations: 0.5805 MB / 0.4926 GB, free: 92.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/1.274, allocations: 21.06 kB / 0.4927 GB, free: 92.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/1.274, allocations: 42.56 kB / 0.4927 GB, free: 92.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=108): time 5.51e-06/1.274, allocations: 1.406 kB / 0.4927 GB, free: 92.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=108): time 0.006502/1.28, allocations: 1.49 MB / 0.4941 GB, free: 92.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/1.28, allocations: 67.78 kB / 0.4942 GB, free: 92.28 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004729/1.285, allocations: 1.633 MB / 0.4958 GB, free: 92.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002691/1.285, allocations: 26.69 kB / 0.4958 GB, free: 92.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002123/1.288, allocations: 2.038 MB / 0.4978 GB, free: 91.06 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007915/1.288, allocations: 415.3 kB / 0.4982 GB, free: 90.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003854/1.289, allocations: 0 / 0.4982 GB, free: 90.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005127/1.289, allocations: 0.4944 MB / 0.4987 GB, free: 90.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002681/1.292, allocations: 0.9307 MB / 0.4996 GB, free: 90.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004409/1.297, allocations: 3.063 MB / 0.5026 GB, free: 87.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004762/1.301, allocations: 1.727 MB / 0.5043 GB, free: 87.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000157/1.302, allocations: 24 kB / 0.5043 GB, free: 87.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=456) (initialization): time 0.01139/1.313, allocations: 3.536 MB / 0.5078 GB, free: 87.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/1.313, allocations: 41.2 kB / 0.5078 GB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001556/1.313, allocations: 76.78 kB / 0.5079 GB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002201/1.314, allocations: 112.4 kB / 0.508 GB, free: 87.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005456/1.319, allocations: 0.7841 MB / 0.5087 GB, free: 87.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002466/1.319, allocations: 155.3 kB / 0.5089 GB, free: 87.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005419/1.325, allocations: 388.1 kB / 0.5093 GB, free: 87.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00111/1.326, allocations: 223.5 kB / 0.5095 GB, free: 87.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 350 * Number of states: 0 () * Number of discrete variables: 21 (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.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 (432): * Single equations (assignments): 429 * 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.0009834/1.327, allocations: 295.6 kB / 0.5098 GB, free: 86.93 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003836/1.331, allocations: 1.198 MB / 0.5109 GB, free: 86.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005442/1.331, allocations: 167.1 kB / 0.5111 GB, free: 86.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005765/1.337, allocations: 1.349 MB / 0.5124 GB, free: 86.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.883e-05/1.337, allocations: 15.56 kB / 0.5124 GB, free: 86.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/1.337, allocations: 3.953 kB / 0.5124 GB, free: 86.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.199e-05/1.337, allocations: 6.266 kB / 0.5124 GB, free: 86.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01565/1.353, allocations: 4.742 MB / 0.5171 GB, free: 85.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.591e-05/1.353, allocations: 10.41 kB / 0.5171 GB, free: 85.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001693/1.355, allocations: 156.9 kB / 0.5172 GB, free: 85.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.699e-05/1.355, allocations: 17.84 kB / 0.5172 GB, free: 85.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/1.355, allocations: 23.27 kB / 0.5173 GB, free: 85.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.582e-05/1.355, allocations: 22.59 kB / 0.5173 GB, free: 85.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.085e-05/1.355, allocations: 16.88 kB / 0.5173 GB, free: 85.78 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004348/1.36, allocations: 2.347 MB / 0.5196 GB, free: 83.94 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006895/1.36, allocations: 257.5 kB / 0.5198 GB, free: 83.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004796/1.361, allocations: 17.02 kB / 0.5199 GB, free: 83.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001542/1.362, allocations: 21.55 kB / 0.5199 GB, free: 83.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000256/1.363, allocations: 85.45 kB / 0.52 GB, free: 83.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/1.363, allocations: 49.23 kB / 0.52 GB, free: 83.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002803/1.366, allocations: 1.083 MB / 0.5211 GB, free: 83.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.61e-07/1.366, allocations: 0 / 0.5211 GB, free: 83.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006038/1.372, allocations: 0.7082 MB / 0.5218 GB, free: 83.09 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.005236/1.377, allocations: 5.811 MB / 0.5274 GB, free: 77.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007975/1.385, allocations: 2.212 MB / 0.5296 GB, free: 77.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.163e-05/1.385, allocations: 0 / 0.5296 GB, free: 77.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001666/1.387, allocations: 0.5995 MB / 0.5302 GB, free: 76.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/1.389, allocations: 177.3 kB / 0.5303 GB, free: 76.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02319/1.412, allocations: 5.63 MB / 0.5358 GB, free: 74.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007534/1.42, allocations: 2.517 MB / 0.5383 GB, free: 73.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005042/1.425, allocations: 1.149 MB / 0.5394 GB, free: 73.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002685/1.427, allocations: 1.191 MB / 0.5406 GB, free: 72.47 MB / 410.7 MB Notification: Performance of SimCode: time 1.764e-06/1.427, allocations: 3.5 kB / 0.5406 GB, free: 72.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1352/1.563, allocations: 37 MB / 0.5767 GB, free: 48.51 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/1.563, allocations: 131.3 kB / 0.5768 GB, free: 48.32 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.631/5.194, allocations: 0 / 0.5768 GB, free: 48.32 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat