Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.321/2.321, allocations: 235.1 MB / 242.2 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.28e-05/2.285e-05, allocations: 3.938 kB / 299.5 MB, free: 6.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3912, allocations: 54.85 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1837/0.575, allocations: 100.2 MB / 454.5 MB, free: 14.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/0.5753, allocations: 71.97 kB / 454.6 MB, free: 13.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.133/1.708, allocations: 195.9 MB / 0.6352 GB, free: 5.891 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.615e-06/1.709, allocations: 0 / 0.6352 GB, free: 5.891 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006466/1.709, allocations: 199.9 kB / 0.6354 GB, free: 5.695 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.04881/1.758, allocations: 9.412 MB / 0.6446 GB, free: 12.19 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.534e-05/1.758, allocations: 12.03 kB / 0.6446 GB, free: 12.18 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05186/1.81, allocations: 4.027 MB / 0.6485 GB, free: 8.129 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.056/1.866, allocations: 10.54 MB / 0.6588 GB, free: 13.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001401/1.868, allocations: 348 kB / 0.6591 GB, free: 13.16 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008127/1.876, allocations: 0.6092 MB / 0.6597 GB, free: 12.55 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.7826/2.658, allocations: 14.54 MB / 0.6739 GB, free: 64.14 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06264/2.721, allocations: 20.73 MB / 0.6942 GB, free: 59.75 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006662/2.722, allocations: 101.6 kB / 0.6943 GB, free: 59.75 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005645/2.727, allocations: 48.31 kB / 0.6943 GB, free: 59.75 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005963/2.733, allocations: 2.273 MB / 0.6965 GB, free: 59.73 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1695/2.903, allocations: 93.8 MB / 0.7881 GB, free: 21.66 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009366/2.912, allocations: 4.149 MB / 0.7922 GB, free: 19.78 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004943/2.917, allocations: 1.934 MB / 0.7941 GB, free: 19.04 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003458/2.918, allocations: 58.81 kB / 0.7941 GB, free: 19.03 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.748e-05/2.918, allocations: 70 kB / 0.7942 GB, free: 18.96 MB / 490.8 MB Notification: Performance of pre-optimization done (n=330): time 7.444e-06/2.918, allocations: 0 / 0.7942 GB, free: 18.96 MB / 490.8 MB Notification: Performance of matching and sorting (n=342): time 0.05602/2.974, allocations: 14.88 MB / 0.8087 GB, free: 11.83 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/2.974, allocations: 166 kB / 0.8089 GB, free: 11.67 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01596/2.99, allocations: 5.663 MB / 0.8144 GB, free: 9.562 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000801/2.991, allocations: 25.7 kB / 0.8144 GB, free: 9.531 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007972/2.999, allocations: 6.978 MB / 0.8213 GB, free: 4.145 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002421/3.001, allocations: 1.259 MB / 0.8225 GB, free: 3.219 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001604/3.003, allocations: 0 / 0.8225 GB, free: 3.219 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001237/3.004, allocations: 0.7669 MB / 0.8232 GB, free: 2.719 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00842/3.013, allocations: 2.866 MB / 0.826 GB, free: 1.703 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0159/3.029, allocations: 9.629 MB / 0.8354 GB, free: 6.621 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0183/3.047, allocations: 5.168 MB / 0.8405 GB, free: 2.367 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004174/3.048, allocations: 68 kB / 0.8406 GB, free: 2.301 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1444) (initialization): time 0.04637/3.094, allocations: 11.06 MB / 0.8514 GB, free: 8.496 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003044/3.094, allocations: 108 kB / 0.8515 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006053/3.095, allocations: 244 kB / 0.8517 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007192/3.096, allocations: 360 kB / 0.852 GB, free: 7.801 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02237/3.118, allocations: 2.712 MB / 0.8547 GB, free: 5.438 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000662/3.119, allocations: 480 kB / 0.8551 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01412/3.133, allocations: 498.8 kB / 0.8556 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003168/3.136, allocations: 0.6625 MB / 0.8563 GB, free: 3.98 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1112 * Number of states: 0 () * Number of discrete variables: 69 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1420): * Single equations (assignments): 1417 * 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.004278/3.141, allocations: 0.706 MB / 0.8569 GB, free: 3.273 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.4025/3.543, allocations: 3.719 MB / 0.8606 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002527/3.546, allocations: 0.616 MB / 0.8612 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01166/3.557, allocations: 3.562 MB / 0.8647 GB, free: 99.98 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-05/3.558, allocations: 41.91 kB / 0.8647 GB, free: 99.98 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/3.558, allocations: 1.594 kB / 0.8647 GB, free: 99.98 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.716e-05/3.558, allocations: 16.66 kB / 0.8647 GB, free: 99.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09765/3.655, allocations: 45.72 MB / 0.9094 GB, free: 97.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002378/3.656, allocations: 69.81 kB / 0.9094 GB, free: 97.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005554/3.661, allocations: 0.7057 MB / 0.9101 GB, free: 97.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001379/3.661, allocations: 98.81 kB / 0.9102 GB, free: 97.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008686/3.662, allocations: 108.3 kB / 0.9103 GB, free: 97.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001155/3.662, allocations: 130.1 kB / 0.9104 GB, free: 97.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-05/3.662, allocations: 106.5 kB / 0.9105 GB, free: 97.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01599/3.678, allocations: 18.97 MB / 0.9291 GB, free: 78.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00265/3.681, allocations: 0.7256 MB / 0.9298 GB, free: 78.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0027/3.684, allocations: 100.5 kB / 0.9299 GB, free: 78.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007189/3.691, allocations: 211.9 kB / 0.9301 GB, free: 78.89 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001362/3.693, allocations: 455.2 kB / 0.9305 GB, free: 78.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005266/3.693, allocations: 193.6 kB / 0.9307 GB, free: 78.84 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01052/3.704, allocations: 3.777 MB / 0.9344 GB, free: 78.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.51e-07/3.704, allocations: 1.312 kB / 0.9344 GB, free: 78.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01589/3.72, allocations: 1.611 MB / 0.936 GB, free: 78.04 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 306 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (358): * Single equations (assignments): 355 * 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.01934/3.739, allocations: 31.87 MB / 0.9671 GB, free: 47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01632/3.755, allocations: 6.799 MB / 0.9737 GB, free: 45.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.409e-05/3.755, allocations: 8.219 kB / 0.9737 GB, free: 45.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004784/3.76, allocations: 1.884 MB / 0.9756 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00854/3.769, allocations: 0.8055 MB / 0.9764 GB, free: 44.42 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06769/3.837, allocations: 20.51 MB / 0.9964 GB, free: 32.55 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01845/3.855, allocations: 7.094 MB / 1.003 GB, free: 27.41 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01757/3.873, allocations: 3.378 MB / 1.007 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01053/3.883, allocations: 4.703 MB / 1.011 GB, free: 20.94 MB / 0.5105 GB Notification: Performance of SimCode: time 1.393e-06/3.883, allocations: 0 / 1.011 GB, free: 20.94 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7167/4.6, allocations: 131.2 MB / 1.139 GB, free: 94.24 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002662/4.6, allocations: 147.4 kB / 1.139 GB, free: 94.05 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.884/12.48, allocations: 0 / 1.139 GB, free: 94.05 MB / 0.5262 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat does not exist to compare? outputFormat=mat