Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.048/2.048, allocations: 209.3 MB / 221.4 MB, free: 1.949 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.56e-05/4.571e-05, allocations: 4 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1102, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4527/0.563, allocations: 96.02 MB / 417.9 MB, free: 9.559 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.5633, allocations: 71.97 kB / 418 MB, free: 9.488 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8965/1.46, allocations: 138.2 MB / 0.5432 GB, free: 89.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.344e-06/1.46, allocations: 0 / 0.5432 GB, free: 89.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004555/1.46, allocations: 132.7 kB / 0.5433 GB, free: 89.23 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: 2484 * Number of variables: 2484 Notification: Performance of Generate backend data structure: time 0.02982/1.49, allocations: 6.797 MB / 0.5499 GB, free: 86.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/1.49, allocations: 10.88 kB / 0.5499 GB, free: 86.55 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006491/1.497, allocations: 1.237 MB / 0.5511 GB, free: 86.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05332/1.55, allocations: 7.184 MB / 0.5581 GB, free: 85.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02815/1.578, allocations: 7.523 MB / 0.5655 GB, free: 82.85 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007136/1.579, allocations: 0.5214 MB / 0.566 GB, free: 82.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004545/1.584, allocations: 0.6888 MB / 0.5667 GB, free: 82.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05535/1.639, allocations: 17.09 MB / 0.5834 GB, free: 70.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006163/1.64, allocations: 83.28 kB / 0.5834 GB, free: 70.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003896/1.644, allocations: 331.7 kB / 0.5838 GB, free: 70.61 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003674/1.647, allocations: 1.628 MB / 0.5853 GB, free: 68.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04554/1.693, allocations: 14.14 MB / 0.5992 GB, free: 54.81 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4677/2.161, allocations: 72.23 MB / 0.6697 GB, free: 35.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03148/2.192, allocations: 7.113 MB / 0.6766 GB, free: 34.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008953/2.201, allocations: 3.931 MB / 0.6805 GB, free: 34.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02712/2.229, allocations: 9.478 MB / 0.6897 GB, free: 33.06 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.433e-05/2.229, allocations: 68.91 kB / 0.6898 GB, free: 33.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=297): time 7.544e-06/2.229, allocations: 0 / 0.6898 GB, free: 33.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=339): time 0.1233/2.352, allocations: 27.69 MB / 0.7168 GB, free: 26.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/2.352, allocations: 246.3 kB / 0.7171 GB, free: 26.01 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01555/2.368, allocations: 5.884 MB / 0.7228 GB, free: 23.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00108/2.369, allocations: 78.19 kB / 0.7229 GB, free: 23.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004781/2.374, allocations: 4.81 MB / 0.7276 GB, free: 20.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002382/2.376, allocations: 1.258 MB / 0.7288 GB, free: 19.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001589/2.378, allocations: 180.3 kB / 0.729 GB, free: 19.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007101/2.378, allocations: 0.6875 MB / 0.7297 GB, free: 18.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009764/2.388, allocations: 3.647 MB / 0.7332 GB, free: 17.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01332/2.402, allocations: 8.678 MB / 0.7417 GB, free: 9.359 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01309/2.415, allocations: 5.573 MB / 0.7471 GB, free: 7.676 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000219/2.415, allocations: 49.31 kB / 0.7472 GB, free: 7.676 MB / 426.7 MB Notification: Performance of matching and sorting (n=1161) (initialization): time 0.03923/2.454, allocations: 13.66 MB / 0.7605 GB, free: 1.289 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000142/2.454, allocations: 87.42 kB / 0.7606 GB, free: 1.207 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00026/2.455, allocations: 176.5 kB / 0.7608 GB, free: 1.035 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007571/2.462, allocations: 1.709 MB / 0.7625 GB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0154/2.478, allocations: 2.116 MB / 0.7645 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02519/2.503, allocations: 11.39 MB / 0.7756 GB, free: 3.754 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0116/2.515, allocations: 0.5218 MB / 0.7761 GB, free: 3.316 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002622/2.517, allocations: 0.5199 MB / 0.7767 GB, free: 2.816 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 806 * Number of states: 0 () * Number of discrete variables: 54 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[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 (1089): * Single equations (assignments): 1084 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004297/2.522, allocations: 0.7642 MB / 0.7774 GB, free: 2.047 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002658/2.524, allocations: 0.5899 MB / 0.778 GB, free: 1.453 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03032/2.555, allocations: 7.683 MB / 0.7855 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.944e-05/2.555, allocations: 43.19 kB / 0.7855 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.824e-05/2.555, allocations: 8 kB / 0.7855 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.332e-05/2.555, allocations: 21.02 kB / 0.7855 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05611/2.611, allocations: 16 MB / 0.8012 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.488e-05/2.611, allocations: 4 kB / 0.8012 GB, free: 14.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007088/2.618, allocations: 0.6279 MB / 0.8018 GB, free: 13.54 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007305/2.626, allocations: 1.421 MB / 0.8032 GB, free: 12.11 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001043/2.627, allocations: 60 kB / 0.8032 GB, free: 12.05 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02502/2.652, allocations: 10.59 MB / 0.8136 GB, free: 1.211 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.768e-06/2.652, allocations: 11.94 kB / 0.8136 GB, free: 1.199 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03421/2.686, allocations: 12.59 MB / 0.8259 GB, free: 4.375 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005524/2.692, allocations: 1.207 MB / 0.8271 GB, free: 3.145 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002473/2.694, allocations: 56 kB / 0.8271 GB, free: 3.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006608/2.701, allocations: 231.7 kB / 0.8273 GB, free: 2.863 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001473/2.702, allocations: 201.9 kB / 0.8275 GB, free: 2.668 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005989/2.703, allocations: 94.95 kB / 0.8276 GB, free: 2.578 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.013/2.716, allocations: 4.22 MB / 0.8317 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.02e-07/2.716, allocations: 0 / 0.8317 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01264/2.729, allocations: 1.705 MB / 0.8334 GB, free: 12.67 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 274 * 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 {(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.3813/3.11, allocations: 13.96 MB / 0.847 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02489/3.135, allocations: 9.032 MB / 0.8559 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/3.135, allocations: 0.9062 kB / 0.8559 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.012/3.147, allocations: 3.655 MB / 0.8594 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007037/3.154, allocations: 0.7133 MB / 0.8601 GB, free: 147.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05178/3.206, allocations: 15.99 MB / 0.8757 GB, free: 144.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0118/3.218, allocations: 5.17 MB / 0.8808 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01416/3.232, allocations: 2.972 MB / 0.8837 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008408/3.241, allocations: 3.273 MB / 0.8869 GB, free: 141 MB / 0.4948 GB Notification: Performance of SimCode: time 1.323e-06/3.241, allocations: 0 / 0.8869 GB, free: 141 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2877/3.528, allocations: 133.8 MB / 1.018 GB, free: 42.29 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002662/3.529, allocations: 176.8 kB / 1.018 GB, free: 42.07 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/11.62, allocations: 0 / 1.018 GB, free: 42.07 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat