Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.297/2.297, allocations: 235 MB / 247.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.782e-05/3.793e-05, allocations: 4 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3959, allocations: 54.85 MB / 359.9 MB, free: 2.773 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1897/0.5857, allocations: 103.8 MB / 463.6 MB, free: 9.004 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.586, allocations: 76.73 kB / 463.7 MB, free: 8.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7024/1.288, allocations: 91.08 MB / 0.5418 GB, free: 103.5 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.154e-06/1.288, allocations: 0 / 0.5418 GB, free: 103.5 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002945/1.289, allocations: 83.25 kB / 0.5419 GB, free: 103.5 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: 1642 * Number of variables: 1642 Notification: Performance of Generate backend data structure: time 0.01827/1.307, allocations: 4.148 MB / 0.5459 GB, free: 101.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/1.307, allocations: 8.688 kB / 0.5459 GB, free: 101.7 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004215/1.311, allocations: 0.8302 MB / 0.5468 GB, free: 101.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03391/1.345, allocations: 4.437 MB / 0.5511 GB, free: 101.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01862/1.364, allocations: 4.727 MB / 0.5557 GB, free: 100.8 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004514/1.364, allocations: 348.9 kB / 0.556 GB, free: 100.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00266/1.367, allocations: 465 kB / 0.5565 GB, free: 100.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02966/1.397, allocations: 10.56 MB / 0.5668 GB, free: 97.22 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003066/1.397, allocations: 62.95 kB / 0.5669 GB, free: 97.21 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002289/1.4, allocations: 223.2 kB / 0.5671 GB, free: 97.09 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002212/1.402, allocations: 0.9936 MB / 0.568 GB, free: 96.92 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02352/1.425, allocations: 8.444 MB / 0.5763 GB, free: 94.13 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0681/1.494, allocations: 46.88 MB / 0.6221 GB, free: 58.43 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008809/1.502, allocations: 2.917 MB / 0.6249 GB, free: 55.98 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00342/1.506, allocations: 1.589 MB / 0.6265 GB, free: 54.53 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000585/1.506, allocations: 338.3 kB / 0.6268 GB, free: 54.17 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.123e-05/1.507, allocations: 47.56 kB / 0.6268 GB, free: 54.12 MB / 458.7 MB Notification: Performance of pre-optimization done (n=176): time 6.102e-06/1.507, allocations: 4 kB / 0.6268 GB, free: 54.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=194): time 0.04165/1.548, allocations: 11.28 MB / 0.6379 GB, free: 44.05 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.017e-05/1.548, allocations: 201.2 kB / 0.638 GB, free: 43.81 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00769/1.556, allocations: 3.342 MB / 0.6413 GB, free: 40.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004825/1.557, allocations: 53.7 kB / 0.6414 GB, free: 40.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002664/1.559, allocations: 3.215 MB / 0.6445 GB, free: 37.92 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001152/1.56, allocations: 0.7352 MB / 0.6452 GB, free: 37.27 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007576/1.561, allocations: 120 kB / 0.6453 GB, free: 37.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.00047/1.562, allocations: 0.554 MB / 0.6459 GB, free: 36.67 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005104/1.567, allocations: 1.993 MB / 0.6478 GB, free: 34.81 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007482/1.574, allocations: 5.651 MB / 0.6533 GB, free: 27.32 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007402/1.582, allocations: 3.329 MB / 0.6566 GB, free: 24.01 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001188/1.582, allocations: 40 kB / 0.6566 GB, free: 23.97 MB / 458.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02005/1.602, allocations: 7.62 MB / 0.6641 GB, free: 16.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.858e-05/1.602, allocations: 63.94 kB / 0.6641 GB, free: 16.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001587/1.602, allocations: 128 kB / 0.6642 GB, free: 16.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/1.604, allocations: 381.4 kB / 0.6646 GB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009144/1.613, allocations: 1.431 MB / 0.666 GB, free: 14.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004872/1.618, allocations: 2.993 MB / 0.6689 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006827/1.625, allocations: 347.7 kB / 0.6693 GB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001406/1.626, allocations: 375.7 kB / 0.6696 GB, free: 10.52 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 590 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (744): * Single equations (assignments): 740 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002046/1.628, allocations: 0.5617 MB / 0.6702 GB, free: 9.957 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000873/1.629, allocations: 341.3 kB / 0.6705 GB, free: 9.621 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007593/1.637, allocations: 2.621 MB / 0.6731 GB, free: 6.988 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.204e-05/1.637, allocations: 20 kB / 0.6731 GB, free: 6.969 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/1.637, allocations: 4 kB / 0.6731 GB, free: 6.965 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.199e-05/1.637, allocations: 11.97 kB / 0.6731 GB, free: 6.953 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0238/1.661, allocations: 7.452 MB / 0.6804 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.66e-05/1.661, allocations: 0 / 0.6804 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003757/1.665, allocations: 351.5 kB / 0.6807 GB, free: 15.13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009972/1.666, allocations: 176.7 kB / 0.6809 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004938/1.666, allocations: 35.98 kB / 0.6809 GB, free: 14.92 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004773/1.671, allocations: 2.56 MB / 0.6834 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.671, allocations: 3.984 kB / 0.6834 GB, free: 12.23 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01406/1.685, allocations: 5.145 MB / 0.6884 GB, free: 7.055 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002593/1.688, allocations: 0.6292 MB / 0.689 GB, free: 6.402 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001058/1.689, allocations: 35.95 kB / 0.6891 GB, free: 6.367 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003541/1.692, allocations: 115.9 kB / 0.6892 GB, free: 6.254 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008232/1.693, allocations: 129 kB / 0.6893 GB, free: 6.125 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000305/1.694, allocations: 55.98 kB / 0.6894 GB, free: 6.07 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007014/1.701, allocations: 2.322 MB / 0.6916 GB, free: 3.766 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.333e-06/1.701, allocations: 0 / 0.6916 GB, free: 3.766 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007895/1.709, allocations: 0.9882 MB / 0.6926 GB, free: 2.781 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 160 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01493/1.724, allocations: 5.971 MB / 0.6984 GB, free: 12.76 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01331/1.737, allocations: 4.881 MB / 0.7032 GB, free: 7.906 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.477e-06/1.737, allocations: 4 kB / 0.7032 GB, free: 7.902 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004223/1.741, allocations: 1.532 MB / 0.7047 GB, free: 6.355 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00352/1.745, allocations: 388.1 kB / 0.7051 GB, free: 5.984 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3647/2.11, allocations: 9.132 MB / 0.714 GB, free: 120.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009622/2.119, allocations: 3.543 MB / 0.7174 GB, free: 119.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01088/2.13, allocations: 1.946 MB / 0.7193 GB, free: 119.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005346/2.136, allocations: 1.995 MB / 0.7213 GB, free: 119.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.302e-06/2.136, allocations: 0 / 0.7213 GB, free: 119.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1843/2.32, allocations: 74.87 MB / 0.7944 GB, free: 92.03 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/2.32, allocations: 182.9 kB / 0.7946 GB, free: 91.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.171/7.491, allocations: 0 / 0.7946 GB, free: 91.8 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat does not exist to compare? outputFormat=mat