Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.882/1.882, allocations: 209.4 MB / 216.5 MB, free: 6.656 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.134e-05/2.138e-05, allocations: 4 kB / 267.6 MB, free: 4.941 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1009, allocations: 48.71 MB / 316.3 MB, free: 4.141 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4528/0.5538, allocations: 96.5 MB / 412.8 MB, free: 12.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.5542, allocations: 79.95 kB / 412.9 MB, free: 12.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6415/1.196, allocations: 89.13 MB / 0.4903 GB, free: 86.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.364e-06/1.196, allocations: 0 / 0.4903 GB, free: 86.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002534/1.196, allocations: 83.41 kB / 0.4904 GB, free: 86.66 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01727/1.213, allocations: 4.153 MB / 0.4944 GB, free: 84.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/1.213, allocations: 9.125 kB / 0.4944 GB, free: 84.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03346/1.247, allocations: 4.437 MB / 0.4988 GB, free: 84.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01847/1.265, allocations: 4.719 MB / 0.5034 GB, free: 83.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003327/1.266, allocations: 152.6 kB / 0.5035 GB, free: 83.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003059/1.269, allocations: 266.8 kB / 0.5038 GB, free: 83.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01691/1.286, allocations: 6.304 MB / 0.5099 GB, free: 83.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02486/1.311, allocations: 9.71 MB / 0.5194 GB, free: 81.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002684/1.311, allocations: 64.38 kB / 0.5195 GB, free: 81.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001775/1.313, allocations: 36.28 kB / 0.5195 GB, free: 81.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002058/1.315, allocations: 0.984 MB / 0.5205 GB, free: 81.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0623/1.377, allocations: 44.73 MB / 0.5641 GB, free: 48.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004839/1.382, allocations: 2.708 MB / 0.5668 GB, free: 46.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002908/1.385, allocations: 1.539 MB / 0.5683 GB, free: 45.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005509/1.386, allocations: 351.9 kB / 0.5686 GB, free: 45.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/1.386, allocations: 54.91 kB / 0.5687 GB, free: 45.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=176): time 5.891e-06/1.386, allocations: 0 / 0.5687 GB, free: 45.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=194): time 0.03583/1.422, allocations: 12.35 MB / 0.5807 GB, free: 39.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.144e-05/1.422, allocations: 197.2 kB / 0.5809 GB, free: 39.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005783/1.427, allocations: 2.983 MB / 0.5838 GB, free: 36.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004537/1.428, allocations: 25.7 kB / 0.5839 GB, free: 36.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002495/1.43, allocations: 3.293 MB / 0.5871 GB, free: 33.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00105/1.432, allocations: 0.7169 MB / 0.5878 GB, free: 32.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006181/1.432, allocations: 0 / 0.5878 GB, free: 32.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003884/1.433, allocations: 0.5693 MB / 0.5883 GB, free: 32.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004365/1.437, allocations: 1.933 MB / 0.5902 GB, free: 30.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00701/1.444, allocations: 5.767 MB / 0.5959 GB, free: 23.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007135/1.451, allocations: 3.314 MB / 0.5991 GB, free: 20.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001159/1.451, allocations: 40 kB / 0.5991 GB, free: 20.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=818) (initialization): time 0.01859/1.47, allocations: 7.018 MB / 0.606 GB, free: 14.24 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/1.47, allocations: 64 kB / 0.606 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001731/1.47, allocations: 136.9 kB / 0.6062 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/1.472, allocations: 390.3 kB / 0.6065 GB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009204/1.481, allocations: 1.495 MB / 0.608 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00448/1.485, allocations: 2.91 MB / 0.6108 GB, free: 9.648 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00678/1.492, allocations: 239.2 kB / 0.6111 GB, free: 9.449 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001564/1.494, allocations: 383.1 kB / 0.6114 GB, free: 9.082 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * 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 (780): * Single equations (assignments): 776 * 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.002206/1.496, allocations: 447.8 kB / 0.6119 GB, free: 8.645 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007136/1.503, allocations: 2.785 MB / 0.6146 GB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001083/1.504, allocations: 319.9 kB / 0.6149 GB, free: 5.898 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006839/1.511, allocations: 2.488 MB / 0.6173 GB, free: 3.848 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.247e-05/1.511, allocations: 21.17 kB / 0.6173 GB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/1.511, allocations: 4 kB / 0.6173 GB, free: 3.824 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.103e-05/1.511, allocations: 10.94 kB / 0.6174 GB, free: 3.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02145/1.533, allocations: 6.551 MB / 0.6238 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.015e-05/1.533, allocations: 0 / 0.6238 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003664/1.537, allocations: 347.5 kB / 0.6241 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009847/1.538, allocations: 188.2 kB / 0.6243 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004447/1.538, allocations: 11.98 kB / 0.6243 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004521/1.543, allocations: 2.449 MB / 0.6267 GB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/1.543, allocations: 3.938 kB / 0.6267 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01257/1.555, allocations: 5.011 MB / 0.6316 GB, free: 6.164 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002502/1.558, allocations: 0.5944 MB / 0.6321 GB, free: 5.547 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001009/1.559, allocations: 4 kB / 0.6321 GB, free: 5.543 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003067/1.562, allocations: 91.94 kB / 0.6322 GB, free: 5.453 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000878/1.563, allocations: 132.5 kB / 0.6324 GB, free: 5.324 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002395/1.563, allocations: 55.98 kB / 0.6324 GB, free: 5.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005762/1.569, allocations: 1.98 MB / 0.6343 GB, free: 3.301 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.052e-06/1.569, allocations: 0 / 0.6343 GB, free: 3.301 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007759/1.577, allocations: 0.8515 MB / 0.6352 GB, free: 2.449 MB / 426.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.3108/1.888, allocations: 5.793 MB / 0.6408 GB, free: 90.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01153/1.899, allocations: 4.665 MB / 0.6454 GB, free: 90.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.899, allocations: 4.344 kB / 0.6454 GB, free: 90.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003932/1.903, allocations: 1.489 MB / 0.6468 GB, free: 90.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003243/1.907, allocations: 303 kB / 0.6471 GB, free: 90.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03469/1.941, allocations: 8.937 MB / 0.6559 GB, free: 88.83 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008636/1.95, allocations: 3.545 MB / 0.6593 GB, free: 88.03 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01014/1.96, allocations: 2.013 MB / 0.6613 GB, free: 87.99 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005491/1.966, allocations: 1.986 MB / 0.6632 GB, free: 87.98 MB / 426.7 MB Notification: Performance of SimCode: time 1.483e-06/1.966, allocations: 0.5469 kB / 0.6632 GB, free: 87.98 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1744/2.14, allocations: 69.68 MB / 0.7313 GB, free: 54.35 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/2.141, allocations: 153.8 kB / 0.7314 GB, free: 54.15 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.511/6.651, allocations: 0 / 0.7314 GB, free: 54.15 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat does not exist to compare? outputFormat=mat