Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.899/1.899, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.268e-05/4.277e-05, allocations: 8 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1039, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4381/0.5421, allocations: 93.94 MB / 415.8 MB, free: 11.53 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.5424, allocations: 83.89 kB / 415.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7807/1.323, allocations: 114.4 MB / 0.5179 GB, free: 90.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.515e-06/1.323, allocations: 1.625 kB / 0.5179 GB, free: 90.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004256/1.324, allocations: 110.2 kB / 0.518 GB, free: 90.27 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: 1954 * Number of variables: 1954 Notification: Performance of Generate backend data structure: time 0.02378/1.347, allocations: 5.463 MB / 0.5233 GB, free: 88.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/1.347, allocations: 7.219 kB / 0.5233 GB, free: 88.05 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00466/1.352, allocations: 0.9795 MB / 0.5243 GB, free: 87.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05185/1.404, allocations: 6.957 MB / 0.5311 GB, free: 87.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02506/1.429, allocations: 6.864 MB / 0.5378 GB, free: 86.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000554/1.43, allocations: 415.1 kB / 0.5382 GB, free: 86.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003165/1.433, allocations: 0.541 MB / 0.5387 GB, free: 86.81 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03968/1.473, allocations: 13.19 MB / 0.5516 GB, free: 82.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004187/1.473, allocations: 75.91 kB / 0.5516 GB, free: 82.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002403/1.476, allocations: 267.8 kB / 0.5519 GB, free: 82.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00285/1.478, allocations: 1.255 MB / 0.5531 GB, free: 82.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03256/1.511, allocations: 10.27 MB / 0.5632 GB, free: 78.89 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08691/1.598, allocations: 59.64 MB / 0.6214 GB, free: 28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0183/1.616, allocations: 4.588 MB / 0.6259 GB, free: 24.03 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004471/1.621, allocations: 2.223 MB / 0.628 GB, free: 21.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01642/1.637, allocations: 6.495 MB / 0.6344 GB, free: 15.24 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.515e-05/1.638, allocations: 55.72 kB / 0.6344 GB, free: 15.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=183): time 5.841e-06/1.638, allocations: 0 / 0.6344 GB, free: 15.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=195): time 0.06313/1.701, allocations: 14.53 MB / 0.6486 GB, free: 480 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.426e-05/1.701, allocations: 231 kB / 0.6489 GB, free: 200 kB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0145/1.715, allocations: 5.152 MB / 0.6539 GB, free: 11.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005104/1.716, allocations: 57.27 kB / 0.6539 GB, free: 11.01 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005251/1.721, allocations: 4.126 MB / 0.658 GB, free: 6.887 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001494/1.723, allocations: 0.7754 MB / 0.6587 GB, free: 6.117 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009911/1.724, allocations: 143.3 kB / 0.6589 GB, free: 5.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006615/1.724, allocations: 0.6038 MB / 0.6595 GB, free: 5.371 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006638/1.731, allocations: 2.244 MB / 0.6616 GB, free: 3.121 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3435/2.075, allocations: 6.687 MB / 0.6682 GB, free: 91.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/2.085, allocations: 3.861 MB / 0.6719 GB, free: 91.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002998/2.085, allocations: 47.03 kB / 0.672 GB, free: 91.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=934) (initialization): time 0.0275/2.113, allocations: 8.695 MB / 0.6805 GB, free: 91.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001965/2.113, allocations: 77.11 kB / 0.6806 GB, free: 91.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003402/2.113, allocations: 159.5 kB / 0.6807 GB, free: 91.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002719/2.116, allocations: 0.6067 MB / 0.6813 GB, free: 91.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01095/2.127, allocations: 1.637 MB / 0.6829 GB, free: 91.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009096/2.136, allocations: 5.723 MB / 0.6885 GB, free: 88.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008867/2.145, allocations: 386.8 kB / 0.6889 GB, free: 88.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001749/2.147, allocations: 449.4 kB / 0.6893 GB, free: 88.62 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * Number of states: 0 () * Number of discrete variables: 42 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (882): * Single equations (assignments): 877 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001889/2.149, allocations: 0.6537 MB / 0.6899 GB, free: 88.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001209/2.15, allocations: 491.7 kB / 0.6904 GB, free: 88.36 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008177/2.158, allocations: 3.023 MB / 0.6933 GB, free: 88.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.247e-05/2.159, allocations: 24.31 kB / 0.6934 GB, free: 88.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/2.159, allocations: 3.844 kB / 0.6934 GB, free: 88.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.731e-05/2.159, allocations: 9.891 kB / 0.6934 GB, free: 88.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02342/2.182, allocations: 8.437 MB / 0.7016 GB, free: 87.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.122e-05/2.182, allocations: 5.344 kB / 0.7016 GB, free: 87.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003152/2.185, allocations: 326.5 kB / 0.7019 GB, free: 87.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001715/2.187, allocations: 360.6 kB / 0.7023 GB, free: 87.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003843/2.187, allocations: 38.5 kB / 0.7023 GB, free: 87.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007646/2.195, allocations: 5.071 MB / 0.7073 GB, free: 83.86 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/2.195, allocations: 14.48 kB / 0.7073 GB, free: 83.85 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01244/2.208, allocations: 6.09 MB / 0.7132 GB, free: 80.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003018/2.211, allocations: 0.7975 MB / 0.714 GB, free: 80.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001613/2.212, allocations: 42.22 kB / 0.7141 GB, free: 80.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004024/2.216, allocations: 89.92 kB / 0.7141 GB, free: 80.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006143/2.217, allocations: 117.7 kB / 0.7143 GB, free: 80.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002052/2.217, allocations: 65.98 kB / 0.7143 GB, free: 80.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009481/2.227, allocations: 3.673 MB / 0.7179 GB, free: 79.08 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.082e-06/2.227, allocations: 0 / 0.7179 GB, free: 79.08 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009866/2.237, allocations: 1.219 MB / 0.7191 GB, free: 78.94 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (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 (154): * Single equations (assignments): 149 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.01331/2.25, allocations: 7.281 MB / 0.7262 GB, free: 74.83 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01266/2.263, allocations: 5.392 MB / 0.7315 GB, free: 72.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/2.263, allocations: 3.938 kB / 0.7315 GB, free: 72.87 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003555/2.266, allocations: 1.654 MB / 0.7331 GB, free: 72.13 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005127/2.272, allocations: 0.599 MB / 0.7337 GB, free: 71.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.038/2.31, allocations: 11.4 MB / 0.7448 GB, free: 67.69 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009478/2.319, allocations: 4.242 MB / 0.7489 GB, free: 66.19 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01112/2.33, allocations: 2.317 MB / 0.7512 GB, free: 65.56 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005839/2.336, allocations: 2.572 MB / 0.7537 GB, free: 63.18 MB / 442.7 MB Notification: Performance of SimCode: time 1.212e-06/2.336, allocations: 0 / 0.7537 GB, free: 63.18 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5618/2.898, allocations: 98.78 MB / 0.8502 GB, free: 95.59 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000186/2.898, allocations: 173.2 kB / 0.8503 GB, free: 95.37 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.96/9.858, allocations: 0 / 0.8503 GB, free: 95.37 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat does not exist to compare? outputFormat=mat