Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForcesAndTorques,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_ForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.71/2.71, allocations: 270 MB / 283.6 MB, free: 1.883 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.648e-05/4.657e-05, allocations: 4 kB / 348.5 MB, free: 2.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4719/0.472, allocations: 61.88 MB / 410.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2341/0.7062, allocations: 110.8 MB / 0.5089 GB, free: 11.79 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004104/0.7067, allocations: 75.97 kB / 0.509 GB, free: 11.71 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.948/1.655, allocations: 138 MB / 0.6437 GB, free: 13.15 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.524e-06/1.655, allocations: 0 / 0.6437 GB, free: 13.15 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005292/1.655, allocations: 143.9 kB / 0.6439 GB, free: 13.01 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: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.03142/1.687, allocations: 6.896 MB / 0.6506 GB, free: 6.039 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.26e-05/1.687, allocations: 12.03 kB / 0.6506 GB, free: 6.027 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006576/1.693, allocations: 1.236 MB / 0.6518 GB, free: 4.781 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.058/1.752, allocations: 7.198 MB / 0.6589 GB, free: 13.56 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03158/1.783, allocations: 7.294 MB / 0.666 GB, free: 6.184 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008954/1.784, allocations: 0.5257 MB / 0.6665 GB, free: 5.656 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004676/1.789, allocations: 0.7068 MB / 0.6672 GB, free: 4.949 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06394/1.853, allocations: 17.27 MB / 0.684 GB, free: 2.223 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005526/1.853, allocations: 103.1 kB / 0.6841 GB, free: 2.121 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003697/1.857, allocations: 335.8 kB / 0.6845 GB, free: 1.793 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004424/1.862, allocations: 1.632 MB / 0.6861 GB, free: 160 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05132/1.913, allocations: 13.69 MB / 0.6994 GB, free: 2.438 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5825/2.496, allocations: 76.67 MB / 0.7743 GB, free: 47.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03648/2.532, allocations: 7.872 MB / 0.782 GB, free: 47.07 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008251/2.54, allocations: 4.04 MB / 0.7859 GB, free: 47.02 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02613/2.567, allocations: 10.12 MB / 0.7958 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.998e-05/2.567, allocations: 60.88 kB / 0.7959 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=277): time 7.224e-06/2.567, allocations: 6.094 kB / 0.7959 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=319): time 0.1384/2.705, allocations: 28.61 MB / 0.8238 GB, free: 37.83 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/2.705, allocations: 242.2 kB / 0.824 GB, free: 37.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01506/2.72, allocations: 6.256 MB / 0.8302 GB, free: 35.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009027/2.721, allocations: 72.14 kB / 0.8302 GB, free: 35.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004894/2.726, allocations: 4.9 MB / 0.835 GB, free: 31.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002058/2.728, allocations: 1.203 MB / 0.8362 GB, free: 30.92 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001157/2.73, allocations: 181.1 kB / 0.8364 GB, free: 30.78 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005726/2.73, allocations: 0.6901 MB / 0.837 GB, free: 30.31 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008605/2.739, allocations: 3.444 MB / 0.8404 GB, free: 29.14 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01225/2.751, allocations: 8.653 MB / 0.8488 GB, free: 20.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01235/2.764, allocations: 5.434 MB / 0.8542 GB, free: 18.36 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001912/2.764, allocations: 56 kB / 0.8542 GB, free: 18.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.03715/2.801, allocations: 12.9 MB / 0.8668 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000134/2.801, allocations: 86.03 kB / 0.8669 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002513/2.801, allocations: 188 kB / 0.8671 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006972/2.808, allocations: 1.703 MB / 0.8687 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01414/2.823, allocations: 2.177 MB / 0.8709 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02285/2.845, allocations: 11.39 MB / 0.882 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01159/2.857, allocations: 0.511 MB / 0.8825 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002476/2.86, allocations: 0.533 MB / 0.883 GB, free: 9.289 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 847 * Number of states: 0 () * Number of discrete variables: 83 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque2.forceArrow.color[3],forceAndTorque2.forceArrow.color[2],forceAndTorque2.forceArrow.color[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,forceAndTorque1.forceArrow.color[3],forceAndTorque1.forceArrow.color[2],forceAndTorque1.forceArrow.color[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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.groundColor[3],world.groundColor[2],world.groundColor[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 (1102): * Single equations (assignments): 1097 * 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.002696/2.862, allocations: 0.8072 MB / 0.8838 GB, free: 8.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001933/2.864, allocations: 0.6055 MB / 0.8844 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02096/2.885, allocations: 6.679 MB / 0.8909 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.747e-05/2.885, allocations: 36 kB / 0.8909 GB, free: 2.43 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.839e-05/2.885, allocations: 8 kB / 0.8909 GB, free: 2.422 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.651e-05/2.886, allocations: 17.59 kB / 0.891 GB, free: 2.418 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0539/2.939, allocations: 15.71 MB / 0.9063 GB, free: 5.777 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.277e-05/2.94, allocations: 8 kB / 0.9063 GB, free: 5.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006589/2.946, allocations: 0.631 MB / 0.9069 GB, free: 5.293 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007069/2.953, allocations: 1.412 MB / 0.9083 GB, free: 4.301 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009197/2.954, allocations: 60 kB / 0.9084 GB, free: 4.242 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02448/2.979, allocations: 10.6 MB / 0.9187 GB, free: 10.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.62e-05/2.979, allocations: 11.94 kB / 0.9187 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4717/3.451, allocations: 12.05 MB / 0.9305 GB, free: 132.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002637/3.453, allocations: 0.6812 MB / 0.9312 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002726/3.456, allocations: 60.92 kB / 0.9312 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006625/3.463, allocations: 201.2 kB / 0.9314 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001329/3.464, allocations: 205 kB / 0.9316 GB, free: 132 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000456/3.465, allocations: 84.09 kB / 0.9317 GB, free: 132 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01608/3.481, allocations: 4.465 MB / 0.936 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.513e-06/3.481, allocations: 3.5 kB / 0.936 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0166/3.497, allocations: 1.682 MB / 0.9377 GB, free: 131.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (261): * Single equations (assignments): 256 * 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.03658/3.534, allocations: 13.63 MB / 0.951 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02941/3.563, allocations: 8.314 MB / 0.9591 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/3.563, allocations: 0 / 0.9591 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01052/3.574, allocations: 3.329 MB / 0.9624 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007256/3.581, allocations: 0.7579 MB / 0.9631 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07253/3.654, allocations: 15.81 MB / 0.9785 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0362/3.69, allocations: 5.2 MB / 0.9836 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.02082/3.711, allocations: 3 MB / 0.9866 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01183/3.723, allocations: 3.32 MB / 0.9898 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of SimCode: time 2.144e-06/3.723, allocations: 3.125 kB / 0.9898 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3181/4.041, allocations: 134.4 MB / 1.121 GB, free: 18.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002547/4.042, allocations: 170.6 kB / 1.121 GB, free: 18.18 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.851/12.89, allocations: 4 kB / 1.121 GB, free: 18.17 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat does not exist to compare? outputFormat=mat