Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.5/2.5, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.658e-05/5.672e-05, allocations: 4 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4491/0.4492, allocations: 54.86 MB / 359.9 MB, free: 2.293 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2129/0.6621, allocations: 101.5 MB / 461.3 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/0.6625, allocations: 75.97 kB / 461.4 MB, free: 11.28 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.06/1.723, allocations: 178.8 MB / 0.6252 GB, free: 63.12 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.368e-06/1.723, allocations: 8 kB / 0.6252 GB, free: 63.11 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005626/1.724, allocations: 183.9 kB / 0.6254 GB, free: 62.93 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.03723/1.761, allocations: 8.793 MB / 0.634 GB, free: 54.06 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/1.761, allocations: 8.031 kB / 0.634 GB, free: 54.05 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00769/1.769, allocations: 1.619 MB / 0.6356 GB, free: 52.42 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07201/1.841, allocations: 9.867 MB / 0.6452 GB, free: 42.53 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03525/1.876, allocations: 9.846 MB / 0.6548 GB, free: 32.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009238/1.877, allocations: 0.7017 MB / 0.6555 GB, free: 31.89 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005568/1.882, allocations: 0.9176 MB / 0.6564 GB, free: 30.98 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07684/1.959, allocations: 22.04 MB / 0.6779 GB, free: 7.266 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006669/1.96, allocations: 111 kB / 0.678 GB, free: 7.156 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004346/1.964, allocations: 435.8 kB / 0.6785 GB, free: 6.73 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004682/1.969, allocations: 2.081 MB / 0.6805 GB, free: 4.641 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06424/2.033, allocations: 18.08 MB / 0.6981 GB, free: 2.535 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8753/2.909, allocations: 91.49 MB / 0.7875 GB, free: 22.41 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0382/2.947, allocations: 9.285 MB / 0.7966 GB, free: 19.39 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01102/2.958, allocations: 5.61 MB / 0.802 GB, free: 17.05 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005511/2.959, allocations: 87 kB / 0.8021 GB, free: 17.04 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.612e-05/2.959, allocations: 77.47 kB / 0.8022 GB, free: 16.98 MB / 474.8 MB Notification: Performance of pre-optimization done (n=412): time 8.856e-06/2.959, allocations: 0 / 0.8022 GB, free: 16.98 MB / 474.8 MB Notification: Performance of matching and sorting (n=475): time 0.1695/3.128, allocations: 38.52 MB / 0.8398 GB, free: 1.602 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/3.129, allocations: 292.4 kB / 0.8401 GB, free: 1.266 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04174/3.17, allocations: 8.579 MB / 0.8485 GB, free: 13.93 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001527/3.172, allocations: 103.8 kB / 0.8486 GB, free: 13.82 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007018/3.179, allocations: 5.775 MB / 0.8542 GB, free: 8.574 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003609/3.183, allocations: 1.749 MB / 0.8559 GB, free: 7.023 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002137/3.185, allocations: 221.6 kB / 0.8561 GB, free: 6.809 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001357/3.186, allocations: 0.7851 MB / 0.8569 GB, free: 6.152 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01467/3.201, allocations: 4.921 MB / 0.8617 GB, free: 1.734 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03085/3.232, allocations: 11.54 MB / 0.873 GB, free: 6.098 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01897/3.251, allocations: 7.281 MB / 0.8801 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002715/3.251, allocations: 60 kB / 0.8801 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1458) (initialization): time 0.4395/3.691, allocations: 17.14 MB / 0.8969 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002042/3.691, allocations: 99.81 kB / 0.897 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004695/3.691, allocations: 210.8 kB / 0.8972 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01234/3.704, allocations: 2.468 MB / 0.8996 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01976/3.724, allocations: 2.68 MB / 0.9022 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03671/3.76, allocations: 16.91 MB / 0.9187 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01489/3.775, allocations: 0.6706 MB / 0.9194 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003106/3.779, allocations: 0.6483 MB / 0.92 GB, free: 104.4 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.005289/3.784, allocations: 0.9397 MB / 0.9209 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002964/3.787, allocations: 0.7437 MB / 0.9216 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03479/3.822, allocations: 10.66 MB / 0.9321 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.755e-05/3.822, allocations: 51.31 kB / 0.9321 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.273e-05/3.822, allocations: 12.53 kB / 0.9321 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001361/3.822, allocations: 20.2 kB / 0.9321 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07331/3.895, allocations: 22.83 MB / 0.9544 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.418e-05/3.896, allocations: 3.062 kB / 0.9544 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009337/3.905, allocations: 0.8866 MB / 0.9553 GB, free: 100 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01002/3.915, allocations: 2.123 MB / 0.9574 GB, free: 99.61 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001544/3.917, allocations: 86.7 kB / 0.9575 GB, free: 99.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03092/3.948, allocations: 15.7 MB / 0.9728 GB, free: 91.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/3.948, allocations: 5.594 kB / 0.9728 GB, free: 91.24 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04248/3.99, allocations: 17.58 MB / 0.99 GB, free: 84.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006381/3.996, allocations: 1.608 MB / 0.9915 GB, free: 83.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002867/3.999, allocations: 79.84 kB / 0.9916 GB, free: 83.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008873/4.008, allocations: 360 kB / 0.992 GB, free: 82.85 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001925/4.01, allocations: 286.7 kB / 0.9922 GB, free: 82.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006454/4.011, allocations: 129 kB / 0.9924 GB, free: 82.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01334/4.024, allocations: 5.193 MB / 0.9974 GB, free: 77.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.163e-06/4.024, allocations: 0 / 0.9974 GB, free: 77.98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01536/4.04, allocations: 2.271 MB / 0.9996 GB, free: 75.72 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/4.085, allocations: 18.89 MB / 1.018 GB, free: 59.06 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02805/4.113, allocations: 11.99 MB / 1.03 GB, free: 48.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/4.113, allocations: 2.75 kB / 1.03 GB, free: 48.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01375/4.127, allocations: 5.202 MB / 1.035 GB, free: 44.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008286/4.135, allocations: 0.9339 MB / 1.036 GB, free: 43.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06876/4.204, allocations: 22.43 MB / 1.058 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01567/4.22, allocations: 6.607 MB / 1.064 GB, free: 19.15 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01225/4.232, allocations: 4.526 MB / 1.069 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of SimCode: time 1.743e-06/4.232, allocations: 0 / 1.069 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.489/11.72, allocations: 290.3 MB / 1.352 GB, free: 122.1 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat does not exist to compare? outputFormat=mat