Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.032/2.032, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.043e-05/4.051e-05, allocations: 4 kB / 273.2 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1042, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4399/0.5441, allocations: 96.98 MB / 418.8 MB, free: 8.801 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.5444, allocations: 78.7 kB / 418.9 MB, free: 8.727 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6876/1.232, allocations: 91.09 MB / 0.4981 GB, free: 93.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.414e-06/1.232, allocations: 0 / 0.4981 GB, free: 93.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003156/1.233, allocations: 87.22 kB / 0.4981 GB, free: 93.18 MB / 426.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.01925/1.252, allocations: 4.159 MB / 0.5022 GB, free: 91.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/1.252, allocations: 9.625 kB / 0.5022 GB, free: 91.8 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004754/1.257, allocations: 0.8282 MB / 0.503 GB, free: 91.72 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0361/1.293, allocations: 4.434 MB / 0.5073 GB, free: 91.42 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02/1.313, allocations: 4.722 MB / 0.512 GB, free: 90.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007558/1.314, allocations: 350.6 kB / 0.5123 GB, free: 90.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003153/1.317, allocations: 467.7 kB / 0.5127 GB, free: 90.83 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03276/1.35, allocations: 10.5 MB / 0.523 GB, free: 88.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003711/1.35, allocations: 55.59 kB / 0.523 GB, free: 88.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002564/1.353, allocations: 223.8 kB / 0.5233 GB, free: 88.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002262/1.355, allocations: 0.9915 MB / 0.5242 GB, free: 88.13 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02352/1.378, allocations: 8.253 MB / 0.5323 GB, free: 88.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07024/1.449, allocations: 46.89 MB / 0.5781 GB, free: 53.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008953/1.458, allocations: 2.895 MB / 0.5809 GB, free: 52.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003443/1.461, allocations: 1.59 MB / 0.5825 GB, free: 51.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005804/1.462, allocations: 345.4 kB / 0.5828 GB, free: 51.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/1.462, allocations: 55.17 kB / 0.5828 GB, free: 51.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=176): time 5.51e-06/1.462, allocations: 0 / 0.5828 GB, free: 51.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=194): time 0.04214/1.504, allocations: 11.28 MB / 0.5939 GB, free: 46.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.987e-05/1.504, allocations: 203.4 kB / 0.594 GB, free: 45.87 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009051/1.513, allocations: 3.358 MB / 0.5973 GB, free: 44.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004951/1.514, allocations: 54.12 kB / 0.5974 GB, free: 44.56 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004579/1.518, allocations: 3.154 MB / 0.6005 GB, free: 42.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002051/1.521, allocations: 0.7342 MB / 0.6012 GB, free: 41.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001443/1.522, allocations: 121.2 kB / 0.6013 GB, free: 41.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001306/1.524, allocations: 0.5637 MB / 0.6018 GB, free: 41.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007457/1.531, allocations: 1.987 MB / 0.6038 GB, free: 39.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007518/1.539, allocations: 5.613 MB / 0.6093 GB, free: 32.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007295/1.546, allocations: 3.334 MB / 0.6125 GB, free: 29.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001191/1.546, allocations: 36 kB / 0.6126 GB, free: 29.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=782) (initialization): time 0.02018/1.566, allocations: 7.149 MB / 0.6195 GB, free: 23.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/1.567, allocations: 64.06 kB / 0.6196 GB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001934/1.567, allocations: 131.7 kB / 0.6197 GB, free: 22.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001404/1.568, allocations: 378.5 kB / 0.6201 GB, free: 22.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009361/1.578, allocations: 1.431 MB / 0.6215 GB, free: 21.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00502/1.583, allocations: 2.989 MB / 0.6244 GB, free: 18.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007055/1.59, allocations: 347.6 kB / 0.6247 GB, free: 18.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00128/1.591, allocations: 366.8 kB / 0.6251 GB, free: 17.77 MB / 426.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.001302/1.592, allocations: 0.5706 MB / 0.6256 GB, free: 17.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008902/1.593, allocations: 343.5 kB / 0.626 GB, free: 16.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006984/1.6, allocations: 2.616 MB / 0.6285 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.902e-05/1.6, allocations: 20 kB / 0.6285 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/1.6, allocations: 4 kB / 0.6285 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.722e-05/1.6, allocations: 10.64 kB / 0.6286 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02201/1.623, allocations: 7.455 MB / 0.6358 GB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-05/1.623, allocations: 4 kB / 0.6358 GB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003478/1.626, allocations: 347.9 kB / 0.6362 GB, free: 8.305 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009449/1.627, allocations: 178.1 kB / 0.6363 GB, free: 8.168 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004683/1.628, allocations: 39.5 kB / 0.6364 GB, free: 8.137 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00404/1.632, allocations: 2.548 MB / 0.6389 GB, free: 5.676 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.632, allocations: 7.625 kB / 0.6389 GB, free: 5.672 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01165/1.643, allocations: 5.158 MB / 0.6439 GB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002483/1.646, allocations: 0.6292 MB / 0.6445 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001202/1.647, allocations: 32 kB / 0.6446 GB, free: 472 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003531/1.651, allocations: 116.9 kB / 0.6447 GB, free: 388 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006818/1.651, allocations: 124.9 kB / 0.6448 GB, free: 308 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002023/1.652, allocations: 51.12 kB / 0.6448 GB, free: 264 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0117/1.663, allocations: 2.632 MB / 0.6474 GB, free: 14.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.312e-06/1.663, allocations: 4 kB / 0.6474 GB, free: 14.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007696/1.671, allocations: 0.9844 MB / 0.6484 GB, free: 13.79 MB / 442.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.0168/1.688, allocations: 5.983 MB / 0.6542 GB, free: 7.758 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0185/1.707, allocations: 4.698 MB / 0.6588 GB, free: 3.074 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/1.707, allocations: 0 / 0.6588 GB, free: 3.074 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005912/1.713, allocations: 1.513 MB / 0.6603 GB, free: 1.551 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005002/1.718, allocations: 399.3 kB / 0.6607 GB, free: 1.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3618/2.079, allocations: 9.632 MB / 0.6701 GB, free: 96.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01023/2.09, allocations: 3.546 MB / 0.6735 GB, free: 95.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005623/2.095, allocations: 2.044 MB / 0.6755 GB, free: 95.9 MB / 442.7 MB Notification: Performance of SimCode: time 1.503e-06/2.095, allocations: 0 / 0.6755 GB, free: 95.9 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.299/6.395, allocations: 102.1 MB / 0.7752 GB, free: 44.48 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat does not exist to compare? outputFormat=mat