Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.943/1.943, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.585e-05/4.597e-05, allocations: 5.547 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1032, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4573/0.5605, allocations: 94 MB / 415.9 MB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.5609, allocations: 77.05 kB / 416 MB, free: 11.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8393/1.4, allocations: 130.8 MB / 0.534 GB, free: 89.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.084e-06/1.4, allocations: 2.625 kB / 0.534 GB, free: 89.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000384/1.401, allocations: 125.6 kB / 0.5341 GB, free: 89.09 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02696/1.428, allocations: 6.368 MB / 0.5403 GB, free: 86.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/1.428, allocations: 7.188 kB / 0.5403 GB, free: 86.57 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005992/1.434, allocations: 1.181 MB / 0.5415 GB, free: 86.47 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05149/1.485, allocations: 7.096 MB / 0.5484 GB, free: 86.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02642/1.512, allocations: 7.239 MB / 0.5555 GB, free: 85.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006876/1.512, allocations: 0.4964 MB / 0.5559 GB, free: 84.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00389/1.516, allocations: 0.6556 MB / 0.5566 GB, free: 84.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0528/1.569, allocations: 16.33 MB / 0.5725 GB, free: 77.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004692/1.57, allocations: 72.81 kB / 0.5726 GB, free: 77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003596/1.573, allocations: 311.4 kB / 0.5729 GB, free: 76.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003567/1.577, allocations: 1.575 MB / 0.5744 GB, free: 76.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04534/1.622, allocations: 13.66 MB / 0.5878 GB, free: 65.65 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1103/1.733, allocations: 66.17 MB / 0.6524 GB, free: 14.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03143/1.764, allocations: 6.946 MB / 0.6592 GB, free: 7.039 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01018/1.774, allocations: 4.174 MB / 0.6633 GB, free: 2.852 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3561/2.131, allocations: 15.04 MB / 0.678 GB, free: 95.84 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.361e-05/2.131, allocations: 65.72 kB / 0.678 GB, free: 95.8 MB / 442.7 MB Notification: Performance of pre-optimization done (n=306): time 8.166e-06/2.131, allocations: 0 / 0.678 GB, free: 95.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=348): time 0.1252/2.256, allocations: 26.02 MB / 0.7034 GB, free: 91.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/2.256, allocations: 233 kB / 0.7036 GB, free: 91.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01286/2.269, allocations: 4.655 MB / 0.7082 GB, free: 90.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001091/2.27, allocations: 76.86 kB / 0.7083 GB, free: 90.08 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004244/2.275, allocations: 4.391 MB / 0.7126 GB, free: 86.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002336/2.277, allocations: 1.28 MB / 0.7138 GB, free: 85.94 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00171/2.279, allocations: 161.1 kB / 0.714 GB, free: 85.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008845/2.28, allocations: 0.651 MB / 0.7146 GB, free: 85.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009554/2.289, allocations: 3.535 MB / 0.718 GB, free: 84.12 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01291/2.302, allocations: 7.939 MB / 0.7258 GB, free: 76.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01273/2.315, allocations: 5.265 MB / 0.7309 GB, free: 75.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00018/2.315, allocations: 52.7 kB / 0.731 GB, free: 75.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=1068) (initialization): time 0.03783/2.353, allocations: 12.45 MB / 0.7432 GB, free: 71.47 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/2.353, allocations: 68.31 kB / 0.7432 GB, free: 71.47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002578/2.353, allocations: 158.9 kB / 0.7434 GB, free: 71.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007249/2.361, allocations: 1.657 MB / 0.745 GB, free: 71.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01338/2.374, allocations: 1.929 MB / 0.7469 GB, free: 70.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02188/2.396, allocations: 11.34 MB / 0.758 GB, free: 61.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01074/2.407, allocations: 498.5 kB / 0.7584 GB, free: 60.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002297/2.409, allocations: 481.8 kB / 0.7589 GB, free: 60.54 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 710 * Number of states: 0 () * Number of discrete variables: 48 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (996): * Single equations (assignments): 991 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003825/2.413, allocations: 0.7287 MB / 0.7596 GB, free: 59.82 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002046/2.415, allocations: 0.4975 MB / 0.7601 GB, free: 59.32 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02468/2.44, allocations: 7.364 MB / 0.7673 GB, free: 53.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.794e-05/2.44, allocations: 36 kB / 0.7673 GB, free: 53.26 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-05/2.44, allocations: 8 kB / 0.7673 GB, free: 53.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.554e-05/2.44, allocations: 20.61 kB / 0.7673 GB, free: 53.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05232/2.492, allocations: 16 MB / 0.783 GB, free: 40.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-05/2.493, allocations: 6.688 kB / 0.783 GB, free: 40.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006554/2.499, allocations: 0.6045 MB / 0.7836 GB, free: 39.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006681/2.506, allocations: 1.412 MB / 0.7849 GB, free: 38.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001156/2.507, allocations: 63.88 kB / 0.785 GB, free: 38.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02109/2.528, allocations: 10.55 MB / 0.7953 GB, free: 29.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/2.528, allocations: 0 / 0.7953 GB, free: 29.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03181/2.56, allocations: 11.89 MB / 0.8069 GB, free: 18.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004563/2.565, allocations: 1.092 MB / 0.808 GB, free: 17.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002409/2.567, allocations: 56 kB / 0.808 GB, free: 17.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006293/2.574, allocations: 263 kB / 0.8083 GB, free: 17.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001419/2.575, allocations: 194.6 kB / 0.8085 GB, free: 17.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009949/2.576, allocations: 91.64 kB / 0.8085 GB, free: 17.45 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008975/2.585, allocations: 3.268 MB / 0.8117 GB, free: 14.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.513e-06/2.585, allocations: 4 kB / 0.8117 GB, free: 14.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01182/2.597, allocations: 1.616 MB / 0.8133 GB, free: 12.62 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (294): * Single equations (assignments): 289 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03316/2.63, allocations: 12.74 MB / 0.8258 GB, free: 15.8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.3312/2.961, allocations: 8.57 MB / 0.8341 GB, free: 107.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/2.961, allocations: 0 / 0.8341 GB, free: 107.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0121/2.974, allocations: 3.684 MB / 0.8377 GB, free: 107.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006221/2.98, allocations: 0.6195 MB / 0.8383 GB, free: 107.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05387/3.034, allocations: 15.08 MB / 0.8531 GB, free: 104.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01233/3.046, allocations: 4.927 MB / 0.8579 GB, free: 104 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01354/3.06, allocations: 2.656 MB / 0.8605 GB, free: 104 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008213/3.068, allocations: 3.04 MB / 0.8634 GB, free: 103.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.322e-06/3.068, allocations: 0 / 0.8634 GB, free: 103.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.26/3.328, allocations: 122.4 MB / 0.9829 GB, free: 16.42 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/3.328, allocations: 180.6 kB / 0.9831 GB, free: 16.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.503/10.83, allocations: 0 / 0.9831 GB, free: 16.2 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat does not exist to compare? outputFormat=mat