Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.447/2.447, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.082e-05/4.09e-05, allocations: 0 / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4055, allocations: 54.85 MB / 359.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1915/0.5971, allocations: 100.8 MB / 460.7 MB, free: 11.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.5974, allocations: 75.95 kB / 460.8 MB, free: 11.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.177/1.775, allocations: 199.4 MB / 0.6447 GB, free: 42.68 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.196e-06/1.775, allocations: 0 / 0.6447 GB, free: 42.68 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005982/1.775, allocations: 200 kB / 0.6449 GB, free: 42.49 MB / 458.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.03817/1.813, allocations: 9.416 MB / 0.6541 GB, free: 32.98 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/1.814, allocations: 12.03 kB / 0.6541 GB, free: 32.97 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009094/1.823, allocations: 1.824 MB / 0.6559 GB, free: 31.13 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0357/1.858, allocations: 4.027 MB / 0.6598 GB, free: 27.08 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03656/1.895, allocations: 10.57 MB / 0.6702 GB, free: 16.43 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001109/1.896, allocations: 0.7903 MB / 0.6709 GB, free: 15.64 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006166/1.902, allocations: 1.035 MB / 0.672 GB, free: 14.6 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08235/1.985, allocations: 23.96 MB / 0.6953 GB, free: 5.027 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008237/1.986, allocations: 95.16 kB / 0.6954 GB, free: 4.934 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006298/1.992, allocations: 495.7 kB / 0.6959 GB, free: 4.449 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00675/1.999, allocations: 2.275 MB / 0.6981 GB, free: 2.168 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7818/2.781, allocations: 18.63 MB / 0.7163 GB, free: 63.57 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1755/2.956, allocations: 94.15 MB / 0.8083 GB, free: 10.65 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03564/2.992, allocations: 7.581 MB / 0.8157 GB, free: 8.332 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007908/3, allocations: 3.037 MB / 0.8186 GB, free: 7.18 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04212/3.042, allocations: 13.29 MB / 0.8316 GB, free: 0.8594 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.049e-05/3.042, allocations: 78.03 kB / 0.8317 GB, free: 0.7891 MB / 474.8 MB Notification: Performance of pre-optimization done (n=336): time 7.313e-06/3.042, allocations: 0 / 0.8317 GB, free: 0.7891 MB / 474.8 MB Notification: Performance of matching and sorting (n=360): time 0.09367/3.136, allocations: 18.77 MB / 0.85 GB, free: 3.922 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/3.136, allocations: 166.9 kB / 0.8502 GB, free: 3.727 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01818/3.154, allocations: 6.396 MB / 0.8564 GB, free: 14.1 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0009176/3.155, allocations: 81.64 kB / 0.8565 GB, free: 14.02 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.008315/3.164, allocations: 6.808 MB / 0.8631 GB, free: 7.941 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002453/3.166, allocations: 1.355 MB / 0.8645 GB, free: 6.746 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001346/3.167, allocations: 219.9 kB / 0.8647 GB, free: 6.531 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0009847/3.168, allocations: 0.7473 MB / 0.8654 GB, free: 5.906 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009452/3.178, allocations: 2.984 MB / 0.8683 GB, free: 3.215 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01646/3.194, allocations: 9.408 MB / 0.8775 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0143/3.209, allocations: 5.233 MB / 0.8826 GB, free: 2.852 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000292/3.209, allocations: 64 kB / 0.8827 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.03743/3.247, allocations: 11.55 MB / 0.894 GB, free: 8.543 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002173/3.247, allocations: 104.2 kB / 0.8941 GB, free: 8.441 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005009/3.247, allocations: 236 kB / 0.8943 GB, free: 8.211 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005334/3.248, allocations: 340 kB / 0.8946 GB, free: 7.879 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01866/3.267, allocations: 2.619 MB / 0.8972 GB, free: 5.602 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006742/3.267, allocations: 455.7 kB / 0.8976 GB, free: 5.207 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01464/3.282, allocations: 0.69 MB / 0.8983 GB, free: 4.621 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003036/3.285, allocations: 0.6348 MB / 0.8989 GB, free: 3.996 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1052 * Number of states: 0 () * Number of discrete variables: 69 (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.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],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.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],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.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],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.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 (1366): * Single equations (assignments): 1363 * 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.003972/3.289, allocations: 0.9432 MB / 0.8998 GB, free: 3.051 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00198/3.291, allocations: 0.6595 MB / 0.9005 GB, free: 2.383 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4542/3.745, allocations: 4.338 MB / 0.9047 GB, free: 118.1 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.975e-05/3.746, allocations: 40.69 kB / 0.9047 GB, free: 118.1 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.771e-05/3.746, allocations: 1.062 kB / 0.9047 GB, free: 118.1 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001196/3.746, allocations: 18.52 kB / 0.9048 GB, free: 118.1 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1039/3.85, allocations: 41.38 MB / 0.9452 GB, free: 114.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003042/3.85, allocations: 89 kB / 0.9452 GB, free: 114.5 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005806/3.856, allocations: 0.8438 MB / 0.9461 GB, free: 114.5 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001665/3.856, allocations: 126.9 kB / 0.9462 GB, free: 114.5 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008259/3.857, allocations: 196 kB / 0.9464 GB, free: 114.5 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001375/3.857, allocations: 172 kB / 0.9465 GB, free: 114.5 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.272e-05/3.857, allocations: 138.3 kB / 0.9467 GB, free: 114.5 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01645/3.874, allocations: 25.09 MB / 0.9712 GB, free: 90.78 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002763/3.876, allocations: 0.8365 MB / 0.972 GB, free: 90.68 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002429/3.879, allocations: 203.4 kB / 0.9722 GB, free: 90.68 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007208/3.886, allocations: 271.2 kB / 0.9724 GB, free: 90.68 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001363/3.887, allocations: 0.5686 MB / 0.973 GB, free: 90.61 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004907/3.888, allocations: 238.9 kB / 0.9732 GB, free: 90.61 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01157/3.9, allocations: 4.461 MB / 0.9776 GB, free: 90.37 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.092e-06/3.9, allocations: 2.156 kB / 0.9776 GB, free: 90.37 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01477/3.914, allocations: 1.869 MB / 0.9794 GB, free: 90.37 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 402 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (444): * Single equations (assignments): 441 * 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.01968/3.934, allocations: 40.81 MB / 1.019 GB, free: 50.34 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01714/3.951, allocations: 6.859 MB / 1.026 GB, free: 48.27 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 9.08e-05/3.952, allocations: 16.91 kB / 1.026 GB, free: 48.27 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.005248/3.957, allocations: 2.009 MB / 1.028 GB, free: 47.59 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009701/3.967, allocations: 1.083 MB / 1.029 GB, free: 47.21 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07437/4.041, allocations: 21.66 MB / 1.05 GB, free: 34.31 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01819/4.059, allocations: 7.151 MB / 1.057 GB, free: 29.11 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.01718/4.076, allocations: 3.327 MB / 1.06 GB, free: 27.02 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01067/4.087, allocations: 4.758 MB / 1.065 GB, free: 22.59 MB / 0.5262 GB Notification: Performance of SimCode: time 1.613e-06/4.087, allocations: 0 / 1.065 GB, free: 22.59 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7507/4.838, allocations: 144.4 MB / 1.206 GB, free: 69.47 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002695/4.838, allocations: 169.3 kB / 1.206 GB, free: 69.24 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.751/13.59, allocations: 0 / 1.206 GB, free: 69.24 MB / 0.5262 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat does not exist to compare? outputFormat=mat