Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.06/2.06, allocations: 209.4 MB / 216.5 MB, free: 6.676 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.89e-05/2.899e-05, allocations: 0 / 267.6 MB, free: 4.977 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.117, allocations: 48.71 MB / 316.3 MB, free: 4.172 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4528/0.5698, allocations: 88.77 MB / 405.1 MB, free: 4.074 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.5701, allocations: 78.33 kB / 405.2 MB, free: 4.035 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2262/0.7964, allocations: 53.83 MB / 459 MB, free: 1.328 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.407e-06/0.7965, allocations: 4 kB / 459 MB, free: 1.324 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001731/0.7967, allocations: 52 kB / 459.1 MB, free: 1.273 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.01049/0.8072, allocations: 2.609 MB / 461.7 MB, free: 14.61 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.8072, allocations: 8.031 kB / 461.7 MB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01451/0.8218, allocations: 1.825 MB / 463.5 MB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006464/0.8283, allocations: 1.707 MB / 465.2 MB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002566/0.8286, allocations: 92 kB / 465.3 MB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001733/0.8303, allocations: 164 kB / 465.5 MB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01244/0.8428, allocations: 4.375 MB / 469.8 MB, free: 6.375 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01896/0.8618, allocations: 6.053 MB / 475.9 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.94e-05/0.862, allocations: 15.88 kB / 475.9 MB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007395/0.8627, allocations: 15.94 kB / 475.9 MB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001618/0.8644, allocations: 0.6772 MB / 476.6 MB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.349/1.213, allocations: 22.36 MB / 498.9 MB, free: 94.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003139/1.217, allocations: 1.546 MB / 0.4888 GB, free: 93.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/1.218, allocations: 0.5826 MB / 0.4893 GB, free: 93.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-05/1.218, allocations: 17.78 kB / 0.4894 GB, free: 93.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/1.218, allocations: 39.95 kB / 0.4894 GB, free: 93.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=108): time 4.889e-06/1.218, allocations: 0 / 0.4894 GB, free: 93.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=108): time 0.00606/1.224, allocations: 1.551 MB / 0.4909 GB, free: 93.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/1.224, allocations: 61.44 kB / 0.491 GB, free: 93.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003782/1.228, allocations: 1.583 MB / 0.4925 GB, free: 93.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002215/1.228, allocations: 27.05 kB / 0.4925 GB, free: 93.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001943/1.23, allocations: 1.966 MB / 0.4945 GB, free: 92.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008151/1.231, allocations: 408.7 kB / 0.4948 GB, free: 91.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003082/1.232, allocations: 4.312 kB / 0.4948 GB, free: 91.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005905/1.232, allocations: 500 kB / 0.4953 GB, free: 91.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003291/1.235, allocations: 0.9024 MB / 0.4962 GB, free: 91.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005395/1.241, allocations: 2.941 MB / 0.4991 GB, free: 88.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00598/1.247, allocations: 1.667 MB / 0.5007 GB, free: 88.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001378/1.247, allocations: 21 kB / 0.5007 GB, free: 88.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=440) (initialization): time 0.01436/1.262, allocations: 3.423 MB / 0.5041 GB, free: 88.72 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001367/1.262, allocations: 35.88 kB / 0.5041 GB, free: 88.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000185/1.262, allocations: 73.88 kB / 0.5042 GB, free: 88.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002846/1.262, allocations: 106.2 kB / 0.5043 GB, free: 88.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006501/1.269, allocations: 0.761 MB / 0.505 GB, free: 88.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002177/1.269, allocations: 147.8 kB / 0.5052 GB, free: 88.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005095/1.274, allocations: 381.3 kB / 0.5055 GB, free: 88.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/1.275, allocations: 204.9 kB / 0.5057 GB, free: 88.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 334 * Number of states: 0 () * Number of discrete variables: 21 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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 (416): * Single equations (assignments): 413 * 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.0009505/1.276, allocations: 288.7 kB / 0.506 GB, free: 88.19 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003812/1.28, allocations: 1.184 MB / 0.5071 GB, free: 88.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000423/1.281, allocations: 169.6 kB / 0.5073 GB, free: 87.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004256/1.285, allocations: 1.338 MB / 0.5086 GB, free: 87.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.109e-05/1.285, allocations: 9.906 kB / 0.5086 GB, free: 87.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/1.285, allocations: 2.078 kB / 0.5086 GB, free: 87.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/1.285, allocations: 3.422 kB / 0.5086 GB, free: 87.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01592/1.301, allocations: 4.91 MB / 0.5134 GB, free: 87.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.332e-05/1.301, allocations: 15.5 kB / 0.5134 GB, free: 87.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/1.303, allocations: 155.9 kB / 0.5136 GB, free: 87.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.265e-05/1.303, allocations: 15.75 kB / 0.5136 GB, free: 87.01 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/1.303, allocations: 15.5 kB / 0.5136 GB, free: 87.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-05/1.303, allocations: 24.09 kB / 0.5136 GB, free: 87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.021e-05/1.303, allocations: 15.69 kB / 0.5137 GB, free: 87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004254/1.307, allocations: 2.391 MB / 0.516 GB, free: 85.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006452/1.308, allocations: 250.9 kB / 0.5162 GB, free: 85.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004319/1.308, allocations: 16.95 kB / 0.5162 GB, free: 85.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/1.31, allocations: 24.83 kB / 0.5163 GB, free: 85.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002612/1.31, allocations: 94.09 kB / 0.5164 GB, free: 85.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001729/1.31, allocations: 45.48 kB / 0.5164 GB, free: 85.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00286/1.313, allocations: 1.048 MB / 0.5174 GB, free: 84.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.71e-07/1.313, allocations: 0.8125 kB / 0.5174 GB, free: 84.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004828/1.318, allocations: 0.691 MB / 0.5181 GB, free: 84.49 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * 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.004172/1.322, allocations: 6.05 MB / 0.524 GB, free: 79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004694/1.327, allocations: 2.155 MB / 0.5261 GB, free: 78.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/1.327, allocations: 6.875 kB / 0.5261 GB, free: 78.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/1.328, allocations: 0.5965 MB / 0.5267 GB, free: 78.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/1.33, allocations: 184.4 kB / 0.5269 GB, free: 78.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/1.347, allocations: 5.506 MB / 0.5323 GB, free: 75.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003772/1.351, allocations: 2.46 MB / 0.5347 GB, free: 74.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005257/1.356, allocations: 1.131 MB / 0.5358 GB, free: 74.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002704/1.359, allocations: 1.129 MB / 0.5369 GB, free: 73.73 MB / 410.7 MB Notification: Performance of SimCode: time 1.393e-06/1.359, allocations: 0 / 0.5369 GB, free: 73.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1032/1.462, allocations: 36.06 MB / 0.5721 GB, free: 50.54 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002617/1.462, allocations: 138 kB / 0.5722 GB, free: 50.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.723/5.186, allocations: 4 kB / 0.5722 GB, free: 50.34 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat