Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.548/2.548, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.619e-05/2.623e-05, allocations: 4 kB / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3783, allocations: 54.85 MB / 354.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1882/0.5666, allocations: 95.17 MB / 449.6 MB, free: 15.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003067/0.567, allocations: 75.95 kB / 449.7 MB, free: 15.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5528/1.12, allocations: 53.82 MB / 0.4917 GB, free: 73.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.693e-06/1.12, allocations: 3.938 kB / 0.4917 GB, free: 73.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001151/1.12, allocations: 56 kB / 0.4918 GB, free: 73.48 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: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.009047/1.129, allocations: 2.616 MB / 0.4943 GB, free: 70.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/1.129, allocations: 12.03 kB / 0.4943 GB, free: 70.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01469/1.144, allocations: 1.813 MB / 0.4961 GB, free: 68.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00591/1.15, allocations: 1.716 MB / 0.4978 GB, free: 67.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/1.15, allocations: 92 kB / 0.4979 GB, free: 67.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001559/1.152, allocations: 164 kB / 0.498 GB, free: 66.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01114/1.163, allocations: 4.372 MB / 0.5023 GB, free: 62.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01629/1.179, allocations: 6.061 MB / 0.5082 GB, free: 56.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001005/1.179, allocations: 15.88 kB / 0.5082 GB, free: 56.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007957/1.18, allocations: 12 kB / 0.5082 GB, free: 56.13 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001459/1.182, allocations: 0.6803 MB / 0.5089 GB, free: 55.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04196/1.223, allocations: 22.36 MB / 0.5307 GB, free: 32.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002859/1.226, allocations: 1.562 MB / 0.5323 GB, free: 30.86 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/1.228, allocations: 0.571 MB / 0.5328 GB, free: 30.29 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/1.228, allocations: 22.08 kB / 0.5328 GB, free: 30.27 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/1.228, allocations: 39.34 kB / 0.5329 GB, free: 30.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=108): time 3.927e-06/1.228, allocations: 0 / 0.5329 GB, free: 30.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=108): time 0.006119/1.234, allocations: 1.553 MB / 0.5344 GB, free: 28.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/1.234, allocations: 72.08 kB / 0.5345 GB, free: 28.58 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00312/1.237, allocations: 1.576 MB / 0.536 GB, free: 27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000207/1.237, allocations: 25.7 kB / 0.536 GB, free: 26.97 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001401/1.239, allocations: 1.968 MB / 0.5379 GB, free: 24.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005499/1.239, allocations: 402.7 kB / 0.5383 GB, free: 24.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/1.24, allocations: 0 / 0.5383 GB, free: 24.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003309/1.24, allocations: 498 kB / 0.5388 GB, free: 24.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/1.242, allocations: 0.9085 MB / 0.5397 GB, free: 23.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003089/1.245, allocations: 2.938 MB / 0.5426 GB, free: 19.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003871/1.249, allocations: 1.674 MB / 0.5442 GB, free: 17.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.281e-05/1.249, allocations: 24 kB / 0.5442 GB, free: 17.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=440) (initialization): time 0.01023/1.259, allocations: 3.409 MB / 0.5475 GB, free: 14.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.563e-05/1.26, allocations: 36 kB / 0.5476 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.48e-05/1.26, allocations: 72 kB / 0.5476 GB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001403/1.26, allocations: 108 kB / 0.5477 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004882/1.265, allocations: 0.7608 MB / 0.5485 GB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001171/1.265, allocations: 147.4 kB / 0.5486 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003545/1.268, allocations: 387.3 kB / 0.549 GB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007333/1.269, allocations: 204 kB / 0.5492 GB, free: 12.39 MB / 394.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.0006338/1.27, allocations: 281.4 kB / 0.5495 GB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002699/1.273, allocations: 1.187 MB / 0.5506 GB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/1.273, allocations: 169.8 kB / 0.5508 GB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003221/1.276, allocations: 1.334 MB / 0.5521 GB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.94e-05/1.276, allocations: 12 kB / 0.5521 GB, free: 9.383 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/1.276, allocations: 3.953 kB / 0.5521 GB, free: 9.379 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/1.276, allocations: 7.984 kB / 0.5521 GB, free: 9.371 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01206/1.288, allocations: 4.891 MB / 0.5569 GB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.022e-05/1.288, allocations: 15.95 kB / 0.5569 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/1.29, allocations: 159.8 kB / 0.5571 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.728e-05/1.29, allocations: 20 kB / 0.5571 GB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/1.29, allocations: 23.98 kB / 0.5571 GB, free: 4.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-05/1.29, allocations: 23.92 kB / 0.5571 GB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.695e-05/1.29, allocations: 15.94 kB / 0.5571 GB, free: 4.043 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003352/1.293, allocations: 2.393 MB / 0.5595 GB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005214/1.294, allocations: 254.6 kB / 0.5597 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003539/1.294, allocations: 15.98 kB / 0.5597 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/1.295, allocations: 19.98 kB / 0.5597 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/1.296, allocations: 95.39 kB / 0.5598 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/1.296, allocations: 51.03 kB / 0.5599 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00243/1.298, allocations: 1.058 MB / 0.5609 GB, free: 15.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.01e-07/1.298, allocations: 0 / 0.5609 GB, free: 15.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004693/1.303, allocations: 0.684 MB / 0.5616 GB, free: 15.02 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.006095/1.309, allocations: 6.042 MB / 0.5675 GB, free: 8.629 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006046/1.315, allocations: 2.145 MB / 0.5696 GB, free: 6.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-05/1.315, allocations: 8 kB / 0.5696 GB, free: 6.492 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001593/1.317, allocations: 0.5964 MB / 0.5702 GB, free: 5.898 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/1.318, allocations: 174.1 kB / 0.5703 GB, free: 5.727 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0204/1.339, allocations: 5.51 MB / 0.5757 GB, free: 28 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005284/1.344, allocations: 2.46 MB / 0.5781 GB, free: 13.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005808/1.35, allocations: 1.132 MB / 0.5792 GB, free: 12.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003093/1.353, allocations: 1.136 MB / 0.5803 GB, free: 11.27 MB / 426.7 MB Notification: Performance of SimCode: time 1.543e-06/1.353, allocations: 0 / 0.5803 GB, free: 11.27 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1854/1.539, allocations: 36.07 MB / 0.6156 GB, free: 7.223 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003757/1.539, allocations: 139.2 kB / 0.6157 GB, free: 7.027 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.95/5.489, allocations: 0 / 0.6157 GB, free: 7.027 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat