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.83/2.83, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.475e-05/3.488e-05, allocations: 4 kB / 299.5 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4328/0.4329, allocations: 54.86 MB / 354.3 MB, free: 14.15 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2528/0.6857, allocations: 100.1 MB / 454.5 MB, free: 14.1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/0.6861, allocations: 71.97 kB / 454.6 MB, free: 14.03 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8613/1.547, allocations: 128 MB / 0.5689 GB, free: 58.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.954e-06/1.547, allocations: 0 / 0.5689 GB, free: 58.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003988/1.548, allocations: 128 kB / 0.569 GB, free: 58.24 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: 2374 * Number of variables: 2374 Notification: Performance of Generate backend data structure: time 0.02741/1.575, allocations: 6.364 MB / 0.5752 GB, free: 51.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/1.575, allocations: 8.031 kB / 0.5752 GB, free: 51.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05139/1.627, allocations: 7.101 MB / 0.5822 GB, free: 44.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02586/1.653, allocations: 7.239 MB / 0.5892 GB, free: 37.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004659/1.653, allocations: 220 kB / 0.5894 GB, free: 37.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003651/1.657, allocations: 395.8 kB / 0.5898 GB, free: 36.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02407/1.681, allocations: 9.633 MB / 0.5992 GB, free: 27.13 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03791/1.719, allocations: 14.14 MB / 0.613 GB, free: 11.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004611/1.72, allocations: 75.34 kB / 0.6131 GB, free: 11.74 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003302/1.723, allocations: 36 kB / 0.6131 GB, free: 11.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003536/1.726, allocations: 1.574 MB / 0.6147 GB, free: 10.13 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5009/2.227, allocations: 63.9 MB / 0.6771 GB, free: 73.49 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01278/2.24, allocations: 5.931 MB / 0.6829 GB, free: 72.82 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007799/2.248, allocations: 4.057 MB / 0.6868 GB, free: 72.78 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/2.249, allocations: 0.5686 MB / 0.6874 GB, free: 72.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.115e-05/2.249, allocations: 72.66 kB / 0.6875 GB, free: 72.26 MB / 474.7 MB Notification: Performance of pre-optimization done (n=315): time 6.382e-06/2.249, allocations: 2.656 kB / 0.6875 GB, free: 72.26 MB / 474.7 MB Notification: Performance of matching and sorting (n=359): time 0.1024/2.352, allocations: 28.66 MB / 0.7154 GB, free: 68.53 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/2.352, allocations: 214.8 kB / 0.7156 GB, free: 68.31 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009642/2.361, allocations: 3.892 MB / 0.7195 GB, free: 67.07 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001072/2.363, allocations: 29.36 kB / 0.7195 GB, free: 67.04 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004096/2.367, allocations: 4.464 MB / 0.7238 GB, free: 63.75 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002246/2.369, allocations: 1.272 MB / 0.7251 GB, free: 62.79 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001255/2.37, allocations: 0 / 0.7251 GB, free: 62.79 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007882/2.371, allocations: 0.6651 MB / 0.7257 GB, free: 62.33 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008786/2.38, allocations: 3.506 MB / 0.7292 GB, free: 61.04 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0122/2.392, allocations: 8.146 MB / 0.7371 GB, free: 53.53 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01256/2.405, allocations: 5.294 MB / 0.7423 GB, free: 51.83 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002071/2.405, allocations: 47.88 kB / 0.7423 GB, free: 51.83 MB / 474.7 MB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.0373/2.442, allocations: 12.2 MB / 0.7542 GB, free: 44.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002002/2.443, allocations: 76 kB / 0.7543 GB, free: 44.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003658/2.443, allocations: 164 kB / 0.7545 GB, free: 44.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01062/2.454, allocations: 1.708 MB / 0.7561 GB, free: 42.76 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01461/2.468, allocations: 2.021 MB / 0.7581 GB, free: 41.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02737/2.496, allocations: 10.91 MB / 0.7688 GB, free: 31.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01043/2.506, allocations: 355 kB / 0.7691 GB, free: 31.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002609/2.509, allocations: 0.4987 MB / 0.7696 GB, free: 30.61 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 749 * 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 (1046): * Single equations (assignments): 1041 * 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%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004164/2.513, allocations: 0.5224 MB / 0.7701 GB, free: 30.09 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02163/2.535, allocations: 7.142 MB / 0.7771 GB, free: 24.07 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002006/2.537, allocations: 462.1 kB / 0.7775 GB, free: 23.62 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02194/2.559, allocations: 7.186 MB / 0.7845 GB, free: 17.79 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.655e-05/2.559, allocations: 38.03 kB / 0.7846 GB, free: 17.75 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-05/2.559, allocations: 11.52 kB / 0.7846 GB, free: 17.75 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.16e-05/2.559, allocations: 22.91 kB / 0.7846 GB, free: 17.74 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04242/2.601, allocations: 15.02 MB / 0.7993 GB, free: 5.609 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.444e-05/2.602, allocations: 4 kB / 0.7993 GB, free: 5.605 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006476/2.608, allocations: 0.6197 MB / 0.7999 GB, free: 5.109 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006323/2.614, allocations: 1.408 MB / 0.8013 GB, free: 4.125 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009913/2.615, allocations: 15 kB / 0.8013 GB, free: 4.113 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02256/2.638, allocations: 10 MB / 0.811 GB, free: 11.59 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/2.638, allocations: 4 kB / 0.811 GB, free: 11.58 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03378/2.672, allocations: 11.88 MB / 0.8226 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004772/2.677, allocations: 1.038 MB / 0.8237 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00231/2.679, allocations: 10.8 kB / 0.8237 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005836/2.685, allocations: 210.4 kB / 0.8239 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001551/2.687, allocations: 209.5 kB / 0.8241 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005865/2.687, allocations: 91.98 kB / 0.8241 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007604/2.695, allocations: 2.603 MB / 0.8267 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.41e-07/2.695, allocations: 0 / 0.8267 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01233/2.707, allocations: 1.402 MB / 0.8281 GB, free: 11.02 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (305): * Single equations (assignments): 300 * 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.03499/2.742, allocations: 12.84 MB / 0.8406 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02551/2.768, allocations: 8.866 MB / 0.8493 GB, free: 5.242 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.294e-05/2.768, allocations: 4 kB / 0.8493 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01142/2.779, allocations: 3.688 MB / 0.8529 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005152/2.785, allocations: 484.9 kB / 0.8533 GB, free: 1.078 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05383/2.838, allocations: 14.79 MB / 0.8678 GB, free: 2.242 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3603/3.199, allocations: 4.921 MB / 0.8726 GB, free: 160.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01484/3.214, allocations: 2.737 MB / 0.8752 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008461/3.222, allocations: 3.063 MB / 0.8782 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.403e-06/3.222, allocations: 4.25 kB / 0.8782 GB, free: 160.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3165/3.539, allocations: 113.8 MB / 0.9893 GB, free: 94.76 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/3.539, allocations: 148.6 kB / 0.9895 GB, free: 94.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.072/10.61, allocations: 4 kB / 0.9895 GB, free: 94.56 MB / 0.5261 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