Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_FrameTorques2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.398/2.398, allocations: 235.2 MB / 242.3 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.592e-05/2.601e-05, allocations: 4 kB / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.373, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2049/0.578, allocations: 98.88 MB / 453.3 MB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003763/0.5784, allocations: 79.95 kB / 453.4 MB, free: 12.08 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.095/1.673, allocations: 166.4 MB / 0.6052 GB, free: 5.289 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.049e-06/1.674, allocations: 0 / 0.6052 GB, free: 5.289 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007546/1.674, allocations: 175.9 kB / 0.6054 GB, free: 5.117 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2948 * Number of variables: 2948 Notification: Performance of Generate backend data structure: time 0.04033/1.715, allocations: 8.251 MB / 0.6135 GB, free: 12.78 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.605e-05/1.715, allocations: 12.03 kB / 0.6135 GB, free: 12.77 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1049/1.82, allocations: 12.08 MB / 0.6253 GB, free: 0.6562 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4541/2.274, allocations: 10.93 MB / 0.6359 GB, free: 58.66 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006286/2.274, allocations: 276.4 kB / 0.6362 GB, free: 58.66 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004778/2.279, allocations: 0.5076 MB / 0.6367 GB, free: 58.65 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03877/2.318, allocations: 11.44 MB / 0.6479 GB, free: 58.61 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06805/2.386, allocations: 17.17 MB / 0.6646 GB, free: 54.48 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009035/2.387, allocations: 109.3 kB / 0.6647 GB, free: 54.47 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004861/2.392, allocations: 49.75 kB / 0.6648 GB, free: 54.47 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00503/2.397, allocations: 1.817 MB / 0.6666 GB, free: 54.45 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1463/2.544, allocations: 78.69 MB / 0.7434 GB, free: 20.69 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01229/2.556, allocations: 5.846 MB / 0.7491 GB, free: 17.9 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008283/2.564, allocations: 3.991 MB / 0.753 GB, free: 16.15 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001284/2.566, allocations: 0.666 MB / 0.7537 GB, free: 15.55 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.859e-05/2.566, allocations: 75.06 kB / 0.7537 GB, free: 15.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=311): time 7.905e-06/2.566, allocations: 0 / 0.7537 GB, free: 15.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=338): time 0.1336/2.699, allocations: 33.7 MB / 0.7867 GB, free: 2.281 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002128/2.7, allocations: 290.8 kB / 0.7869 GB, free: 1.941 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02671/2.726, allocations: 5.984 MB / 0.7928 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009712/2.727, allocations: 32.11 kB / 0.7928 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00825/2.736, allocations: 5.967 MB / 0.7986 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002719/2.738, allocations: 1.241 MB / 0.7998 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001864/2.74, allocations: 0 / 0.7998 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001679/2.742, allocations: 0.7325 MB / 0.8006 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01069/2.753, allocations: 3.339 MB / 0.8038 GB, free: 4.125 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4103/3.163, allocations: 9.229 MB / 0.8128 GB, free: 92.89 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01553/3.179, allocations: 5.473 MB / 0.8182 GB, free: 92.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000588/3.179, allocations: 60.28 kB / 0.8182 GB, free: 92.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1310) (initialization): time 0.03836/3.218, allocations: 12.13 MB / 0.8301 GB, free: 92.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003001/3.218, allocations: 103.9 kB / 0.8302 GB, free: 92.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004105/3.219, allocations: 208.3 kB / 0.8304 GB, free: 92.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004743/3.223, allocations: 1.042 MB / 0.8314 GB, free: 92.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01669/3.24, allocations: 2.341 MB / 0.8337 GB, free: 92.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01929/3.259, allocations: 10.86 MB / 0.8443 GB, free: 87.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01313/3.273, allocations: 350.5 kB / 0.8446 GB, free: 87.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002914/3.276, allocations: 0.5947 MB / 0.8452 GB, free: 87.31 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * Number of states: 0 () * Number of discrete variables: 63 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[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 (1230): * Single equations (assignments): 1223 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004829/3.28, allocations: 0.6347 MB / 0.8458 GB, free: 86.99 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01735/3.298, allocations: 5.628 MB / 0.8513 GB, free: 86.81 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002318/3.3, allocations: 0.5998 MB / 0.8519 GB, free: 86.81 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0183/3.319, allocations: 5.683 MB / 0.8574 GB, free: 86.54 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001015/3.319, allocations: 35.62 kB / 0.8575 GB, free: 86.54 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.351e-05/3.319, allocations: 9.844 kB / 0.8575 GB, free: 86.54 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001004/3.319, allocations: 19.89 kB / 0.8575 GB, free: 86.54 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04571/3.365, allocations: 13.37 MB / 0.8706 GB, free: 85.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.532e-05/3.365, allocations: 0 / 0.8706 GB, free: 85.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006619/3.371, allocations: 0.5676 MB / 0.8711 GB, free: 85.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003753/3.375, allocations: 0.7035 MB / 0.8718 GB, free: 85.67 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009222/3.376, allocations: 16.19 kB / 0.8718 GB, free: 85.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0166/3.393, allocations: 9.709 MB / 0.8813 GB, free: 80.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.267e-06/3.393, allocations: 0 / 0.8813 GB, free: 80.32 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02423/3.417, allocations: 9.756 MB / 0.8908 GB, free: 76.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004446/3.422, allocations: 1.077 MB / 0.8919 GB, free: 75.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002737/3.424, allocations: 2.938 kB / 0.8919 GB, free: 75.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006278/3.431, allocations: 139.6 kB / 0.892 GB, free: 75.43 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001282/3.432, allocations: 202.7 kB / 0.8922 GB, free: 75.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007398/3.433, allocations: 86.39 kB / 0.8923 GB, free: 75.38 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01063/3.443, allocations: 3.755 MB / 0.896 GB, free: 74.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.91e-07/3.444, allocations: 0 / 0.896 GB, free: 74.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01542/3.459, allocations: 1.616 MB / 0.8975 GB, free: 74.02 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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): 272 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02597/3.485, allocations: 10.71 MB / 0.908 GB, free: 68.94 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02045/3.505, allocations: 8.467 MB / 0.9163 GB, free: 61.65 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/3.506, allocations: 0 / 0.9163 GB, free: 61.65 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007972/3.513, allocations: 3.109 MB / 0.9193 GB, free: 58.81 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007346/3.521, allocations: 0.737 MB / 0.92 GB, free: 58.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06102/3.582, allocations: 17.29 MB / 0.9369 GB, free: 43.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01563/3.598, allocations: 6.134 MB / 0.9429 GB, free: 38.86 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01712/3.615, allocations: 3.097 MB / 0.9459 GB, free: 36.87 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01077/3.626, allocations: 4.054 MB / 0.9499 GB, free: 33.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.663e-06/3.626, allocations: 0 / 0.9499 GB, free: 33.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7537/4.379, allocations: 135 MB / 1.082 GB, free: 66.65 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002937/4.38, allocations: 141.9 kB / 1.082 GB, free: 66.46 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.429/12.81, allocations: 1.312 kB / 1.082 GB, free: 66.46 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat does not exist to compare? outputFormat=mat