Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.42/2.42, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.761e-05/3.742e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4021, allocations: 54.85 MB / 359.9 MB, free: 2.801 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1952/0.5973, allocations: 101.5 MB / 461.4 MB, free: 11.28 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002996/0.5977, allocations: 75.95 kB / 461.5 MB, free: 11.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.031/1.628, allocations: 178.8 MB / 0.6252 GB, free: 62.97 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.395e-06/1.629, allocations: 0 / 0.6252 GB, free: 62.97 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005989/1.629, allocations: 179.9 kB / 0.6254 GB, free: 62.79 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3268 * Number of variables: 3268 Notification: Performance of Generate backend data structure: time 0.03922/1.668, allocations: 8.793 MB / 0.634 GB, free: 53.92 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/1.668, allocations: 12.03 kB / 0.634 GB, free: 53.91 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008411/1.677, allocations: 1.623 MB / 0.6356 GB, free: 52.27 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07298/1.75, allocations: 9.867 MB / 0.6452 GB, free: 42.38 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03511/1.785, allocations: 9.858 MB / 0.6549 GB, free: 32.44 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009239/1.786, allocations: 0.69 MB / 0.6555 GB, free: 31.75 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005805/1.792, allocations: 0.9214 MB / 0.6564 GB, free: 30.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0716/1.864, allocations: 22.04 MB / 0.678 GB, free: 7.117 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007183/1.864, allocations: 114.9 kB / 0.6781 GB, free: 7.004 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005084/1.869, allocations: 431.8 kB / 0.6785 GB, free: 6.582 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004662/1.874, allocations: 2.093 MB / 0.6805 GB, free: 4.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06435/1.939, allocations: 18.07 MB / 0.6982 GB, free: 2.387 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5311/2.47, allocations: 91.5 MB / 0.7875 GB, free: 24.08 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03773/2.507, allocations: 9.286 MB / 0.7966 GB, free: 21.05 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01099/2.519, allocations: 5.604 MB / 0.8021 GB, free: 18.73 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005325/2.519, allocations: 91.73 kB / 0.8021 GB, free: 18.71 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.775e-05/2.519, allocations: 80.05 kB / 0.8022 GB, free: 18.64 MB / 474.7 MB Notification: Performance of pre-optimization done (n=412): time 8.415e-06/2.519, allocations: 0 / 0.8022 GB, free: 18.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=475): time 0.1685/2.688, allocations: 38.52 MB / 0.8398 GB, free: 3.414 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/2.688, allocations: 289.5 kB / 0.8401 GB, free: 3.082 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02901/2.717, allocations: 7.826 MB / 0.8478 GB, free: 13.92 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001474/2.718, allocations: 101.7 kB / 0.8479 GB, free: 13.82 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007949/2.726, allocations: 6.11 MB / 0.8538 GB, free: 8.336 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003556/2.73, allocations: 1.744 MB / 0.8555 GB, free: 6.789 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002404/2.733, allocations: 224 kB / 0.8557 GB, free: 6.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001566/2.734, allocations: 0.7791 MB / 0.8565 GB, free: 5.922 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0148/2.749, allocations: 4.926 MB / 0.8613 GB, free: 1.504 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0415/2.791, allocations: 12.09 MB / 0.8731 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01929/2.81, allocations: 7.28 MB / 0.8802 GB, free: 0.5742 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002504/2.81, allocations: 64 kB / 0.8803 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1458) (initialization): time 0.4312/3.241, allocations: 17.47 MB / 0.8973 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002058/3.242, allocations: 97.88 kB / 0.8974 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003931/3.242, allocations: 214.4 kB / 0.8976 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01195/3.254, allocations: 2.466 MB / 0.9001 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01979/3.274, allocations: 2.682 MB / 0.9027 GB, free: 109.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03766/3.312, allocations: 16.91 MB / 0.9192 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01524/3.327, allocations: 0.6736 MB / 0.9198 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003254/3.33, allocations: 0.6428 MB / 0.9205 GB, free: 105.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * 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 (1362): * Single equations (assignments): 1356 * 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.005303/3.336, allocations: 0.9389 MB / 0.9214 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003005/3.339, allocations: 0.7504 MB / 0.9221 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03432/3.373, allocations: 10.65 MB / 0.9325 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001291/3.373, allocations: 51.02 kB / 0.9326 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.073e-05/3.373, allocations: 12.53 kB / 0.9326 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001329/3.373, allocations: 30.38 kB / 0.9326 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07017/3.444, allocations: 22.83 MB / 0.9549 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-05/3.444, allocations: 2.75 kB / 0.9549 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009219/3.453, allocations: 0.8806 MB / 0.9558 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009806/3.463, allocations: 2.126 MB / 0.9579 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001381/3.464, allocations: 89.88 kB / 0.9579 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03119/3.495, allocations: 15.7 MB / 0.9733 GB, free: 92.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.108e-06/3.495, allocations: 7.125 kB / 0.9733 GB, free: 92.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04466/3.54, allocations: 17.58 MB / 0.9904 GB, free: 85.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00651/3.547, allocations: 1.609 MB / 0.992 GB, free: 84.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003316/3.55, allocations: 83.84 kB / 0.9921 GB, free: 84.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008859/3.559, allocations: 353 kB / 0.9924 GB, free: 84.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001879/3.561, allocations: 286.9 kB / 0.9927 GB, free: 84.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001222/3.562, allocations: 131.8 kB / 0.9928 GB, free: 84.62 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01396/3.576, allocations: 5.189 MB / 0.9979 GB, free: 80.48 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.42e-07/3.576, allocations: 0 / 0.9979 GB, free: 80.48 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01587/3.592, allocations: 2.28 MB / 1 GB, free: 78.22 MB / 0.5105 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.04541/3.638, allocations: 18.89 MB / 1.019 GB, free: 61.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02782/3.665, allocations: 11.99 MB / 1.03 GB, free: 51.21 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/3.666, allocations: 0 / 1.03 GB, free: 51.21 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01448/3.68, allocations: 5.199 MB / 1.035 GB, free: 46.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008387/3.688, allocations: 0.9297 MB / 1.036 GB, free: 45.85 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06936/3.758, allocations: 21.41 MB / 1.057 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01649/3.774, allocations: 6.589 MB / 1.064 GB, free: 22.67 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0192/3.794, allocations: 3.77 MB / 1.067 GB, free: 19.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0119/3.806, allocations: 4.443 MB / 1.072 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of SimCode: time 1.542e-06/3.806, allocations: 0 / 1.072 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7724/4.578, allocations: 175.3 MB / 1.243 GB, free: 31.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000248/4.578, allocations: 181.5 kB / 1.243 GB, free: 31.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/15.24, allocations: 11.94 kB / 1.243 GB, free: 31.26 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat does not exist to compare? outputFormat=mat