Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.894/1.894, allocations: 209.4 MB / 216.5 MB, free: 6.656 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.642e-05/2.653e-05, allocations: 4 kB / 267.6 MB, free: 4.938 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09999/0.1001, allocations: 48.71 MB / 316.3 MB, free: 4.141 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.456/0.5562, allocations: 94.22 MB / 410.5 MB, free: 14.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.5565, allocations: 81.75 kB / 410.6 MB, free: 14.51 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9489/1.505, allocations: 174.3 MB / 0.5713 GB, free: 58.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.274e-06/1.505, allocations: 0 / 0.5713 GB, free: 58.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005649/1.506, allocations: 179.8 kB / 0.5714 GB, free: 58.24 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3262 * Number of variables: 3262 Notification: Performance of Generate backend data structure: time 0.03822/1.544, allocations: 8.778 MB / 0.58 GB, free: 49.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/1.544, allocations: 8.031 kB / 0.58 GB, free: 49.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0721/1.616, allocations: 9.875 MB / 0.5897 GB, free: 39.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03489/1.651, allocations: 9.834 MB / 0.5993 GB, free: 29.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006302/1.652, allocations: 300.3 kB / 0.5995 GB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005102/1.657, allocations: 0.535 MB / 0.6001 GB, free: 28.83 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03416/1.691, allocations: 12.91 MB / 0.6127 GB, free: 15.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05309/1.745, allocations: 19.16 MB / 0.6314 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006683/1.745, allocations: 111 kB / 0.6315 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004421/1.75, allocations: 52 kB / 0.6315 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005635/1.755, allocations: 2.088 MB / 0.6336 GB, free: 8.863 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7736/2.529, allocations: 87.16 MB / 0.7187 GB, free: 24.52 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01492/2.544, allocations: 7.803 MB / 0.7263 GB, free: 21.34 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01032/2.554, allocations: 5.495 MB / 0.7317 GB, free: 19.05 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006974/2.555, allocations: 81.97 kB / 0.7318 GB, free: 19.04 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.862e-05/2.555, allocations: 81.12 kB / 0.7318 GB, free: 18.97 MB / 426.8 MB Notification: Performance of pre-optimization done (n=412): time 8.345e-06/2.555, allocations: 2.062 kB / 0.7318 GB, free: 18.97 MB / 426.8 MB Notification: Performance of matching and sorting (n=477): time 0.1595/2.715, allocations: 41.84 MB / 0.7727 GB, free: 13.75 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002234/2.715, allocations: 280.8 kB / 0.773 GB, free: 13.42 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01656/2.732, allocations: 5.503 MB / 0.7783 GB, free: 8.734 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00149/2.733, allocations: 25.7 kB / 0.7784 GB, free: 8.703 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007588/2.741, allocations: 6.208 MB / 0.7844 GB, free: 3.164 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003739/2.745, allocations: 1.699 MB / 0.7861 GB, free: 1.629 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002488/2.747, allocations: 0 / 0.7861 GB, free: 1.629 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.001626/2.749, allocations: 0.7983 MB / 0.7869 GB, free: 0.9648 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03214/2.781, allocations: 5.898 MB / 0.7926 GB, free: 15.46 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02032/2.801, allocations: 11.09 MB / 0.8035 GB, free: 2.262 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01907/2.821, allocations: 7.204 MB / 0.8105 GB, free: 12.21 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000304/2.821, allocations: 64 kB / 0.8106 GB, free: 12.15 MB / 474.8 MB Notification: Performance of matching and sorting (n=1511) (initialization): time 0.3918/3.213, allocations: 16.83 MB / 0.827 GB, free: 103.7 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002392/3.213, allocations: 100.5 kB / 0.8271 GB, free: 103.7 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005399/3.214, allocations: 225.9 kB / 0.8273 GB, free: 103.7 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01239/3.226, allocations: 2.492 MB / 0.8297 GB, free: 103.7 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02087/3.247, allocations: 2.772 MB / 0.8324 GB, free: 103.7 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03379/3.281, allocations: 15.91 MB / 0.848 GB, free: 99.88 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01383/3.295, allocations: 472.9 kB / 0.8484 GB, free: 99.88 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003283/3.298, allocations: 0.6682 MB / 0.8491 GB, free: 99.88 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1014 * Number of states: 0 () * Number of discrete variables: 72 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.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 (1415): * Single equations (assignments): 1409 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004255/3.302, allocations: 0.6782 MB / 0.8497 GB, free: 99.71 MB / 474.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02886/3.331, allocations: 9.929 MB / 0.8594 GB, free: 99.52 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002676/3.334, allocations: 0.6324 MB / 0.8601 GB, free: 99.52 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02869/3.363, allocations: 10.22 MB / 0.87 GB, free: 99.23 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001252/3.363, allocations: 48.78 kB / 0.8701 GB, free: 99.23 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.989e-05/3.363, allocations: 13.69 kB / 0.8701 GB, free: 99.23 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001507/3.363, allocations: 21.47 kB / 0.8701 GB, free: 99.23 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06336/3.426, allocations: 21 MB / 0.8906 GB, free: 93.04 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.434e-05/3.426, allocations: 5.75 kB / 0.8906 GB, free: 93.04 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009267/3.436, allocations: 0.8862 MB / 0.8915 GB, free: 93.01 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00926/3.445, allocations: 2.104 MB / 0.8936 GB, free: 92.6 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001049/3.446, allocations: 18.61 kB / 0.8936 GB, free: 92.59 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02773/3.474, allocations: 14.67 MB / 0.9079 GB, free: 84.73 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/3.474, allocations: 7.031 kB / 0.9079 GB, free: 84.73 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03893/3.513, allocations: 17.04 MB / 0.9245 GB, free: 71.11 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005297/3.518, allocations: 1.443 MB / 0.926 GB, free: 69.79 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002015/3.52, allocations: 14.56 kB / 0.926 GB, free: 69.78 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006473/3.527, allocations: 281.8 kB / 0.9262 GB, free: 69.63 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001262/3.528, allocations: 290.7 kB / 0.9265 GB, free: 69.45 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005412/3.529, allocations: 123.3 kB / 0.9266 GB, free: 69.33 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.007516/3.536, allocations: 3.704 MB / 0.9302 GB, free: 66.12 MB / 474.8 MB Notification: Performance of sort global known variables: time 8.82e-07/3.536, allocations: 1.812 kB / 0.9303 GB, free: 66.12 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01413/3.55, allocations: 1.958 MB / 0.9322 GB, free: 64.17 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,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 (408): * Single equations (assignments): 402 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(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.04075/3.591, allocations: 18.37 MB / 0.9501 GB, free: 48.04 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.02816/3.619, allocations: 12.19 MB / 0.962 GB, free: 37.54 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/3.619, allocations: 4 kB / 0.962 GB, free: 37.53 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.013/3.632, allocations: 5.092 MB / 0.967 GB, free: 32.95 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006797/3.639, allocations: 0.6783 MB / 0.9676 GB, free: 32.38 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06538/3.705, allocations: 20.75 MB / 0.9879 GB, free: 12.43 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01595/3.721, allocations: 6.609 MB / 0.9944 GB, free: 5.836 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.3388/4.06, allocations: 3.723 MB / 0.998 GB, free: 102.1 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01273/4.072, allocations: 4.396 MB / 1.002 GB, free: 102.1 MB / 474.8 MB Notification: Performance of SimCode: time 1.984e-06/4.072, allocations: 0 / 1.002 GB, free: 102.1 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3931/4.465, allocations: 156.3 MB / 1.155 GB, free: 4.855 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/4.466, allocations: 145 kB / 1.155 GB, free: 4.66 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.706/13.17, allocations: 0 / 1.155 GB, free: 4.66 MB / 474.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat does not exist to compare? outputFormat=mat