Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.312/2.312, allocations: 235 MB / 247.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.907e-05/3.926e-05, allocations: 4 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3954, allocations: 54.86 MB / 359.9 MB, free: 3.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1862/0.5816, allocations: 100.8 MB / 460.7 MB, free: 12.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.5819, allocations: 71.97 kB / 460.7 MB, free: 12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8447/1.427, allocations: 131 MB / 0.5779 GB, free: 98.79 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.864e-06/1.427, allocations: 0 / 0.5779 GB, free: 98.79 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004051/1.427, allocations: 125.3 kB / 0.578 GB, free: 98.79 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: 2374 * Number of variables: 2374 Notification: Performance of Generate backend data structure: time 0.02701/1.454, allocations: 6.371 MB / 0.5842 GB, free: 95.71 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/1.454, allocations: 10.19 kB / 0.5842 GB, free: 95.71 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005752/1.46, allocations: 1.18 MB / 0.5854 GB, free: 95.15 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05182/1.512, allocations: 7.1 MB / 0.5923 GB, free: 92.77 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02718/1.539, allocations: 7.254 MB / 0.5994 GB, free: 88.81 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007155/1.54, allocations: 0.49 MB / 0.5999 GB, free: 88.62 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004013/1.544, allocations: 0.6661 MB / 0.6005 GB, free: 88.31 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05363/1.598, allocations: 16.42 MB / 0.6166 GB, free: 70.84 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004961/1.598, allocations: 75.39 kB / 0.6167 GB, free: 70.76 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003769/1.602, allocations: 318 kB / 0.617 GB, free: 70.49 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003448/1.605, allocations: 1.57 MB / 0.6185 GB, free: 68.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0448/1.65, allocations: 13.9 MB / 0.6321 GB, free: 55.01 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1154/1.766, allocations: 66.21 MB / 0.6967 GB, free: 3.066 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3716/2.137, allocations: 6.964 MB / 0.7035 GB, free: 106.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009261/2.147, allocations: 4.182 MB / 0.7076 GB, free: 106.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04207/2.189, allocations: 15.06 MB / 0.7223 GB, free: 104.6 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.808e-05/2.189, allocations: 69.59 kB / 0.7224 GB, free: 104.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=306): time 7.564e-06/2.189, allocations: 0 / 0.7224 GB, free: 104.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=348): time 0.1172/2.306, allocations: 26.04 MB / 0.7478 GB, free: 96.05 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/2.306, allocations: 219.3 kB / 0.748 GB, free: 95.82 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01179/2.318, allocations: 4.658 MB / 0.7526 GB, free: 94.12 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009629/2.319, allocations: 77.61 kB / 0.7526 GB, free: 94.05 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003854/2.323, allocations: 4.397 MB / 0.7569 GB, free: 90.68 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002247/2.325, allocations: 1.275 MB / 0.7582 GB, free: 89.73 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00153/2.327, allocations: 165.3 kB / 0.7583 GB, free: 89.61 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007437/2.328, allocations: 0.6534 MB / 0.759 GB, free: 89.16 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009225/2.337, allocations: 3.531 MB / 0.7624 GB, free: 87.92 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01232/2.349, allocations: 7.991 MB / 0.7702 GB, free: 80.74 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01226/2.362, allocations: 5.261 MB / 0.7754 GB, free: 79.11 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000171/2.362, allocations: 45.31 kB / 0.7754 GB, free: 79.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=1068) (initialization): time 0.03634/2.398, allocations: 12.89 MB / 0.788 GB, free: 69.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/2.398, allocations: 69 kB / 0.7881 GB, free: 69.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002448/2.399, allocations: 157 kB / 0.7882 GB, free: 69.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007103/2.406, allocations: 1.671 MB / 0.7898 GB, free: 68.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01327/2.419, allocations: 1.917 MB / 0.7917 GB, free: 66.58 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02105/2.44, allocations: 11.36 MB / 0.8028 GB, free: 56.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01035/2.451, allocations: 0.4904 MB / 0.8033 GB, free: 55.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002148/2.453, allocations: 476.9 kB / 0.8037 GB, free: 55.52 MB / 474.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.002596/2.455, allocations: 0.717 MB / 0.8044 GB, free: 54.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001441/2.457, allocations: 0.501 MB / 0.8049 GB, free: 54.29 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02231/2.479, allocations: 7.366 MB / 0.8121 GB, free: 48.25 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.567e-05/2.479, allocations: 36 kB / 0.8122 GB, free: 48.22 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.07e-05/2.479, allocations: 8 kB / 0.8122 GB, free: 48.21 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.905e-05/2.479, allocations: 20.41 kB / 0.8122 GB, free: 48.21 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04892/2.528, allocations: 16.01 MB / 0.8278 GB, free: 34.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.447e-05/2.529, allocations: 1.438 kB / 0.8278 GB, free: 34.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006415/2.535, allocations: 0.6046 MB / 0.8284 GB, free: 34.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006458/2.541, allocations: 1.411 MB / 0.8298 GB, free: 32.78 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001039/2.543, allocations: 64.92 kB / 0.8299 GB, free: 32.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0206/2.563, allocations: 10.52 MB / 0.8401 GB, free: 21.94 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/2.563, allocations: 0 / 0.8401 GB, free: 21.94 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02948/2.593, allocations: 11.9 MB / 0.8518 GB, free: 9.961 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004437/2.597, allocations: 1.092 MB / 0.8528 GB, free: 8.844 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001961/2.599, allocations: 52.7 kB / 0.8529 GB, free: 8.793 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005794/2.605, allocations: 259.6 kB / 0.8531 GB, free: 8.539 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00128/2.606, allocations: 202.7 kB / 0.8533 GB, free: 8.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004291/2.607, allocations: 84.77 kB / 0.8534 GB, free: 8.258 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008233/2.615, allocations: 3.27 MB / 0.8566 GB, free: 5.008 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.843e-06/2.615, allocations: 0 / 0.8566 GB, free: 5.008 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01022/2.625, allocations: 1.615 MB / 0.8582 GB, free: 3.398 MB / 474.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.03524/2.661, allocations: 12.74 MB / 0.8706 GB, free: 6.574 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0247/2.685, allocations: 8.823 MB / 0.8792 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/2.685, allocations: 0 / 0.8792 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.3747/3.06, allocations: 3.718 MB / 0.8829 GB, free: 126.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005667/3.066, allocations: 0.6138 MB / 0.8834 GB, free: 126.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05514/3.121, allocations: 15.1 MB / 0.8982 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01204/3.133, allocations: 4.929 MB / 0.903 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01327/3.146, allocations: 2.648 MB / 0.9056 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008252/3.155, allocations: 3.046 MB / 0.9086 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.733e-06/3.155, allocations: 0 / 0.9086 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2706/3.425, allocations: 123.2 MB / 1.029 GB, free: 37.83 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002519/3.426, allocations: 185.8 kB / 1.029 GB, free: 37.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.255/10.68, allocations: 1.531 kB / 1.029 GB, free: 37.6 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat does not exist to compare? outputFormat=mat