Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.694/2.694, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 5.01e-05/5.018e-05, allocations: 2.656 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4512/0.4513, allocations: 58.84 MB / 382.3 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.225/0.6764, allocations: 107.6 MB / 489.9 MB, free: 0.8359 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004314/0.6769, allocations: 79.95 kB / 490 MB, free: 0.7578 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.179/1.856, allocations: 179.7 MB / 0.654 GB, free: 19.62 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.755e-06/1.856, allocations: 0 / 0.654 GB, free: 19.62 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0007865/1.857, allocations: 176 kB / 0.6542 GB, free: 19.45 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3271 * Number of variables: 3271 Notification: Performance of Generate backend data structure: time 0.0445/1.902, allocations: 8.812 MB / 0.6628 GB, free: 10.56 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/1.902, allocations: 12.02 kB / 0.6628 GB, free: 10.55 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007532/1.909, allocations: 1.62 MB / 0.6644 GB, free: 8.918 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07294/1.982, allocations: 9.874 MB / 0.674 GB, free: 15.02 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03814/2.02, allocations: 9.851 MB / 0.6836 GB, free: 5.082 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00111/2.022, allocations: 0.6939 MB / 0.6843 GB, free: 4.387 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005581/2.027, allocations: 0.9252 MB / 0.6852 GB, free: 3.461 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07674/2.104, allocations: 22.05 MB / 0.7067 GB, free: 11.73 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006866/2.105, allocations: 107 kB / 0.7068 GB, free: 11.63 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004529/2.109, allocations: 443.8 kB / 0.7073 GB, free: 11.2 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005315/2.115, allocations: 2.089 MB / 0.7093 GB, free: 9.098 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.8726/2.987, allocations: 18.08 MB / 0.727 GB, free: 79.04 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1493/3.137, allocations: 91.59 MB / 0.8164 GB, free: 28.46 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03762/3.174, allocations: 9.289 MB / 0.8255 GB, free: 25.45 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01081/3.185, allocations: 5.602 MB / 0.8309 GB, free: 23.11 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005199/3.186, allocations: 90.17 kB / 0.831 GB, free: 23.1 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.333e-05/3.186, allocations: 81.66 kB / 0.8311 GB, free: 23.03 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=412): time 8.416e-06/3.186, allocations: 0 / 0.8311 GB, free: 23.03 MB / 0.4949 GB Notification: Performance of matching and sorting (n=475): time 0.1985/3.384, allocations: 38.55 MB / 0.8688 GB, free: 1.309 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/3.385, allocations: 282.6 kB / 0.869 GB, free: 0.9805 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02211/3.407, allocations: 7.346 MB / 0.8762 GB, free: 10.55 MB / 0.5106 GB Notification: Performance of collectPreVariables (initialization): time 0.001479/3.408, allocations: 101.7 kB / 0.8763 GB, free: 10.44 MB / 0.5106 GB Notification: Performance of collectInitialEqns (initialization): time 0.007556/3.416, allocations: 6.119 MB / 0.8823 GB, free: 4.953 MB / 0.5106 GB Notification: Performance of collectInitialBindings (initialization): time 0.003406/3.419, allocations: 1.743 MB / 0.884 GB, free: 3.406 MB / 0.5106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002222/3.422, allocations: 224 kB / 0.8842 GB, free: 3.188 MB / 0.5106 GB Notification: Performance of setup shared object (initialization): time 0.001138/3.423, allocations: 0.7865 MB / 0.885 GB, free: 2.535 MB / 0.5106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02706/3.45, allocations: 5.702 MB / 0.8905 GB, free: 0 / 0.5106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02084/3.471, allocations: 10.93 MB / 0.9012 GB, free: 2.977 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0209/3.492, allocations: 7.417 MB / 0.9084 GB, free: 13.18 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000269/3.492, allocations: 60 kB / 0.9085 GB, free: 13.12 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1461) (initialization): time 0.4545/3.946, allocations: 17.48 MB / 0.9256 GB, free: 114.3 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002089/3.947, allocations: 99.16 kB / 0.9257 GB, free: 114.3 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004973/3.947, allocations: 210.9 kB / 0.9259 GB, free: 114.3 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01131/3.959, allocations: 2.47 MB / 0.9283 GB, free: 114.2 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01905/3.978, allocations: 2.684 MB / 0.9309 GB, free: 114.2 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03272/4.01, allocations: 16.92 MB / 0.9474 GB, free: 110.2 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01527/4.026, allocations: 0.6741 MB / 0.9481 GB, free: 110.2 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003306/4.029, allocations: 0.6438 MB / 0.9487 GB, free: 110.2 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 966 * Number of states: 0 () * Number of discrete variables: 75 (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.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 (1365): * Single equations (assignments): 1359 * 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 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005328/4.034, allocations: 0.9462 MB / 0.9496 GB, free: 110.1 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002638/4.037, allocations: 0.752 MB / 0.9504 GB, free: 110.1 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03362/4.071, allocations: 10.66 MB / 0.9608 GB, free: 109.8 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001321/4.071, allocations: 50.14 kB / 0.9608 GB, free: 109.8 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.165e-05/4.071, allocations: 12.16 kB / 0.9608 GB, free: 109.8 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001216/4.071, allocations: 24.11 kB / 0.9609 GB, free: 109.8 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0687/4.14, allocations: 22.84 MB / 0.9832 GB, free: 107.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.873e-05/4.14, allocations: 6.484 kB / 0.9832 GB, free: 107.8 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009458/4.15, allocations: 0.8818 MB / 0.984 GB, free: 107.7 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01002/4.16, allocations: 2.128 MB / 0.9861 GB, free: 107.3 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001427/4.161, allocations: 93.67 kB / 0.9862 GB, free: 107.2 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03109/4.192, allocations: 15.68 MB / 1.002 GB, free: 98.94 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.343e-06/4.192, allocations: 7.125 kB / 1.002 GB, free: 98.94 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04451/4.237, allocations: 17.59 MB / 1.019 GB, free: 91.98 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006787/4.244, allocations: 1.605 MB / 1.02 GB, free: 91.29 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003219/4.247, allocations: 88.98 kB / 1.02 GB, free: 91.23 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009003/4.256, allocations: 354.9 kB / 1.021 GB, free: 91.18 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001901/4.258, allocations: 293.2 kB / 1.021 GB, free: 91.13 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000912/4.259, allocations: 120.6 kB / 1.021 GB, free: 91.11 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01381/4.273, allocations: 5.209 MB / 1.026 GB, free: 87.21 MB / 0.5418 GB Notification: Performance of sort global known variables: time 7.02e-07/4.273, allocations: 0 / 1.026 GB, free: 87.21 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01559/4.288, allocations: 2.276 MB / 1.028 GB, free: 84.95 MB / 0.5418 GB 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 (406): * Single equations (assignments): 400 * 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.04572/4.334, allocations: 18.9 MB / 1.047 GB, free: 68.29 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.02819/4.362, allocations: 12 MB / 1.059 GB, free: 57.92 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/4.362, allocations: 3.469 kB / 1.059 GB, free: 57.92 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.01541/4.378, allocations: 5.2 MB / 1.064 GB, free: 53.33 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008398/4.386, allocations: 0.9319 MB / 1.065 GB, free: 52.55 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06639/4.453, allocations: 21.44 MB / 1.085 GB, free: 34.23 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01568/4.468, allocations: 6.594 MB / 1.092 GB, free: 29.44 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01818/4.487, allocations: 3.78 MB / 1.096 GB, free: 26.96 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01173/4.498, allocations: 4.464 MB / 1.1 GB, free: 22.83 MB / 0.5418 GB Notification: Performance of SimCode: time 1.503e-06/4.498, allocations: 0 / 1.1 GB, free: 22.83 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8053/5.304, allocations: 175.7 MB / 1.272 GB, free: 47.52 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/5.304, allocations: 177.4 kB / 1.272 GB, free: 47.29 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/16.45, allocations: 0 / 1.272 GB, free: 47.29 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat does not exist to compare? outputFormat=mat