Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.292/2.292, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.787e-05/6.805e-05, allocations: 0 / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1735, allocations: 61.88 MB / 410.4 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.535/0.7085, allocations: 107.2 MB / 0.5055 GB, free: 12.67 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/0.7088, allocations: 75.97 kB / 0.5055 GB, free: 12.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.085/1.794, allocations: 175.2 MB / 0.6766 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.866e-06/1.794, allocations: 0 / 0.6766 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006081/1.794, allocations: 171.9 kB / 0.6768 GB, free: 104.6 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3105 * Number of variables: 3105 Notification: Performance of Generate backend data structure: time 0.03242/1.827, allocations: 8.432 MB / 0.685 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/1.827, allocations: 10.81 kB / 0.6851 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007199/1.834, allocations: 1.559 MB / 0.6866 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03156/1.866, allocations: 3.784 MB / 0.6903 GB, free: 100 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03156/1.897, allocations: 9.431 MB / 0.6995 GB, free: 96.77 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009372/1.898, allocations: 0.69 MB / 0.7002 GB, free: 96.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004967/1.903, allocations: 0.9104 MB / 0.701 GB, free: 96.23 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06698/1.97, allocations: 20.9 MB / 0.7215 GB, free: 77.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006807/1.971, allocations: 91.2 kB / 0.7215 GB, free: 77.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004875/1.976, allocations: 431.2 kB / 0.722 GB, free: 77.21 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004595/1.981, allocations: 1.861 MB / 0.7238 GB, free: 75.36 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05442/2.035, allocations: 15.93 MB / 0.7393 GB, free: 59.42 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5988/2.634, allocations: 83.64 MB / 0.821 GB, free: 58.39 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05256/2.686, allocations: 6.329 MB / 0.8272 GB, free: 57.71 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01722/2.704, allocations: 2.315 MB / 0.8294 GB, free: 57.67 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03784/2.742, allocations: 10.94 MB / 0.8401 GB, free: 54.73 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.226e-05/2.742, allocations: 56 kB / 0.8402 GB, free: 54.69 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=212): time 6.783e-06/2.742, allocations: 3.422 kB / 0.8402 GB, free: 54.69 MB / 0.5261 GB Notification: Performance of matching and sorting (n=236): time 0.08182/2.824, allocations: 15.76 MB / 0.8556 GB, free: 49.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.991e-05/2.824, allocations: 156.1 kB / 0.8557 GB, free: 49.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01478/2.839, allocations: 5.872 MB / 0.8615 GB, free: 49.02 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004885/2.839, allocations: 64.3 kB / 0.8615 GB, free: 48.98 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005604/2.845, allocations: 6.035 MB / 0.8674 GB, free: 45.67 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00141/2.846, allocations: 0.9283 MB / 0.8683 GB, free: 45.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001042/2.847, allocations: 175.8 kB / 0.8685 GB, free: 45.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000624/2.848, allocations: 0.679 MB / 0.8691 GB, free: 44.84 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007976/2.856, allocations: 2.309 MB / 0.8714 GB, free: 44.81 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01762/2.874, allocations: 7.996 MB / 0.8792 GB, free: 37.37 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02534/2.899, allocations: 4.256 MB / 0.8834 GB, free: 37.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002893/2.899, allocations: 61.03 kB / 0.8834 GB, free: 37.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.03185/2.931, allocations: 9.434 MB / 0.8926 GB, free: 35.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001775/2.931, allocations: 100.3 kB / 0.8927 GB, free: 35.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003281/2.932, allocations: 205.8 kB / 0.8929 GB, free: 35.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003535/2.932, allocations: 303 kB / 0.8932 GB, free: 35.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01329/2.945, allocations: 2.158 MB / 0.8953 GB, free: 35.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004007/2.946, allocations: 401.2 kB / 0.8957 GB, free: 35.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0115/2.957, allocations: 0.6039 MB / 0.8963 GB, free: 35.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002045/2.96, allocations: 0.5441 MB / 0.8968 GB, free: 35.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 939 * Number of states: 0 () * Number of discrete variables: 88 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueArrow.arrowLine.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueArrow.arrowLine.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueArrow.arrowLine.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.torqueArrow.arrowLine.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1129): * Single equations (assignments): 1126 * 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.0032/2.963, allocations: 0.8274 MB / 0.8976 GB, free: 34.52 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001461/2.964, allocations: 0.577 MB / 0.8982 GB, free: 34.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002631/2.967, allocations: 0.7109 MB / 0.8989 GB, free: 33.86 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.752e-05/2.967, allocations: 28.3 kB / 0.8989 GB, free: 33.86 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.419e-05/2.967, allocations: 0 / 0.8989 GB, free: 33.86 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.481e-05/2.967, allocations: 11.34 kB / 0.8989 GB, free: 33.86 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05997/3.027, allocations: 19.33 MB / 0.9178 GB, free: 26.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001434/3.027, allocations: 58.22 kB / 0.9179 GB, free: 26.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004648/3.032, allocations: 0.5034 MB / 0.9184 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001471/3.032, allocations: 81.5 kB / 0.9184 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004578/3.033, allocations: 116.9 kB / 0.9185 GB, free: 26.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000118/3.033, allocations: 103 kB / 0.9186 GB, free: 26.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.071e-05/3.033, allocations: 85.38 kB / 0.9187 GB, free: 26.12 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0136/3.047, allocations: 14.66 MB / 0.933 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003512/3.05, allocations: 0.6972 MB / 0.9337 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002582/3.053, allocations: 126.9 kB / 0.9338 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008081/3.061, allocations: 189.9 kB / 0.934 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001071/3.062, allocations: 355.2 kB / 0.9344 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004233/3.062, allocations: 148.9 kB / 0.9345 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01404/3.076, allocations: 4.085 MB / 0.9385 GB, free: 7.281 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.382e-06/3.077, allocations: 0 / 0.9385 GB, free: 7.281 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01191/3.088, allocations: 1.558 MB / 0.94 GB, free: 5.73 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 245 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 269 * 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.0172/3.106, allocations: 25.19 MB / 0.9646 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01403/3.12, allocations: 5.233 MB / 0.9697 GB, free: 6.324 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-05/3.12, allocations: 12.5 kB / 0.9697 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003371/3.123, allocations: 1.262 MB / 0.971 GB, free: 5.184 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008261/3.132, allocations: 0.9794 MB / 0.9719 GB, free: 4.387 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06146/3.193, allocations: 17.51 MB / 0.989 GB, free: 4.285 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01778/3.211, allocations: 6.339 MB / 0.9952 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01376/3.225, allocations: 2.791 MB / 0.9979 GB, free: 14.22 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009674/3.234, allocations: 4.045 MB / 1.002 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of SimCode: time 1.593e-06/3.235, allocations: 0 / 1.002 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7511/3.986, allocations: 122.1 MB / 1.121 GB, free: 180.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002396/3.986, allocations: 154.5 kB / 1.121 GB, free: 180.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.764/11.75, allocations: 0 / 1.121 GB, free: 180.2 MB / 0.6198 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat does not exist to compare? outputFormat=mat