Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.335/2.335, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.525e-05/4.561e-05, allocations: 11.22 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1354, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5703/0.7058, allocations: 105.9 MB / 0.5041 GB, free: 14.08 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/0.7062, allocations: 75.97 kB / 0.5042 GB, free: 14.01 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.012/1.718, allocations: 151.3 MB / 0.652 GB, free: 107 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.565e-06/1.718, allocations: 0 / 0.652 GB, free: 107 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005358/1.719, allocations: 149.2 kB / 0.6521 GB, free: 107 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: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02951/1.749, allocations: 7.353 MB / 0.6593 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/1.749, allocations: 14.62 kB / 0.6593 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00624/1.755, allocations: 1.295 MB / 0.6606 GB, free: 104 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03001/1.785, allocations: 3.524 MB / 0.664 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03035/1.815, allocations: 8.781 MB / 0.6726 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007258/1.816, allocations: 0.5612 MB / 0.6732 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004037/1.82, allocations: 0.7448 MB / 0.6739 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05571/1.876, allocations: 17.41 MB / 0.6909 GB, free: 95.32 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005211/1.877, allocations: 92.44 kB / 0.691 GB, free: 95.27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003855/1.88, allocations: 360.4 kB / 0.6913 GB, free: 95.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004279/1.885, allocations: 1.617 MB / 0.6929 GB, free: 94.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04355/1.928, allocations: 13.12 MB / 0.7057 GB, free: 89.04 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1172/2.046, allocations: 74.59 MB / 0.7786 GB, free: 16.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03629/2.082, allocations: 5.42 MB / 0.7839 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007403/2.089, allocations: 2.075 MB / 0.7859 GB, free: 8.758 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03912/2.129, allocations: 9.975 MB / 0.7956 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.064e-05/2.129, allocations: 59.81 kB / 0.7957 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=182): time 8.226e-06/2.129, allocations: 0 / 0.7957 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=206): time 0.07743/2.206, allocations: 13.35 MB / 0.8087 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/2.206, allocations: 157.7 kB / 0.8089 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4337/2.64, allocations: 5.503 MB / 0.8142 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004031/2.641, allocations: 55.02 kB / 0.8143 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005447/2.646, allocations: 5.304 MB / 0.8195 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001323/2.647, allocations: 0.8199 MB / 0.8203 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009507/2.648, allocations: 163 kB / 0.8204 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006547/2.649, allocations: 0.6468 MB / 0.8211 GB, free: 111 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006253/2.655, allocations: 2.087 MB / 0.8231 GB, free: 111 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01043/2.666, allocations: 7.358 MB / 0.8303 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/2.676, allocations: 3.882 MB / 0.8341 GB, free: 104 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003956/2.677, allocations: 54.84 kB / 0.8341 GB, free: 104 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.0262/2.703, allocations: 8.618 MB / 0.8425 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002286/2.703, allocations: 89.59 kB / 0.8426 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003174/2.704, allocations: 190.1 kB / 0.8428 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003223/2.704, allocations: 277.5 kB / 0.8431 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01299/2.717, allocations: 1.995 MB / 0.845 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003922/2.717, allocations: 372.4 kB / 0.8454 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01166/2.729, allocations: 0.5677 MB / 0.8459 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002024/2.731, allocations: 0.5006 MB / 0.8464 GB, free: 103.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 68 (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.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.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.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.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 (1031): * Single equations (assignments): 1028 * 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.003351/2.735, allocations: 0.7699 MB / 0.8472 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001515/2.736, allocations: 0.5392 MB / 0.8477 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002629/2.739, allocations: 0.6497 MB / 0.8483 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.267e-05/2.739, allocations: 21.61 kB / 0.8484 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/2.739, allocations: 0 / 0.8484 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.311e-05/2.739, allocations: 11.34 kB / 0.8484 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04107/2.78, allocations: 16.54 MB / 0.8645 GB, free: 97.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.764e-05/2.78, allocations: 38.47 kB / 0.8645 GB, free: 97.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00258/2.783, allocations: 380.6 kB / 0.8649 GB, free: 97.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.174e-05/2.783, allocations: 53.78 kB / 0.865 GB, free: 97.23 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002945/2.783, allocations: 82.03 kB / 0.865 GB, free: 97.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.437e-05/2.783, allocations: 77.66 kB / 0.8651 GB, free: 97.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.973e-05/2.783, allocations: 58.78 kB / 0.8652 GB, free: 97.17 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007879/2.791, allocations: 10.37 MB / 0.8753 GB, free: 86.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002238/2.793, allocations: 0.6225 MB / 0.8759 GB, free: 86.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001946/2.795, allocations: 88.81 kB / 0.876 GB, free: 86.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005061/2.801, allocations: 165.9 kB / 0.8761 GB, free: 86.22 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006196/2.801, allocations: 256.9 kB / 0.8764 GB, free: 86.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002156/2.801, allocations: 103.5 kB / 0.8765 GB, free: 86.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0104/2.812, allocations: 3.86 MB / 0.8803 GB, free: 84.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.092e-06/2.812, allocations: 0 / 0.8803 GB, free: 84.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01096/2.823, allocations: 1.363 MB / 0.8816 GB, free: 84.64 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 171 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 195 * 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.009863/2.833, allocations: 18.25 MB / 0.8994 GB, free: 66.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01126/2.844, allocations: 4.736 MB / 0.904 GB, free: 65.37 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.578e-05/2.844, allocations: 8.891 kB / 0.904 GB, free: 65.37 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002367/2.847, allocations: 1.061 MB / 0.9051 GB, free: 65.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007037/2.854, allocations: 0.8221 MB / 0.9059 GB, free: 64.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04862/2.902, allocations: 14.75 MB / 0.9203 GB, free: 58.51 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01412/2.917, allocations: 5.39 MB / 0.9255 GB, free: 56.79 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01309/2.93, allocations: 2.561 MB / 0.928 GB, free: 55.23 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007481/2.937, allocations: 3.413 MB / 0.9314 GB, free: 52.05 MB / 0.5261 GB Notification: Performance of SimCode: time 1.723e-06/2.937, allocations: 0 / 0.9314 GB, free: 52.05 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7197/3.657, allocations: 107.9 MB / 1.037 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002892/3.657, allocations: 151.5 kB / 1.037 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.756/10.41, allocations: 3.938 kB / 1.037 GB, free: 104.2 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat