Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.43/2.43, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.355e-05/3.368e-05, allocations: 0 / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4008, allocations: 54.85 MB / 359.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1865/0.5874, allocations: 102.9 MB / 462.7 MB, free: 9.914 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.5878, allocations: 72.55 kB / 462.8 MB, free: 9.844 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9143/1.502, allocations: 138.4 MB / 0.5871 GB, free: 96.42 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.925e-06/1.502, allocations: 0 / 0.5871 GB, free: 96.42 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004499/1.503, allocations: 137.3 kB / 0.5873 GB, free: 96.42 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: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.02888/1.532, allocations: 6.797 MB / 0.5939 GB, free: 91.97 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/1.532, allocations: 10 kB / 0.5939 GB, free: 91.97 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006578/1.538, allocations: 1.237 MB / 0.5951 GB, free: 91.12 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05322/1.592, allocations: 7.185 MB / 0.6021 GB, free: 87.13 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02741/1.619, allocations: 7.535 MB / 0.6095 GB, free: 79.51 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006963/1.62, allocations: 0.5174 MB / 0.61 GB, free: 78.99 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004046/1.624, allocations: 0.6871 MB / 0.6107 GB, free: 78.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05502/1.679, allocations: 17.03 MB / 0.6273 GB, free: 59.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005003/1.679, allocations: 91.17 kB / 0.6274 GB, free: 59.81 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00376/1.683, allocations: 327.8 kB / 0.6277 GB, free: 59.49 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003675/1.687, allocations: 1.624 MB / 0.6293 GB, free: 57.86 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04571/1.733, allocations: 13.89 MB / 0.6429 GB, free: 43.95 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5125/2.245, allocations: 72.26 MB / 0.7134 GB, free: 56.73 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03327/2.279, allocations: 7.082 MB / 0.7203 GB, free: 56.04 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008953/2.288, allocations: 3.926 MB / 0.7242 GB, free: 55.99 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02807/2.316, allocations: 9.483 MB / 0.7334 GB, free: 54.82 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.442e-05/2.316, allocations: 68.88 kB / 0.7335 GB, free: 54.78 MB / 474.7 MB Notification: Performance of pre-optimization done (n=297): time 7.814e-06/2.316, allocations: 0 / 0.7335 GB, free: 54.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=339): time 0.1332/2.449, allocations: 27.68 MB / 0.7605 GB, free: 48.76 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/2.449, allocations: 246 kB / 0.7608 GB, free: 48.51 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0162/2.465, allocations: 5.88 MB / 0.7665 GB, free: 46.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001064/2.467, allocations: 78.61 kB / 0.7666 GB, free: 46.33 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004886/2.472, allocations: 4.809 MB / 0.7713 GB, free: 42.64 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002306/2.474, allocations: 1.269 MB / 0.7725 GB, free: 41.71 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001852/2.476, allocations: 177.2 kB / 0.7727 GB, free: 41.57 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009152/2.477, allocations: 0.6841 MB / 0.7734 GB, free: 41.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01003/2.487, allocations: 3.648 MB / 0.7769 GB, free: 39.84 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01385/2.501, allocations: 8.626 MB / 0.7853 GB, free: 31.88 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01348/2.514, allocations: 5.565 MB / 0.7908 GB, free: 30.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000232/2.515, allocations: 51.16 kB / 0.7908 GB, free: 30.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.03935/2.554, allocations: 13.18 MB / 0.8037 GB, free: 22.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000141/2.554, allocations: 80 kB / 0.8038 GB, free: 22.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003055/2.554, allocations: 176 kB / 0.8039 GB, free: 22.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007379/2.562, allocations: 1.702 MB / 0.8056 GB, free: 20.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01529/2.577, allocations: 2.115 MB / 0.8077 GB, free: 18.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02237/2.6, allocations: 11.38 MB / 0.8188 GB, free: 8.703 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01229/2.612, allocations: 0.5226 MB / 0.8193 GB, free: 8.266 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002593/2.615, allocations: 0.5247 MB / 0.8198 GB, free: 7.762 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 806 * Number of states: 0 () * Number of discrete variables: 54 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[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 (1089): * Single equations (assignments): 1084 * 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.004323/2.619, allocations: 0.7798 MB / 0.8206 GB, free: 6.984 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002419/2.621, allocations: 0.5862 MB / 0.8211 GB, free: 6.391 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02439/2.646, allocations: 7.431 MB / 0.8284 GB, free: 368 kB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.772e-05/2.646, allocations: 36 kB / 0.8284 GB, free: 332 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-05/2.646, allocations: 9 kB / 0.8284 GB, free: 324 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.522e-05/2.646, allocations: 19.83 kB / 0.8285 GB, free: 320 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05998/2.706, allocations: 16.07 MB / 0.8441 GB, free: 2.508 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.925e-05/2.706, allocations: 4 kB / 0.8442 GB, free: 2.504 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007307/2.714, allocations: 0.6323 MB / 0.8448 GB, free: 1.871 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007441/2.721, allocations: 1.413 MB / 0.8461 GB, free: 464 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001197/2.722, allocations: 67.94 kB / 0.8462 GB, free: 396 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02625/2.749, allocations: 10.6 MB / 0.8566 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-05/2.749, allocations: 8 kB / 0.8566 GB, free: 5.527 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03673/2.785, allocations: 12.58 MB / 0.8689 GB, free: 8.715 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005499/2.791, allocations: 1.2 MB / 0.87 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002802/2.794, allocations: 63.98 kB / 0.8701 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006894/2.801, allocations: 227.7 kB / 0.8703 GB, free: 7.203 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001495/2.802, allocations: 209.4 kB / 0.8705 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001056/2.804, allocations: 84.84 kB / 0.8706 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01347/2.817, allocations: 4.222 MB / 0.8747 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.192e-06/2.817, allocations: 0 / 0.8747 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01341/2.831, allocations: 1.697 MB / 0.8764 GB, free: 1.023 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (279): * Single equations (assignments): 274 * 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.03803/2.869, allocations: 13.98 MB / 0.89 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02514/2.894, allocations: 8.759 MB / 0.8986 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/2.894, allocations: 4.062 kB / 0.8986 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01245/2.906, allocations: 3.609 MB / 0.9021 GB, free: 6.441 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007226/2.914, allocations: 0.701 MB / 0.9028 GB, free: 5.762 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4308/3.344, allocations: 15.97 MB / 0.9184 GB, free: 171.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0147/3.359, allocations: 5.179 MB / 0.9234 GB, free: 170.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01598/3.375, allocations: 2.968 MB / 0.9263 GB, free: 170.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009004/3.384, allocations: 3.275 MB / 0.9295 GB, free: 170.2 MB / 0.5417 GB Notification: Performance of SimCode: time 2.104e-06/3.384, allocations: 0 / 0.9295 GB, free: 170.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2808/3.665, allocations: 132.8 MB / 1.059 GB, free: 78.12 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002006/3.665, allocations: 179.6 kB / 1.059 GB, free: 77.89 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/11.93, allocations: 0 / 1.059 GB, free: 77.89 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat