Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.422/2.422, allocations: 235.1 MB / 242.2 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.004e-05/4.021e-05, allocations: 7.938 kB / 299.5 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.401, allocations: 54.84 MB / 354.3 MB, free: 14.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1941/0.5951, allocations: 100.1 MB / 454.4 MB, free: 14.17 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/0.5955, allocations: 71.97 kB / 454.5 MB, free: 14.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7639/1.359, allocations: 112.1 MB / 0.5533 GB, free: 74.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/1.359, allocations: 0 / 0.5533 GB, free: 74.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000384/1.36, allocations: 111.9 kB / 0.5534 GB, free: 74.03 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.02242/1.382, allocations: 5.464 MB / 0.5588 GB, free: 68.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/1.382, allocations: 8.031 kB / 0.5588 GB, free: 68.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05023/1.433, allocations: 6.958 MB / 0.5656 GB, free: 61.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02499/1.458, allocations: 6.855 MB / 0.5723 GB, free: 54.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003755/1.458, allocations: 176 kB / 0.5724 GB, free: 54.51 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003274/1.461, allocations: 332.3 kB / 0.5727 GB, free: 54.19 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01915/1.481, allocations: 7.457 MB / 0.58 GB, free: 46.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03474/1.515, allocations: 11.73 MB / 0.5915 GB, free: 33.74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000324/1.516, allocations: 75.34 kB / 0.5915 GB, free: 33.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001792/1.518, allocations: 40 kB / 0.5916 GB, free: 33.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0025/1.52, allocations: 1.253 MB / 0.5928 GB, free: 32.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08589/1.606, allocations: 57.4 MB / 0.6489 GB, free: 5.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00757/1.614, allocations: 3.437 MB / 0.6522 GB, free: 1.922 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004835/1.619, allocations: 2.101 MB / 0.6543 GB, free: 15.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002623/1.619, allocations: 37.47 kB / 0.6543 GB, free: 15.77 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.174e-05/1.619, allocations: 55.62 kB / 0.6544 GB, free: 15.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=185): time 7.845e-06/1.619, allocations: 3.938 kB / 0.6544 GB, free: 15.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=198): time 0.3961/2.015, allocations: 17.52 MB / 0.6715 GB, free: 117.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.52e-05/2.015, allocations: 228.9 kB / 0.6717 GB, free: 117 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01576/2.031, allocations: 4.123 MB / 0.6757 GB, free: 116.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006536/2.032, allocations: 27.08 kB / 0.6757 GB, free: 116.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005885/2.038, allocations: 4.209 MB / 0.6799 GB, free: 114.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001984/2.04, allocations: 0.7637 MB / 0.6806 GB, free: 114.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001324/2.041, allocations: 1.031 kB / 0.6806 GB, free: 114.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001297/2.042, allocations: 0.6231 MB / 0.6812 GB, free: 114 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009174/2.052, allocations: 2.2 MB / 0.6834 GB, free: 114 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0131/2.065, allocations: 6.854 MB / 0.69 GB, free: 108 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01319/2.078, allocations: 3.857 MB / 0.6938 GB, free: 107.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002933/2.078, allocations: 48.81 kB / 0.6939 GB, free: 107.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.03536/2.114, allocations: 8.396 MB / 0.7021 GB, free: 107.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002303/2.114, allocations: 73.69 kB / 0.7021 GB, free: 107.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003741/2.115, allocations: 168.2 kB / 0.7023 GB, free: 107.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00358/2.118, allocations: 0.6105 MB / 0.7029 GB, free: 107.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01542/2.134, allocations: 1.718 MB / 0.7046 GB, free: 107 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/2.147, allocations: 5.534 MB / 0.71 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01271/2.16, allocations: 254.6 kB / 0.7102 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002323/2.162, allocations: 465.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.003496/2.165, allocations: 0.5065 MB / 0.7111 GB, free: 103.2 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01263/2.178, allocations: 3.15 MB / 0.7142 GB, free: 102.1 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002279/2.18, allocations: 425.4 kB / 0.7146 GB, free: 101.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0122/2.193, allocations: 2.917 MB / 0.7175 GB, free: 100.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.836e-05/2.193, allocations: 23.28 kB / 0.7175 GB, free: 100.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-05/2.193, allocations: 5.594 kB / 0.7175 GB, free: 100.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.606e-05/2.193, allocations: 9.922 kB / 0.7175 GB, free: 100.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03324/2.226, allocations: 7.545 MB / 0.7249 GB, free: 97.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.211e-05/2.226, allocations: 0 / 0.7249 GB, free: 97.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003759/2.23, allocations: 301.9 kB / 0.7252 GB, free: 97.87 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002284/2.233, allocations: 354.7 kB / 0.7255 GB, free: 97.78 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006312/2.233, allocations: 18.8 kB / 0.7255 GB, free: 97.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/2.244, allocations: 4.842 MB / 0.7303 GB, free: 94.25 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.347e-06/2.244, allocations: 0 / 0.7303 GB, free: 94.25 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01769/2.261, allocations: 5.695 MB / 0.7358 GB, free: 91.61 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003716/2.265, allocations: 0.7243 MB / 0.7365 GB, free: 91.15 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002287/2.268, allocations: 1.312 kB / 0.7365 GB, free: 91.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005154/2.273, allocations: 71.27 kB / 0.7366 GB, free: 91.15 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000908/2.274, allocations: 103.5 kB / 0.7367 GB, free: 91.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004857/2.274, allocations: 54.53 kB / 0.7367 GB, free: 91.12 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01026/2.285, allocations: 2.795 MB / 0.7395 GB, free: 90.11 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.31e-07/2.285, allocations: 0 / 0.7395 GB, free: 90.11 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01364/2.298, allocations: 1.05 MB / 0.7405 GB, free: 89.27 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.0169/2.315, allocations: 6.657 MB / 0.747 GB, free: 83.18 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01552/2.331, allocations: 5.417 MB / 0.7523 GB, free: 78.26 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/2.331, allocations: 5.625 kB / 0.7523 GB, free: 78.25 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004601/2.335, allocations: 1.672 MB / 0.7539 GB, free: 76.73 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005858/2.341, allocations: 484 kB / 0.7544 GB, free: 76.32 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04845/2.39, allocations: 11.12 MB / 0.7653 GB, free: 66.69 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01295/2.403, allocations: 4.24 MB / 0.7694 GB, free: 63.55 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01459/2.418, allocations: 2.38 MB / 0.7717 GB, free: 62.05 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007834/2.425, allocations: 2.525 MB / 0.7742 GB, free: 59.71 MB / 474.7 MB Notification: Performance of SimCode: time 1.783e-06/2.425, allocations: 0 / 0.7742 GB, free: 59.71 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.613/3.039, allocations: 88.21 MB / 0.8603 GB, free: 106.4 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/3.039, allocations: 137.2 kB / 0.8605 GB, free: 106.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.225/9.264, allocations: 0 / 0.8605 GB, free: 106.3 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat does not exist to compare? outputFormat=mat