Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.842/1.842, allocations: 209.4 MB / 216.5 MB, free: 6.676 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.122e-05/3.123e-05, allocations: 3.938 kB / 267.6 MB, free: 4.961 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1027, allocations: 48.7 MB / 316.3 MB, free: 4.164 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4129/0.5157, allocations: 92.29 MB / 408.6 MB, free: 436 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.516, allocations: 78.5 kB / 408.7 MB, free: 392 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9338/1.45, allocations: 166.2 MB / 0.5614 GB, free: 68.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.205e-06/1.45, allocations: 7.938 kB / 0.5614 GB, free: 68.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006254/1.451, allocations: 168 kB / 0.5616 GB, free: 68.25 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2944 * Number of variables: 2944 Notification: Performance of Generate backend data structure: time 0.03281/1.483, allocations: 8.256 MB / 0.5696 GB, free: 59.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/1.483, allocations: 8.031 kB / 0.5696 GB, free: 59.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08547/1.569, allocations: 12.08 MB / 0.5814 GB, free: 47.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03646/1.605, allocations: 10.94 MB / 0.5921 GB, free: 36.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005599/1.606, allocations: 276 kB / 0.5924 GB, free: 36.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004565/1.611, allocations: 0.5075 MB / 0.5929 GB, free: 36.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02884/1.639, allocations: 11.42 MB / 0.604 GB, free: 24.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04688/1.686, allocations: 17.17 MB / 0.6208 GB, free: 5.996 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005927/1.687, allocations: 115 kB / 0.6209 GB, free: 5.883 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003691/1.691, allocations: 47.95 kB / 0.621 GB, free: 5.836 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003983/1.695, allocations: 1.818 MB / 0.6227 GB, free: 4.023 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7328/2.428, allocations: 78.64 MB / 0.6995 GB, free: 30.83 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0111/2.439, allocations: 5.84 MB / 0.7052 GB, free: 30.14 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007605/2.446, allocations: 3.998 MB / 0.7091 GB, free: 30.1 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/2.448, allocations: 0.6594 MB / 0.7098 GB, free: 29.53 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.199e-05/2.448, allocations: 73.09 kB / 0.7098 GB, free: 29.49 MB / 426.8 MB Notification: Performance of pre-optimization done (n=311): time 7.534e-06/2.448, allocations: 0 / 0.7098 GB, free: 29.49 MB / 426.8 MB Notification: Performance of matching and sorting (n=338): time 0.1033/2.551, allocations: 33.71 MB / 0.7428 GB, free: 17.07 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/2.551, allocations: 293.8 kB / 0.743 GB, free: 16.75 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0128/2.564, allocations: 5.519 MB / 0.7484 GB, free: 14.79 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008796/2.565, allocations: 27.36 kB / 0.7485 GB, free: 14.76 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005687/2.571, allocations: 5.961 MB / 0.7543 GB, free: 10.25 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002096/2.573, allocations: 1.243 MB / 0.7555 GB, free: 9.328 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001212/2.574, allocations: 0 / 0.7555 GB, free: 9.328 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0007403/2.575, allocations: 0.7313 MB / 0.7562 GB, free: 8.84 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007983/2.583, allocations: 3.335 MB / 0.7595 GB, free: 7.641 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01293/2.596, allocations: 9.235 MB / 0.7685 GB, free: 13.36 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01345/2.609, allocations: 5.474 MB / 0.7738 GB, free: 9.008 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002476/2.609, allocations: 60 kB / 0.7739 GB, free: 8.949 MB / 442.8 MB Notification: Performance of matching and sorting (n=1310) (initialization): time 0.03656/2.646, allocations: 12.14 MB / 0.7857 GB, free: 14.39 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001931/2.646, allocations: 102.7 kB / 0.7858 GB, free: 14.3 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003592/2.647, allocations: 208.9 kB / 0.786 GB, free: 14.1 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004156/2.651, allocations: 1.046 MB / 0.7871 GB, free: 13.22 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01544/2.666, allocations: 2.34 MB / 0.7894 GB, free: 11.2 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01884/2.685, allocations: 10.85 MB / 0.7999 GB, free: 0.918 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01107/2.696, allocations: 356.3 kB / 0.8003 GB, free: 0.6289 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002706/2.699, allocations: 0.5912 MB / 0.8009 GB, free: 52 kB / 458.8 MB 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.003141/2.702, allocations: 0.6343 MB / 0.8015 GB, free: 15.41 MB / 474.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01594/2.718, allocations: 5.631 MB / 0.807 GB, free: 10.54 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002177/2.72, allocations: 0.5978 MB / 0.8076 GB, free: 9.93 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01644/2.737, allocations: 5.681 MB / 0.8131 GB, free: 5.227 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.918e-05/2.737, allocations: 36.62 kB / 0.8131 GB, free: 5.191 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.22e-05/2.737, allocations: 12 kB / 0.8132 GB, free: 5.18 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.923e-05/2.737, allocations: 20.22 kB / 0.8132 GB, free: 5.176 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3748/3.112, allocations: 13.51 MB / 0.8264 GB, free: 111.1 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.418e-05/3.112, allocations: 3.344 kB / 0.8264 GB, free: 111.1 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006198/3.118, allocations: 0.5628 MB / 0.8269 GB, free: 111.1 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003513/3.122, allocations: 0.6838 MB / 0.8276 GB, free: 111.1 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000775/3.123, allocations: 17.61 kB / 0.8276 GB, free: 111.1 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01536/3.138, allocations: 9.717 MB / 0.8371 GB, free: 106 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.689e-06/3.138, allocations: 4.188 kB / 0.8371 GB, free: 106 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02393/3.162, allocations: 9.758 MB / 0.8466 GB, free: 105 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004722/3.167, allocations: 1.078 MB / 0.8477 GB, free: 104.9 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002893/3.17, allocations: 9.688 kB / 0.8477 GB, free: 104.9 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006109/3.176, allocations: 143.7 kB / 0.8478 GB, free: 104.9 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001319/3.177, allocations: 200.2 kB / 0.848 GB, free: 104.9 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009196/3.178, allocations: 88.73 kB / 0.8481 GB, free: 104.9 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.01051/3.189, allocations: 3.758 MB / 0.8518 GB, free: 104.7 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.002e-06/3.189, allocations: 0 / 0.8518 GB, free: 104.7 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01409/3.203, allocations: 1.626 MB / 0.8534 GB, free: 104.7 MB / 474.8 MB 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.0249/3.228, allocations: 10.7 MB / 0.8638 GB, free: 103 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01917/3.247, allocations: 8.481 MB / 0.8721 GB, free: 100.6 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/3.247, allocations: 0 / 0.8721 GB, free: 100.6 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006809/3.254, allocations: 3.107 MB / 0.8751 GB, free: 99.18 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007184/3.261, allocations: 0.7344 MB / 0.8758 GB, free: 98.88 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05714/3.318, allocations: 17.28 MB / 0.8927 GB, free: 92.98 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01595/3.334, allocations: 6.133 MB / 0.8987 GB, free: 91.07 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.01571/3.35, allocations: 3.093 MB / 0.9017 GB, free: 89.26 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01011/3.36, allocations: 4.047 MB / 0.9057 GB, free: 85.5 MB / 474.8 MB Notification: Performance of SimCode: time 1.844e-06/3.36, allocations: 0 / 0.9057 GB, free: 85.5 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6813/4.042, allocations: 134.9 MB / 1.037 GB, free: 105.5 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/4.042, allocations: 134.6 kB / 1.038 GB, free: 105.3 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.587/11.63, allocations: 0 / 1.038 GB, free: 105.3 MB / 474.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat does not exist to compare? outputFormat=mat