Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.473/2.473, allocations: 235.1 MB / 242.2 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.161e-05/3.162e-05, allocations: 4 kB / 299.5 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.3977, allocations: 54.84 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1842/0.582, allocations: 98.9 MB / 453.2 MB, free: 15.28 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.5824, allocations: 71.97 kB / 453.3 MB, free: 15.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9677/1.55, allocations: 166.4 MB / 0.6051 GB, free: 20.85 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.425e-06/1.55, allocations: 0 / 0.6051 GB, free: 20.85 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006054/1.551, allocations: 168 kB / 0.6053 GB, free: 20.69 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: 2948 * Number of variables: 2948 Notification: Performance of Generate backend data structure: time 0.03421/1.585, allocations: 8.251 MB / 0.6134 GB, free: 12.35 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/1.585, allocations: 12.03 kB / 0.6134 GB, free: 12.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08894/1.674, allocations: 12.08 MB / 0.6252 GB, free: 232 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04242/1.716, allocations: 10.93 MB / 0.6358 GB, free: 5.207 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006955/1.717, allocations: 284.3 kB / 0.6361 GB, free: 4.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004793/1.722, allocations: 0.5114 MB / 0.6366 GB, free: 4.418 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0392/1.761, allocations: 11.43 MB / 0.6478 GB, free: 8.977 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05841/1.82, allocations: 17.18 MB / 0.6646 GB, free: 6.27 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001037/1.821, allocations: 107.1 kB / 0.6647 GB, free: 6.164 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005119/1.826, allocations: 44 kB / 0.6647 GB, free: 6.121 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006943/1.833, allocations: 1.819 MB / 0.6665 GB, free: 4.297 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9229/2.756, allocations: 78.68 MB / 0.7433 GB, free: 38.86 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01078/2.767, allocations: 5.842 MB / 0.749 GB, free: 38.16 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007385/2.774, allocations: 3.991 MB / 0.7529 GB, free: 36.63 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/2.775, allocations: 0.6688 MB / 0.7536 GB, free: 36.04 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.323e-05/2.775, allocations: 74.09 kB / 0.7536 GB, free: 35.98 MB / 474.8 MB Notification: Performance of pre-optimization done (n=311): time 6.873e-06/2.775, allocations: 0 / 0.7536 GB, free: 35.98 MB / 474.8 MB Notification: Performance of matching and sorting (n=338): time 0.1062/2.882, allocations: 33.68 MB / 0.7865 GB, free: 22.39 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/2.882, allocations: 294.3 kB / 0.7868 GB, free: 22.07 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01473/2.897, allocations: 5.516 MB / 0.7922 GB, free: 19.16 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009285/2.898, allocations: 25.7 kB / 0.7922 GB, free: 19.13 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005762/2.903, allocations: 5.961 MB / 0.7981 GB, free: 13.87 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002167/2.906, allocations: 1.243 MB / 0.7993 GB, free: 12.75 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001642/2.907, allocations: 0 / 0.7993 GB, free: 12.75 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0008793/2.908, allocations: 0.7307 MB / 0.8 GB, free: 12.14 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008297/2.917, allocations: 3.335 MB / 0.8032 GB, free: 9.164 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01323/2.93, allocations: 9.236 MB / 0.8123 GB, free: 13.77 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01418/2.944, allocations: 5.481 MB / 0.8176 GB, free: 9.5 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002855/2.944, allocations: 60 kB / 0.8177 GB, free: 9.441 MB / 490.8 MB Notification: Performance of matching and sorting (n=1310) (initialization): time 0.03707/2.982, allocations: 12.15 MB / 0.8295 GB, free: 14.86 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001881/2.982, allocations: 99.94 kB / 0.8296 GB, free: 14.77 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003814/2.982, allocations: 212 kB / 0.8298 GB, free: 14.56 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004434/2.987, allocations: 1.051 MB / 0.8309 GB, free: 13.68 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01577/3.002, allocations: 2.337 MB / 0.8331 GB, free: 11.66 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01994/3.022, allocations: 10.84 MB / 0.8437 GB, free: 1.379 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01186/3.034, allocations: 348.7 kB / 0.8441 GB, free: 1.094 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002762/3.037, allocations: 0.5955 MB / 0.8446 GB, free: 0.5117 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * Number of states: 0 () * Number of discrete variables: 63 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],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],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 (1230): * Single equations (assignments): 1223 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004276/3.041, allocations: 0.6427 MB / 0.8453 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01794/3.059, allocations: 5.626 MB / 0.8508 GB, free: 11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002572/3.062, allocations: 0.6016 MB / 0.8514 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01897/3.081, allocations: 5.686 MB / 0.8569 GB, free: 5.684 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001205/3.081, allocations: 32 kB / 0.8569 GB, free: 5.652 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.551e-05/3.081, allocations: 15.95 kB / 0.8569 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001007/3.081, allocations: 16.78 kB / 0.857 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5178/3.599, allocations: 13.37 MB / 0.87 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.385e-05/3.599, allocations: 2.469 kB / 0.87 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006394/3.606, allocations: 0.5634 MB / 0.8706 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003734/3.61, allocations: 0.6939 MB / 0.8713 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009513/3.611, allocations: 10.98 kB / 0.8713 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01633/3.627, allocations: 9.709 MB / 0.8807 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/3.627, allocations: 0 / 0.8807 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02416/3.651, allocations: 9.759 MB / 0.8903 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004844/3.656, allocations: 1.078 MB / 0.8913 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002858/3.659, allocations: 3.438 kB / 0.8913 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006426/3.666, allocations: 144.8 kB / 0.8915 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001399/3.667, allocations: 198.6 kB / 0.8917 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001065/3.668, allocations: 87.5 kB / 0.8917 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0111/3.679, allocations: 3.755 MB / 0.8954 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.323e-06/3.679, allocations: 0 / 0.8954 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01458/3.694, allocations: 1.621 MB / 0.897 GB, free: 110.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (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 (279): * Single equations (assignments): 272 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(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.0304/3.724, allocations: 10.7 MB / 0.9074 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02242/3.747, allocations: 8.47 MB / 0.9157 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/3.747, allocations: 3.969 kB / 0.9157 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007219/3.754, allocations: 3.104 MB / 0.9187 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007626/3.762, allocations: 0.7336 MB / 0.9195 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06359/3.825, allocations: 17.3 MB / 0.9364 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01872/3.844, allocations: 6.134 MB / 0.9423 GB, free: 99.74 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01674/3.861, allocations: 3.092 MB / 0.9454 GB, free: 99.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01087/3.872, allocations: 4.051 MB / 0.9493 GB, free: 96.29 MB / 0.5105 GB Notification: Performance of SimCode: time 2.284e-06/3.872, allocations: 0 / 0.9493 GB, free: 96.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7191/4.591, allocations: 134.9 MB / 1.081 GB, free: 98.42 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/4.591, allocations: 139.2 kB / 1.081 GB, free: 98.23 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.583/13.17, allocations: 0 / 1.081 GB, free: 98.23 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat does not exist to compare? outputFormat=mat