Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Worldtorque,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Worldtorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.04/2.04, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.028e-05/4.073e-05, allocations: 4 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1149, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4961/0.611, allocations: 92.86 MB / 414.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.6114, allocations: 79.2 kB / 414.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.894/1.505, allocations: 142.8 MB / 0.5445 GB, free: 88.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.224e-06/1.506, allocations: 4 kB / 0.5445 GB, free: 88.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006434/1.506, allocations: 138 kB / 0.5446 GB, free: 88.87 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: 2467 * Number of variables: 2467 Notification: Performance of Generate backend data structure: time 0.0356/1.542, allocations: 6.841 MB / 0.5513 GB, free: 86.13 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.187e-05/1.542, allocations: 14.47 kB / 0.5513 GB, free: 86.12 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01876/1.561, allocations: 1.229 MB / 0.5525 GB, free: 86.03 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08051/1.641, allocations: 9.541 MB / 0.5618 GB, free: 84.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02974/1.671, allocations: 8.835 MB / 0.5705 GB, free: 81.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005236/1.672, allocations: 0.5237 MB / 0.571 GB, free: 81.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003535/1.675, allocations: 0.7043 MB / 0.5717 GB, free: 81.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04602/1.721, allocations: 16.52 MB / 0.5878 GB, free: 66.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004675/1.722, allocations: 99.11 kB / 0.5879 GB, free: 65.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002754/1.724, allocations: 343.2 kB / 0.5882 GB, free: 65.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003052/1.728, allocations: 1.53 MB / 0.5897 GB, free: 64.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04018/1.768, allocations: 13.1 MB / 0.6025 GB, free: 51.04 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5582/2.326, allocations: 72.56 MB / 0.6734 GB, free: 31.67 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02762/2.354, allocations: 5.855 MB / 0.6791 GB, free: 30.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007075/2.361, allocations: 3.07 MB / 0.6821 GB, free: 30.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000377/2.361, allocations: 47.95 kB / 0.6821 GB, free: 30.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.577e-05/2.361, allocations: 66.39 kB / 0.6822 GB, free: 30.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 6.813e-06/2.361, allocations: 3.562 kB / 0.6822 GB, free: 30.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=267): time 0.08653/2.448, allocations: 19.5 MB / 0.7012 GB, free: 25.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/2.448, allocations: 261 kB / 0.7015 GB, free: 25.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01655/2.465, allocations: 6.144 MB / 0.7075 GB, free: 24.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007249/2.465, allocations: 65.97 kB / 0.7075 GB, free: 24.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005247/2.471, allocations: 5.046 MB / 0.7125 GB, free: 22.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00187/2.473, allocations: 1.035 MB / 0.7135 GB, free: 21.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001192/2.474, allocations: 170.5 kB / 0.7136 GB, free: 21.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007216/2.475, allocations: 0.6669 MB / 0.7143 GB, free: 21.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008104/2.483, allocations: 2.881 MB / 0.7171 GB, free: 20.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01219/2.495, allocations: 8.125 MB / 0.725 GB, free: 12.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01528/2.51, allocations: 4.795 MB / 0.7297 GB, free: 11.26 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002604/2.511, allocations: 53.19 kB / 0.7298 GB, free: 11.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.04154/2.552, allocations: 11.39 MB / 0.7409 GB, free: 7.789 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002042/2.552, allocations: 83.81 kB / 0.741 GB, free: 7.789 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003517/2.553, allocations: 186.7 kB / 0.7412 GB, free: 7.789 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004166/2.557, allocations: 0.8396 MB / 0.742 GB, free: 7.629 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01645/2.574, allocations: 1.988 MB / 0.7439 GB, free: 7.387 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01303/2.587, allocations: 8.485 MB / 0.7522 GB, free: 1.488 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01038/2.597, allocations: 478.6 kB / 0.7527 GB, free: 1.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001963/2.599, allocations: 0.5148 MB / 0.7532 GB, free: 1.254 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 849 * Number of states: 0 () * Number of discrete variables: 54 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[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],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (1056): * Single equations (assignments): 1050 * 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 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00237/2.601, allocations: 0.7721 MB / 0.7539 GB, free: 0.625 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001701/2.603, allocations: 0.5985 MB / 0.7545 GB, free: 296 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02096/2.624, allocations: 4.463 MB / 0.7589 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.751e-05/2.624, allocations: 29.72 kB / 0.7589 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.129e-05/2.624, allocations: 10.91 kB / 0.7589 GB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.426e-05/2.624, allocations: 17.08 kB / 0.7589 GB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03756/2.662, allocations: 11.6 MB / 0.7702 GB, free: 5.242 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-05/2.662, allocations: 4 kB / 0.7702 GB, free: 5.238 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004641/2.667, allocations: 436.7 kB / 0.7707 GB, free: 4.891 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002694/2.669, allocations: 0.5263 MB / 0.7712 GB, free: 4.484 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005793/2.67, allocations: 47.14 kB / 0.7712 GB, free: 4.441 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01379/2.684, allocations: 7.58 MB / 0.7786 GB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/2.684, allocations: 7.859 kB / 0.7786 GB, free: 13.13 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02038/2.704, allocations: 7.877 MB / 0.7863 GB, free: 6.047 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00442/2.709, allocations: 1.015 MB / 0.7873 GB, free: 5.098 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001818/2.711, allocations: 44 kB / 0.7873 GB, free: 5.055 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005061/2.716, allocations: 149.7 kB / 0.7875 GB, free: 4.953 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009503/2.717, allocations: 170.9 kB / 0.7877 GB, free: 4.848 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003051/2.717, allocations: 64.55 kB / 0.7877 GB, free: 4.785 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01289/2.73, allocations: 4.367 MB / 0.792 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.81e-07/2.73, allocations: 0 / 0.792 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01635/2.746, allocations: 1.854 MB / 0.7938 GB, free: 0 / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 213 * 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 {(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.02319/2.77, allocations: 8.731 MB / 0.8023 GB, free: 8.078 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0198/2.789, allocations: 7.331 MB / 0.8095 GB, free: 1.363 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/2.79, allocations: 4 kB / 0.8095 GB, free: 1.359 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006525/2.796, allocations: 2.488 MB / 0.8119 GB, free: 15.06 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006934/2.803, allocations: 0.7633 MB / 0.8127 GB, free: 14.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05127/2.854, allocations: 14.69 MB / 0.827 GB, free: 1.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01419/2.869, allocations: 5.208 MB / 0.8321 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01424/2.883, allocations: 2.803 MB / 0.8348 GB, free: 9.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01267/2.896, allocations: 3.358 MB / 0.8381 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of SimCode: time 1.893e-06/2.896, allocations: 0 / 0.8381 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.686/3.582, allocations: 125.2 MB / 0.9604 GB, free: 84.23 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/3.582, allocations: 170.2 kB / 0.9605 GB, free: 84 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.168/11.75, allocations: 4 kB / 0.9605 GB, free: 84 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Worldtorque_res.mat does not exist to compare? outputFormat=mat