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 1.966/1.966, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.265e-05/3.268e-05, allocations: 0 / 273.1 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1037, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4213/0.525, allocations: 89.23 MB / 411.1 MB, free: 376 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.5254, allocations: 71.97 kB / 411.2 MB, free: 304 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.231/0.7564, allocations: 55.09 MB / 466.2 MB, free: 8.844 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.7564, allocations: 0 / 466.2 MB, free: 8.844 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001431/0.7566, allocations: 55.98 kB / 466.3 MB, free: 8.789 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.009577/0.7662, allocations: 2.609 MB / 468.9 MB, free: 6.121 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.7663, allocations: 8.031 kB / 468.9 MB, free: 6.113 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002245/0.7685, allocations: 0.5479 MB / 469.5 MB, free: 5.555 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01425/0.7828, allocations: 1.825 MB / 471.3 MB, free: 3.723 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006251/0.7891, allocations: 1.719 MB / 473 MB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003059/0.7895, allocations: 221.7 kB / 473.2 MB, free: 1.738 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001556/0.791, allocations: 279.9 kB / 473.5 MB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02124/0.8123, allocations: 6.566 MB / 480.1 MB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001158/0.8125, allocations: 19.81 kB / 480.1 MB, free: 10.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001164/0.8137, allocations: 131.9 kB / 480.2 MB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001638/0.8153, allocations: 0.6804 MB / 480.9 MB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01883/0.8342, allocations: 5.704 MB / 486.6 MB, free: 3.973 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3375/1.172, allocations: 23.02 MB / 0.4977 GB, free: 101.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007634/1.179, allocations: 2.228 MB / 0.4999 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/1.181, allocations: 0.7586 MB / 0.5006 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01111/1.193, allocations: 3.757 MB / 0.5043 GB, free: 100.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/1.193, allocations: 43.59 kB / 0.5043 GB, free: 100.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=93): time 5.049e-06/1.193, allocations: 1.125 kB / 0.5043 GB, free: 100.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=93): time 0.008727/1.201, allocations: 1.719 MB / 0.506 GB, free: 100.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/1.201, allocations: 63.86 kB / 0.506 GB, free: 100 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004025/1.206, allocations: 1.747 MB / 0.5078 GB, free: 99.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001718/1.206, allocations: 40.8 kB / 0.5078 GB, free: 99.76 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00171/1.207, allocations: 1.953 MB / 0.5097 GB, free: 98.85 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005476/1.208, allocations: 361.9 kB / 0.51 GB, free: 98.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/1.208, allocations: 61.83 kB / 0.5101 GB, free: 98.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000398/1.209, allocations: 499.6 kB / 0.5106 GB, free: 98.33 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002331/1.211, allocations: 0.8965 MB / 0.5115 GB, free: 98.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003531/1.215, allocations: 2.809 MB / 0.5142 GB, free: 95.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003741/1.218, allocations: 1.619 MB / 0.5158 GB, free: 95.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.942e-05/1.219, allocations: 20.06 kB / 0.5158 GB, free: 95.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.009644/1.228, allocations: 3.607 MB / 0.5193 GB, free: 95.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.855e-05/1.228, allocations: 34.72 kB / 0.5194 GB, free: 95.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.343e-05/1.228, allocations: 68.06 kB / 0.5194 GB, free: 95.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001251/1.229, allocations: 105.5 kB / 0.5195 GB, free: 95.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00397/1.233, allocations: 0.7034 MB / 0.5202 GB, free: 95.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001075/1.233, allocations: 133.6 kB / 0.5203 GB, free: 95.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003203/1.236, allocations: 433.1 kB / 0.5207 GB, free: 95.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006463/1.237, allocations: 194.1 kB / 0.5209 GB, free: 95.33 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 310 * 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 (385): * Single equations (assignments): 382 * 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.0006425/1.237, allocations: 355.1 kB / 0.5213 GB, free: 95.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003833/1.238, allocations: 166.8 kB / 0.5214 GB, free: 95.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002519/1.24, allocations: 1.166 MB / 0.5226 GB, free: 94.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.659e-05/1.24, allocations: 15.16 kB / 0.5226 GB, free: 94.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/1.24, allocations: 3.938 kB / 0.5226 GB, free: 94.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/1.24, allocations: 7.516 kB / 0.5226 GB, free: 94.94 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.013/1.253, allocations: 4.954 MB / 0.5274 GB, free: 94.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/1.253, allocations: 7.438 kB / 0.5274 GB, free: 94.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/1.254, allocations: 139.4 kB / 0.5276 GB, free: 94.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.179e-05/1.254, allocations: 13.12 kB / 0.5276 GB, free: 94.15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.019e-05/1.255, allocations: 25.84 kB / 0.5276 GB, free: 94.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-05/1.255, allocations: 18.14 kB / 0.5276 GB, free: 94.15 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.137e-05/1.255, allocations: 15.91 kB / 0.5276 GB, free: 94.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002616/1.257, allocations: 2.17 MB / 0.5298 GB, free: 92.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000549/1.258, allocations: 275.2 kB / 0.53 GB, free: 92.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002819/1.258, allocations: 27.19 kB / 0.5301 GB, free: 92.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/1.259, allocations: 34.53 kB / 0.5301 GB, free: 92.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/1.259, allocations: 79.77 kB / 0.5302 GB, free: 92.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-05/1.259, allocations: 36.44 kB / 0.5302 GB, free: 92.17 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002554/1.262, allocations: 1.274 MB / 0.5314 GB, free: 91.67 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.132e-06/1.262, allocations: 0 / 0.5314 GB, free: 91.67 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003705/1.266, allocations: 0.7501 MB / 0.5322 GB, free: 91.44 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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.003553/1.269, allocations: 5.232 MB / 0.5373 GB, free: 86.78 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004622/1.274, allocations: 2.127 MB / 0.5394 GB, free: 86.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.572e-05/1.274, allocations: 4 kB / 0.5394 GB, free: 86.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/1.275, allocations: 0.5244 MB / 0.5399 GB, free: 85.94 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/1.277, allocations: 236.8 kB / 0.5401 GB, free: 85.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/1.293, allocations: 5.392 MB / 0.5454 GB, free: 83.69 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004498/1.298, allocations: 2.458 MB / 0.5478 GB, free: 82.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004522/1.302, allocations: 1.01 MB / 0.5488 GB, free: 82.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002404/1.305, allocations: 1.111 MB / 0.5498 GB, free: 81.61 MB / 426.7 MB Notification: Performance of SimCode: time 1.302e-06/1.305, allocations: 3.625 kB / 0.5498 GB, free: 81.61 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1212/1.426, allocations: 38.91 MB / 0.5878 GB, free: 57.8 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002776/1.426, allocations: 145.8 kB / 0.588 GB, free: 57.58 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.467/4.893, allocations: 3.938 kB / 0.588 GB, free: 57.57 MB / 426.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