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 2.004/2.004, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.347e-05/4.354e-05, allocations: 7.984 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1169, allocations: 48.69 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4913/0.6083, allocations: 94.68 MB / 416.6 MB, free: 10.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004287/0.6088, allocations: 71.95 kB / 416.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.063/1.672, allocations: 178.5 MB / 0.5812 GB, free: 74.85 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.854e-06/1.672, allocations: 0 / 0.5812 GB, free: 74.85 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007348/1.672, allocations: 181.5 kB / 0.5814 GB, free: 74.84 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: 3262 * Number of variables: 3262 Notification: Performance of Generate backend data structure: time 0.04384/1.716, allocations: 8.788 MB / 0.5899 GB, free: 66.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/1.716, allocations: 11.97 kB / 0.59 GB, free: 66.15 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008228/1.725, allocations: 1.615 MB / 0.5915 GB, free: 64.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0749/1.8, allocations: 9.875 MB / 0.6012 GB, free: 54.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03477/1.834, allocations: 9.832 MB / 0.6108 GB, free: 44.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008731/1.835, allocations: 0.6864 MB / 0.6114 GB, free: 44.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005272/1.841, allocations: 0.9253 MB / 0.6123 GB, free: 43.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07032/1.911, allocations: 22.03 MB / 0.6339 GB, free: 19.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007266/1.912, allocations: 107 kB / 0.634 GB, free: 19.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005259/1.917, allocations: 431.8 kB / 0.6344 GB, free: 18.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004757/1.922, allocations: 2.089 MB / 0.6364 GB, free: 16.78 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3993/2.321, allocations: 18.06 MB / 0.654 GB, free: 61.61 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.161/2.482, allocations: 91.43 MB / 0.7433 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03954/2.522, allocations: 9.278 MB / 0.7524 GB, free: 7.121 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01077/2.533, allocations: 5.616 MB / 0.7579 GB, free: 4.789 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004459/2.533, allocations: 87.66 kB / 0.758 GB, free: 4.777 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.894e-05/2.533, allocations: 81.06 kB / 0.758 GB, free: 4.703 MB / 426.7 MB Notification: Performance of pre-optimization done (n=412): time 1.34e-05/2.533, allocations: 1.844 kB / 0.758 GB, free: 4.703 MB / 426.7 MB Notification: Performance of matching and sorting (n=475): time 0.1775/2.711, allocations: 38.62 MB / 0.7958 GB, free: 3.078 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000197/2.711, allocations: 288.9 kB / 0.796 GB, free: 2.742 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03265/2.744, allocations: 7.973 MB / 0.8038 GB, free: 13.88 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001511/2.745, allocations: 97.7 kB / 0.8039 GB, free: 13.78 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.008185/2.753, allocations: 6.096 MB / 0.8099 GB, free: 8.312 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003708/2.757, allocations: 1.745 MB / 0.8116 GB, free: 6.762 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002365/2.76, allocations: 230.4 kB / 0.8118 GB, free: 6.539 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001244/2.761, allocations: 0.7764 MB / 0.8126 GB, free: 5.895 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01471/2.776, allocations: 4.929 MB / 0.8174 GB, free: 1.473 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0213/2.797, allocations: 10.91 MB / 0.828 GB, free: 4.004 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.387/3.184, allocations: 7.284 MB / 0.8351 GB, free: 105.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003833/3.185, allocations: 62.17 kB / 0.8352 GB, free: 105.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=1458) (initialization): time 0.07999/3.265, allocations: 17.47 MB / 0.8522 GB, free: 104.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002139/3.265, allocations: 94.66 kB / 0.8523 GB, free: 104.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003958/3.265, allocations: 210.1 kB / 0.8525 GB, free: 104.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0141/3.279, allocations: 2.472 MB / 0.855 GB, free: 104.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02262/3.302, allocations: 2.673 MB / 0.8576 GB, free: 104.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03191/3.334, allocations: 16.91 MB / 0.8741 GB, free: 100.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01446/3.349, allocations: 0.6799 MB / 0.8747 GB, free: 100.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002913/3.352, allocations: 0.6371 MB / 0.8754 GB, free: 100.3 MB / 474.7 MB 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.004094/3.356, allocations: 0.9476 MB / 0.8763 GB, free: 99.98 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002125/3.358, allocations: 0.7483 MB / 0.877 GB, free: 99.98 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03077/3.389, allocations: 10.66 MB / 0.8874 GB, free: 96.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.46e-05/3.389, allocations: 48.48 kB / 0.8875 GB, free: 96.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.815e-05/3.389, allocations: 13.47 kB / 0.8875 GB, free: 96.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001066/3.389, allocations: 27.64 kB / 0.8875 GB, free: 96.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06845/3.457, allocations: 22.82 MB / 0.9098 GB, free: 88.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.662e-05/3.458, allocations: 5.438 kB / 0.9098 GB, free: 88.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009296/3.467, allocations: 0.8761 MB / 0.9107 GB, free: 88.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009971/3.477, allocations: 2.129 MB / 0.9127 GB, free: 88.39 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001493/3.478, allocations: 92.64 kB / 0.9128 GB, free: 88.33 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03087/3.509, allocations: 15.7 MB / 0.9282 GB, free: 74.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/3.509, allocations: 4 kB / 0.9282 GB, free: 74.59 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0428/3.552, allocations: 17.58 MB / 0.9453 GB, free: 59.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006297/3.559, allocations: 1.612 MB / 0.9469 GB, free: 57.73 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00253/3.561, allocations: 87.5 kB / 0.947 GB, free: 57.65 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008731/3.57, allocations: 355.2 kB / 0.9473 GB, free: 57.43 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001905/3.572, allocations: 288.9 kB / 0.9476 GB, free: 57.24 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006661/3.573, allocations: 127.6 kB / 0.9477 GB, free: 57.12 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01513/3.588, allocations: 5.201 MB / 0.9528 GB, free: 52.54 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.152e-06/3.588, allocations: 0 / 0.9528 GB, free: 52.54 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01629/3.604, allocations: 2.265 MB / 0.955 GB, free: 50.29 MB / 474.7 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 (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.04472/3.649, allocations: 18.89 MB / 0.9735 GB, free: 33.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02871/3.678, allocations: 12 MB / 0.9852 GB, free: 21.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/3.678, allocations: 0 / 0.9852 GB, free: 21.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01424/3.692, allocations: 5.204 MB / 0.9903 GB, free: 16.27 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008356/3.7, allocations: 0.9351 MB / 0.9912 GB, free: 15.38 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.407/4.107, allocations: 21.39 MB / 1.012 GB, free: 99.62 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02042/4.128, allocations: 6.588 MB / 1.019 GB, free: 98.69 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.02173/4.15, allocations: 3.769 MB / 1.022 GB, free: 98.62 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01242/4.162, allocations: 4.44 MB / 1.027 GB, free: 98.62 MB / 474.7 MB Notification: Performance of SimCode: time 1.933e-06/4.162, allocations: 0 / 1.027 GB, free: 98.62 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7341/4.896, allocations: 175.3 MB / 1.198 GB, free: 85.45 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/4.896, allocations: 174.4 kB / 1.198 GB, free: 85.23 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/15.71, allocations: 0 / 1.198 GB, free: 85.23 MB / 490.7 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