Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.148/3.148, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.49e-05/3.5e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4045, allocations: 54.85 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2194/0.6239, allocations: 100.8 MB / 455.2 MB, free: 10.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003612/0.6243, allocations: 87.88 kB / 455.3 MB, free: 10.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.266/1.891, allocations: 175.3 MB / 0.6158 GB, free: 10.32 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.367e-06/1.891, allocations: 4 kB / 0.6158 GB, free: 10.32 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007904/1.892, allocations: 183.9 kB / 0.616 GB, free: 10.14 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.05042/1.942, allocations: 8.782 MB / 0.6246 GB, free: 1.273 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.182e-05/1.942, allocations: 8.031 kB / 0.6246 GB, free: 1.266 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009045/1.951, allocations: 1.244 MB / 0.6258 GB, free: 12 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6872/2.639, allocations: 9.871 MB / 0.6354 GB, free: 52.83 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04384/2.682, allocations: 9.818 MB / 0.645 GB, free: 52.37 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008449/2.683, allocations: 401 kB / 0.6454 GB, free: 52.35 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005751/2.689, allocations: 0.5489 MB / 0.6459 GB, free: 52.34 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04015/2.729, allocations: 12.91 MB / 0.6585 GB, free: 52.29 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07505/2.804, allocations: 19.19 MB / 0.6773 GB, free: 47.84 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008338/2.805, allocations: 106.8 kB / 0.6774 GB, free: 47.82 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005228/2.811, allocations: 52.19 kB / 0.6774 GB, free: 47.82 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005995/2.817, allocations: 2.082 MB / 0.6795 GB, free: 47.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1791/2.996, allocations: 87.22 MB / 0.7646 GB, free: 5.703 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03546/3.031, allocations: 8.21 MB / 0.7727 GB, free: 15.58 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01662/3.048, allocations: 5.493 MB / 0.778 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007551/3.049, allocations: 85.03 kB / 0.7781 GB, free: 10.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/3.049, allocations: 85.08 kB / 0.7782 GB, free: 10.42 MB / 490.7 MB Notification: Performance of pre-optimization done (n=412): time 1.176e-05/3.049, allocations: 0 / 0.7782 GB, free: 10.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=477): time 0.7888/3.838, allocations: 41.27 MB / 0.8185 GB, free: 89.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/3.838, allocations: 287 kB / 0.8188 GB, free: 89.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01705/3.855, allocations: 5.502 MB / 0.8241 GB, free: 89.19 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001532/3.857, allocations: 29.2 kB / 0.8242 GB, free: 89.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006512/3.863, allocations: 6.2 MB / 0.8302 GB, free: 86.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003499/3.867, allocations: 1.702 MB / 0.8319 GB, free: 85.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001914/3.869, allocations: 0 / 0.8319 GB, free: 85.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001302/3.87, allocations: 0.7999 MB / 0.8327 GB, free: 85.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01414/3.884, allocations: 4.79 MB / 0.8373 GB, free: 85.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01883/3.903, allocations: 11.08 MB / 0.8482 GB, free: 76.99 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01921/3.922, allocations: 7.204 MB / 0.8552 GB, free: 76.93 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003181/3.923, allocations: 62.66 kB / 0.8553 GB, free: 76.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1511) (initialization): time 0.06571/3.989, allocations: 16.84 MB / 0.8717 GB, free: 76.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003298/3.989, allocations: 99.66 kB / 0.8718 GB, free: 76.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005617/3.989, allocations: 221.8 kB / 0.872 GB, free: 76.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0199/4.009, allocations: 2.493 MB / 0.8744 GB, free: 76.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03433/4.044, allocations: 2.775 MB / 0.8772 GB, free: 76.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04498/4.089, allocations: 15.92 MB / 0.8927 GB, free: 70.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01899/4.108, allocations: 470 kB / 0.8931 GB, free: 70.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003855/4.112, allocations: 0.6668 MB / 0.8938 GB, free: 70 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1014 * 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 (1415): * Single equations (assignments): 1409 * 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%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006062/4.118, allocations: 0.676 MB / 0.8945 GB, free: 69.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003233/4.121, allocations: 0.6367 MB / 0.8951 GB, free: 69.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05194/4.173, allocations: 10.22 MB / 0.9051 GB, free: 65.57 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001779/4.173, allocations: 52.47 kB / 0.9051 GB, free: 65.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.369e-05/4.174, allocations: 14.28 kB / 0.9051 GB, free: 65.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001796/4.174, allocations: 26.31 kB / 0.9051 GB, free: 65.57 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08996/4.264, allocations: 21.01 MB / 0.9257 GB, free: 55.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.845e-05/4.264, allocations: 4 kB / 0.9257 GB, free: 55.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01215/4.276, allocations: 0.8841 MB / 0.9265 GB, free: 54.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01272/4.289, allocations: 2.111 MB / 0.9286 GB, free: 53.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001571/4.29, allocations: 27.55 kB / 0.9286 GB, free: 53.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03523/4.326, allocations: 14.68 MB / 0.9429 GB, free: 39.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.218e-05/4.326, allocations: 7.938 kB / 0.9429 GB, free: 39.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04922/4.375, allocations: 17.02 MB / 0.9596 GB, free: 24.97 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006623/4.382, allocations: 1.437 MB / 0.961 GB, free: 23.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002925/4.385, allocations: 6.906 kB / 0.961 GB, free: 23.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00955/4.394, allocations: 285.1 kB / 0.9613 GB, free: 23.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002093/4.396, allocations: 287.3 kB / 0.9615 GB, free: 23.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000811/4.397, allocations: 128.6 kB / 0.9617 GB, free: 23.19 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01069/4.408, allocations: 3.702 MB / 0.9653 GB, free: 19.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.673e-06/4.408, allocations: 0 / 0.9653 GB, free: 19.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01739/4.425, allocations: 1.963 MB / 0.9672 GB, free: 18.03 MB / 0.4948 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 (408): * Single equations (assignments): 402 * 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.05958/4.485, allocations: 18.38 MB / 0.9851 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.5155/5.001, allocations: 12.33 MB / 0.9972 GB, free: 102 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/5.001, allocations: 0 / 0.9972 GB, free: 102 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01759/5.018, allocations: 5.099 MB / 1.002 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008763/5.027, allocations: 0.6734 MB / 1.003 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08566/5.113, allocations: 20.78 MB / 1.023 GB, free: 98.09 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02137/5.134, allocations: 6.6 MB / 1.03 GB, free: 97.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.02596/5.16, allocations: 3.733 MB / 1.033 GB, free: 97.07 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01573/5.176, allocations: 4.405 MB / 1.037 GB, free: 97.06 MB / 0.5105 GB Notification: Performance of SimCode: time 1.924e-06/5.176, allocations: 0 / 1.037 GB, free: 97.06 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.096/6.272, allocations: 159.9 MB / 1.194 GB, free: 63.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002671/6.272, allocations: 145.3 kB / 1.194 GB, free: 63.51 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 11.6/17.87, allocations: 0.6562 kB / 1.194 GB, free: 63.51 MB / 0.5105 GB