Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.884/1.884, allocations: 209.4 MB / 216.5 MB, free: 6.676 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.003e-05/3.012e-05, allocations: 4 kB / 267.6 MB, free: 4.965 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1029, allocations: 48.7 MB / 316.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4157/0.5186, allocations: 93.56 MB / 409.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.5189, allocations: 83.28 kB / 410 MB, free: 15.05 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7813/1.3, allocations: 127.8 MB / 0.5251 GB, free: 82.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/1.3, allocations: 0 / 0.5251 GB, free: 82.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003812/1.301, allocations: 130.8 kB / 0.5253 GB, free: 82.83 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02561/1.326, allocations: 6.362 MB / 0.5315 GB, free: 80.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/1.326, allocations: 14.42 kB / 0.5315 GB, free: 80.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05063/1.377, allocations: 7.095 MB / 0.5384 GB, free: 79.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02482/1.402, allocations: 7.239 MB / 0.5455 GB, free: 76.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003972/1.402, allocations: 213.2 kB / 0.5457 GB, free: 76.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003471/1.406, allocations: 391.5 kB / 0.5461 GB, free: 76.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02357/1.429, allocations: 9.62 MB / 0.5555 GB, free: 73.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03626/1.466, allocations: 14.14 MB / 0.5693 GB, free: 58.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000378/1.466, allocations: 79.25 kB / 0.5693 GB, free: 58.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003059/1.469, allocations: 40 kB / 0.5694 GB, free: 58.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003228/1.472, allocations: 1.573 MB / 0.5709 GB, free: 56.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.122/1.595, allocations: 63.85 MB / 0.6333 GB, free: 7.719 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01282/1.607, allocations: 5.936 MB / 0.6391 GB, free: 1.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2985/1.906, allocations: 4.053 MB / 0.643 GB, free: 91.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/1.907, allocations: 0.5615 MB / 0.6436 GB, free: 90.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.868e-05/1.907, allocations: 72.75 kB / 0.6436 GB, free: 90.78 MB / 426.7 MB Notification: Performance of pre-optimization done (n=315): time 7.725e-06/1.907, allocations: 0 / 0.6436 GB, free: 90.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=359): time 0.1013/2.008, allocations: 28.67 MB / 0.6716 GB, free: 87.06 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.59e-05/2.009, allocations: 213.8 kB / 0.6718 GB, free: 86.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008343/2.017, allocations: 3.891 MB / 0.6756 GB, free: 85.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001011/2.018, allocations: 25.7 kB / 0.6757 GB, free: 85.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003675/2.022, allocations: 4.466 MB / 0.68 GB, free: 82.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002198/2.024, allocations: 1.269 MB / 0.6813 GB, free: 81.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001195/2.025, allocations: 1.125 kB / 0.6813 GB, free: 81.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006261/2.026, allocations: 0.6694 MB / 0.6819 GB, free: 80.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008402/2.034, allocations: 3.502 MB / 0.6853 GB, free: 79.33 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01202/2.046, allocations: 8.147 MB / 0.6933 GB, free: 71.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01158/2.058, allocations: 5.287 MB / 0.6985 GB, free: 70.13 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000184/2.058, allocations: 45.69 kB / 0.6985 GB, free: 70.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.03428/2.092, allocations: 12.21 MB / 0.7104 GB, free: 66.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001249/2.093, allocations: 86.91 kB / 0.7105 GB, free: 66.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002464/2.093, allocations: 161 kB / 0.7107 GB, free: 66.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006877/2.1, allocations: 1.704 MB / 0.7123 GB, free: 66.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01363/2.113, allocations: 2.018 MB / 0.7143 GB, free: 65.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02097/2.134, allocations: 10.89 MB / 0.7249 GB, free: 57.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01028/2.145, allocations: 360.1 kB / 0.7253 GB, free: 57.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002332/2.147, allocations: 0.4998 MB / 0.7258 GB, free: 56.71 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 749 * Number of states: 0 () * Number of discrete variables: 48 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (1046): * Single equations (assignments): 1041 * 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%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004249/2.151, allocations: 0.5139 MB / 0.7263 GB, free: 56.2 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02309/2.175, allocations: 7.15 MB / 0.7333 GB, free: 50.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002013/2.177, allocations: 466 kB / 0.7337 GB, free: 49.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0205/2.197, allocations: 7.181 MB / 0.7407 GB, free: 43.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.811e-05/2.197, allocations: 41.36 kB / 0.7407 GB, free: 43.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.086e-05/2.197, allocations: 8 kB / 0.7408 GB, free: 43.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.25e-05/2.197, allocations: 16.31 kB / 0.7408 GB, free: 43.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04279/2.24, allocations: 15.02 MB / 0.7554 GB, free: 31.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.368e-05/2.24, allocations: 0 / 0.7554 GB, free: 31.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006276/2.247, allocations: 0.6183 MB / 0.756 GB, free: 31.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006074/2.253, allocations: 1.405 MB / 0.7574 GB, free: 30.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008751/2.254, allocations: 19.61 kB / 0.7574 GB, free: 30.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01828/2.272, allocations: 9.887 MB / 0.7671 GB, free: 21.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/2.272, allocations: 4 kB / 0.7671 GB, free: 21.32 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02778/2.3, allocations: 11.88 MB / 0.7787 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004075/2.304, allocations: 1.042 MB / 0.7797 GB, free: 9.336 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001997/2.306, allocations: 4 kB / 0.7797 GB, free: 9.332 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005526/2.312, allocations: 203.6 kB / 0.7799 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001543/2.313, allocations: 210.1 kB / 0.7801 GB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007129/2.314, allocations: 91.98 kB / 0.7802 GB, free: 8.836 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0067/2.321, allocations: 2.607 MB / 0.7828 GB, free: 6.234 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.022e-06/2.321, allocations: 4 kB / 0.7828 GB, free: 6.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01147/2.332, allocations: 1.404 MB / 0.7841 GB, free: 4.832 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (305): * Single equations (assignments): 300 * 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.03269/2.365, allocations: 12.83 MB / 0.7967 GB, free: 7.887 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3216/2.686, allocations: 8.853 MB / 0.8053 GB, free: 102.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/2.687, allocations: 2.719 kB / 0.8053 GB, free: 102.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01069/2.697, allocations: 3.685 MB / 0.8089 GB, free: 101.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004795/2.702, allocations: 468.9 kB / 0.8094 GB, free: 101.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04947/2.752, allocations: 14.79 MB / 0.8238 GB, free: 99.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0113/2.763, allocations: 4.929 MB / 0.8286 GB, free: 98.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01335/2.776, allocations: 2.736 MB / 0.8313 GB, free: 98.49 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008463/2.785, allocations: 3.058 MB / 0.8343 GB, free: 97.71 MB / 442.7 MB Notification: Performance of SimCode: time 3.637e-06/2.785, allocations: 4 kB / 0.8343 GB, free: 97.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2512/3.036, allocations: 113.7 MB / 0.9453 GB, free: 14.07 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002718/3.037, allocations: 148.7 kB / 0.9455 GB, free: 13.88 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.503/9.539, allocations: 0 / 0.9455 GB, free: 13.88 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat does not exist to compare? outputFormat=mat