Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.436/2.436, allocations: 235.2 MB / 242.3 MB, free: 15.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.875e-05/2.896e-05, allocations: 4 kB / 299.6 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3857, allocations: 54.86 MB / 354.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1898/0.5755, allocations: 100.1 MB / 454.5 MB, free: 14.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/0.5759, allocations: 71.97 kB / 454.6 MB, free: 14.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8012/1.377, allocations: 112.1 MB / 0.5534 GB, free: 74.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.444e-06/1.377, allocations: 0 / 0.5534 GB, free: 74.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003725/1.378, allocations: 110.3 kB / 0.5535 GB, free: 74 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: 1956 * Number of variables: 1956 Notification: Performance of Generate backend data structure: time 0.0215/1.399, allocations: 5.454 MB / 0.5588 GB, free: 68.49 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/1.399, allocations: 8.031 kB / 0.5589 GB, free: 68.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07934/1.478, allocations: 6.958 MB / 0.5657 GB, free: 61.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02987/1.508, allocations: 6.86 MB / 0.5724 GB, free: 54.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003254/1.509, allocations: 176 kB / 0.5725 GB, free: 54.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002838/1.512, allocations: 328.3 kB / 0.5728 GB, free: 54.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01893/1.531, allocations: 7.457 MB / 0.5801 GB, free: 46.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0258/1.556, allocations: 11.74 MB / 0.5916 GB, free: 33.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000283/1.557, allocations: 79.28 kB / 0.5917 GB, free: 33.63 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001086/1.558, allocations: 39.94 kB / 0.5917 GB, free: 33.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002536/1.56, allocations: 1.254 MB / 0.5929 GB, free: 32.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08838/1.649, allocations: 57.39 MB / 0.649 GB, free: 5.457 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008216/1.657, allocations: 3.439 MB / 0.6523 GB, free: 1.859 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005145/1.662, allocations: 2.101 MB / 0.6544 GB, free: 15.73 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002248/1.663, allocations: 37.39 kB / 0.6544 GB, free: 15.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.758e-05/1.663, allocations: 55.62 kB / 0.6545 GB, free: 15.64 MB / 474.7 MB Notification: Performance of pre-optimization done (n=185): time 6.733e-06/1.663, allocations: 0 / 0.6545 GB, free: 15.64 MB / 474.7 MB Notification: Performance of matching and sorting (n=198): time 0.4267/2.089, allocations: 17.52 MB / 0.6716 GB, free: 117.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.911e-05/2.089, allocations: 227.7 kB / 0.6718 GB, free: 117.1 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01118/2.101, allocations: 4.128 MB / 0.6758 GB, free: 116.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004793/2.101, allocations: 28.83 kB / 0.6758 GB, free: 116.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004056/2.105, allocations: 4.212 MB / 0.68 GB, free: 114.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001451/2.107, allocations: 0.7627 MB / 0.6807 GB, free: 114.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008851/2.108, allocations: 1.094 kB / 0.6807 GB, free: 114.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005807/2.108, allocations: 0.6201 MB / 0.6813 GB, free: 114.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006026/2.114, allocations: 2.192 MB / 0.6834 GB, free: 114.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009078/2.123, allocations: 6.862 MB / 0.6901 GB, free: 108 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009008/2.133, allocations: 3.853 MB / 0.6939 GB, free: 108 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002114/2.133, allocations: 47.41 kB / 0.694 GB, free: 108 MB / 474.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.0239/2.157, allocations: 8.399 MB / 0.7022 GB, free: 107.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001304/2.157, allocations: 77.16 kB / 0.7022 GB, free: 107.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002097/2.157, allocations: 170.3 kB / 0.7024 GB, free: 107.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002243/2.159, allocations: 0.6066 MB / 0.703 GB, free: 107.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01093/2.17, allocations: 1.719 MB / 0.7047 GB, free: 107 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008805/2.179, allocations: 5.527 MB / 0.7101 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008947/2.188, allocations: 248.4 kB / 0.7103 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001906/2.19, allocations: 463.8 kB / 0.7107 GB, free: 103.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 764 * 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 (925): * Single equations (assignments): 920 * 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.002447/2.193, allocations: 0.5179 MB / 0.7112 GB, free: 103.2 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009765/2.202, allocations: 3.154 MB / 0.7143 GB, free: 102.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001676/2.204, allocations: 423.8 kB / 0.7147 GB, free: 101.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00857/2.213, allocations: 2.916 MB / 0.7176 GB, free: 100.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.529e-05/2.213, allocations: 25.19 kB / 0.7176 GB, free: 100.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.97e-05/2.213, allocations: 6.062 kB / 0.7176 GB, free: 100.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-05/2.213, allocations: 11.77 kB / 0.7176 GB, free: 100.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02287/2.236, allocations: 7.542 MB / 0.725 GB, free: 97.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.925e-05/2.236, allocations: 0 / 0.725 GB, free: 97.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003214/2.239, allocations: 301.5 kB / 0.7253 GB, free: 97.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001772/2.241, allocations: 356 kB / 0.7256 GB, free: 97.77 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002593/2.241, allocations: 14.81 kB / 0.7256 GB, free: 97.76 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00753/2.249, allocations: 4.841 MB / 0.7304 GB, free: 94.25 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/2.249, allocations: 2.656 kB / 0.7304 GB, free: 94.25 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01218/2.261, allocations: 5.686 MB / 0.7359 GB, free: 91.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0028/2.264, allocations: 0.7231 MB / 0.7366 GB, free: 91.14 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001095/2.265, allocations: 7.875 kB / 0.7366 GB, free: 91.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003104/2.268, allocations: 71.44 kB / 0.7367 GB, free: 91.14 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004796/2.269, allocations: 100.5 kB / 0.7368 GB, free: 91.13 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002105/2.269, allocations: 58.12 kB / 0.7368 GB, free: 91.12 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006404/2.275, allocations: 2.791 MB / 0.7396 GB, free: 90.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.92e-07/2.275, allocations: 0 / 0.7396 GB, free: 90.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009358/2.285, allocations: 1.05 MB / 0.7406 GB, free: 89.23 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 150 * 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.01245/2.297, allocations: 6.67 MB / 0.7471 GB, free: 83.12 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0123/2.309, allocations: 5.416 MB / 0.7524 GB, free: 78.21 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/2.309, allocations: 0 / 0.7524 GB, free: 78.21 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003696/2.313, allocations: 1.67 MB / 0.754 GB, free: 76.69 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004679/2.318, allocations: 489.5 kB / 0.7545 GB, free: 76.29 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03636/2.354, allocations: 11.13 MB / 0.7654 GB, free: 66.64 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009319/2.364, allocations: 4.246 MB / 0.7695 GB, free: 63.5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01174/2.375, allocations: 2.368 MB / 0.7718 GB, free: 62 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005924/2.381, allocations: 2.527 MB / 0.7743 GB, free: 59.66 MB / 474.7 MB Notification: Performance of SimCode: time 1.783e-06/2.381, allocations: 0 / 0.7743 GB, free: 59.66 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6171/2.999, allocations: 88.23 MB / 0.8605 GB, free: 106.8 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002342/2.999, allocations: 135.7 kB / 0.8606 GB, free: 106.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.331/9.33, allocations: 1.469 kB / 0.8606 GB, free: 106.6 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat does not exist to compare? outputFormat=mat