Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_DifferentiationOfForces",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.5/2.5, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.474e-05/2.483e-05, allocations: 4 kB / 299.6 MB, free: 180 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3756, allocations: 54.85 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2308/0.6065, allocations: 103.1 MB / 457.6 MB, free: 7.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/0.6069, allocations: 75.97 kB / 457.6 MB, free: 7.836 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7169/1.324, allocations: 89.13 MB / 0.5339 GB, free: 31.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.645e-06/1.324, allocations: 0 / 0.5339 GB, free: 31.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003626/1.324, allocations: 88 kB / 0.534 GB, free: 30.93 MB / 394.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.02217/1.346, allocations: 4.138 MB / 0.5381 GB, free: 26.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.898e-05/1.347, allocations: 8.031 kB / 0.5381 GB, free: 26.72 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0427/1.389, allocations: 4.428 MB / 0.5424 GB, free: 22.28 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01886/1.408, allocations: 4.749 MB / 0.547 GB, free: 17.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002507/1.408, allocations: 148 kB / 0.5472 GB, free: 17.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002118/1.411, allocations: 267.9 kB / 0.5474 GB, free: 17.05 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01652/1.427, allocations: 6.301 MB / 0.5536 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02396/1.451, allocations: 9.723 MB / 0.5631 GB, free: 4 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002915/1.451, allocations: 59.45 kB / 0.5631 GB, free: 15.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00103/1.453, allocations: 28 kB / 0.5632 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002517/1.455, allocations: 0.9916 MB / 0.5641 GB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0813/1.536, allocations: 44.74 MB / 0.6078 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006365/1.543, allocations: 2.709 MB / 0.6105 GB, free: 14.03 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003694/1.547, allocations: 1.544 MB / 0.612 GB, free: 12.48 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006756/1.547, allocations: 340.3 kB / 0.6123 GB, free: 12.09 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.324e-05/1.547, allocations: 56.09 kB / 0.6124 GB, free: 12.03 MB / 458.7 MB Notification: Performance of pre-optimization done (n=176): time 5.531e-06/1.547, allocations: 4 kB / 0.6124 GB, free: 12.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=194): time 0.3837/1.931, allocations: 12.35 MB / 0.6244 GB, free: 104.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/1.931, allocations: 199.6 kB / 0.6246 GB, free: 104.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008238/1.939, allocations: 2.963 MB / 0.6275 GB, free: 104.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004794/1.94, allocations: 25.7 kB / 0.6275 GB, free: 104.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003055/1.943, allocations: 3.293 MB / 0.6307 GB, free: 103 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00114/1.944, allocations: 0.7216 MB / 0.6314 GB, free: 102.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006571/1.945, allocations: 0 / 0.6314 GB, free: 102.6 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004348/1.945, allocations: 0.5682 MB / 0.632 GB, free: 102.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00461/1.95, allocations: 1.937 MB / 0.6339 GB, free: 102.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00733/1.957, allocations: 5.762 MB / 0.6395 GB, free: 97.33 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007575/1.965, allocations: 3.301 MB / 0.6427 GB, free: 97.31 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001274/1.965, allocations: 40.19 kB / 0.6428 GB, free: 97.31 MB / 458.7 MB Notification: Performance of matching and sorting (n=818) (initialization): time 0.02016/1.985, allocations: 7.035 MB / 0.6496 GB, free: 96.84 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/1.985, allocations: 63.5 kB / 0.6497 GB, free: 96.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001694/1.986, allocations: 136.5 kB / 0.6498 GB, free: 96.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/1.987, allocations: 389.2 kB / 0.6502 GB, free: 96.83 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009929/1.997, allocations: 1.492 MB / 0.6517 GB, free: 96.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004969/2.002, allocations: 2.9 MB / 0.6545 GB, free: 95.33 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007337/2.009, allocations: 236.2 kB / 0.6547 GB, free: 95.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001272/2.011, allocations: 389.7 kB / 0.6551 GB, free: 95.31 MB / 458.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.001541/2.012, allocations: 443.6 kB / 0.6555 GB, free: 94.98 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007283/2.019, allocations: 2.785 MB / 0.6582 GB, free: 94.71 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/2.021, allocations: 322.5 kB / 0.6585 GB, free: 94.54 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006787/2.027, allocations: 2.482 MB / 0.661 GB, free: 94.41 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.087e-05/2.027, allocations: 18.53 kB / 0.661 GB, free: 94.41 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/2.027, allocations: 6.062 kB / 0.661 GB, free: 94.41 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-05/2.027, allocations: 6.609 kB / 0.661 GB, free: 94.41 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02107/2.049, allocations: 6.532 MB / 0.6674 GB, free: 92.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/2.049, allocations: 0 / 0.6674 GB, free: 92.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003627/2.052, allocations: 351.8 kB / 0.6677 GB, free: 92.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009321/2.053, allocations: 172.8 kB / 0.6679 GB, free: 92.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003946/2.054, allocations: 22.41 kB / 0.6679 GB, free: 92.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00412/2.058, allocations: 2.46 MB / 0.6703 GB, free: 90.54 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/2.058, allocations: 0 / 0.6703 GB, free: 90.54 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/2.069, allocations: 5.004 MB / 0.6752 GB, free: 88.37 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002227/2.071, allocations: 0.592 MB / 0.6758 GB, free: 88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008472/2.072, allocations: 3.562 kB / 0.6758 GB, free: 88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003119/2.075, allocations: 90.06 kB / 0.6759 GB, free: 88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007765/2.076, allocations: 131.6 kB / 0.676 GB, free: 87.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002469/2.076, allocations: 56.48 kB / 0.676 GB, free: 87.97 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00426/2.081, allocations: 1.97 MB / 0.678 GB, free: 87.24 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.92e-07/2.081, allocations: 0 / 0.678 GB, free: 87.24 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007555/2.088, allocations: 0.8486 MB / 0.6788 GB, free: 87.24 MB / 458.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.01138/2.1, allocations: 5.799 MB / 0.6845 GB, free: 84.38 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01082/2.11, allocations: 4.67 MB / 0.689 GB, free: 82.21 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/2.11, allocations: 7.844 kB / 0.689 GB, free: 82.21 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003087/2.114, allocations: 1.49 MB / 0.6905 GB, free: 80.87 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/2.116, allocations: 297 kB / 0.6908 GB, free: 80.62 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02805/2.144, allocations: 8.927 MB / 0.6995 GB, free: 72.95 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006023/2.15, allocations: 3.534 MB / 0.7029 GB, free: 70.26 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009242/2.16, allocations: 2.013 MB / 0.7049 GB, free: 69 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004293/2.164, allocations: 1.99 MB / 0.7068 GB, free: 67.16 MB / 458.7 MB Notification: Performance of SimCode: time 1.432e-06/2.164, allocations: 0 / 0.7068 GB, free: 67.16 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1773/2.341, allocations: 69.7 MB / 0.7749 GB, free: 4.711 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002721/2.342, allocations: 154.4 kB / 0.775 GB, free: 4.516 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.011/7.353, allocations: 0 / 0.775 GB, free: 4.516 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat does not exist to compare? outputFormat=mat