Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_ForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.476/2.476, allocations: 235 MB / 242.2 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.603e-05/3.614e-05, allocations: 7.938 kB / 299.5 MB, free: 6.344 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3843, allocations: 54.87 MB / 354.4 MB, free: 28 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1986/0.5829, allocations: 103.3 MB / 457.7 MB, free: 8.574 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/0.5833, allocations: 75.95 kB / 457.7 MB, free: 8.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9142/1.498, allocations: 145.1 MB / 0.5887 GB, free: 5.902 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/1.498, allocations: 0 / 0.5887 GB, free: 5.902 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004747/1.498, allocations: 152 kB / 0.5889 GB, free: 5.754 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: 2760 * Number of variables: 2760 Notification: Performance of Generate backend data structure: time 0.03569/1.534, allocations: 7.382 MB / 0.5961 GB, free: 14.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.898e-05/1.534, allocations: 8.031 kB / 0.5961 GB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1115/1.645, allocations: 7.326 MB / 0.6032 GB, free: 6.938 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03292/1.678, allocations: 7.877 MB / 0.6109 GB, free: 14.97 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006905/1.679, allocations: 252 kB / 0.6112 GB, free: 14.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00452/1.684, allocations: 459.9 kB / 0.6116 GB, free: 14.28 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03194/1.716, allocations: 10.98 MB / 0.6223 GB, free: 3.293 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05031/1.766, allocations: 16.43 MB / 0.6384 GB, free: 1.375 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006041/1.767, allocations: 99.11 kB / 0.6385 GB, free: 1.277 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003706/1.77, allocations: 44 kB / 0.6385 GB, free: 1.234 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.379/2.149, allocations: 1.819 MB / 0.6403 GB, free: 72.7 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1271/2.277, allocations: 77.69 MB / 0.7162 GB, free: 31.03 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01178/2.288, allocations: 6.73 MB / 0.7227 GB, free: 27.89 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00803/2.297, allocations: 4.364 MB / 0.727 GB, free: 26.09 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001458/2.298, allocations: 0.7223 MB / 0.7277 GB, free: 25.49 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.516e-05/2.298, allocations: 70.94 kB / 0.7278 GB, free: 25.43 MB / 458.7 MB Notification: Performance of pre-optimization done (n=340): time 7.745e-06/2.298, allocations: 0 / 0.7278 GB, free: 25.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=384): time 0.1307/2.429, allocations: 32.2 MB / 0.7592 GB, free: 12.37 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/2.429, allocations: 248.4 kB / 0.7594 GB, free: 12.09 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01304/2.442, allocations: 5.007 MB / 0.7643 GB, free: 7.809 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001145/2.443, allocations: 25.7 kB / 0.7644 GB, free: 7.777 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004821/2.448, allocations: 5.404 MB / 0.7696 GB, free: 2.891 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002425/2.451, allocations: 1.387 MB / 0.771 GB, free: 1.641 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001407/2.452, allocations: 0 / 0.771 GB, free: 1.641 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007284/2.453, allocations: 0.7389 MB / 0.7717 GB, free: 1.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0269/2.48, allocations: 4.91 MB / 0.7765 GB, free: 0 / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01733/2.497, allocations: 9.683 MB / 0.786 GB, free: 4.297 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01784/2.515, allocations: 6.243 MB / 0.7921 GB, free: 15.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000279/2.515, allocations: 60 kB / 0.7921 GB, free: 15.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=1347) (initialization): time 0.04638/2.562, allocations: 13.9 MB / 0.8057 GB, free: 3.902 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001982/2.562, allocations: 92 kB / 0.8058 GB, free: 3.812 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004166/2.562, allocations: 208.8 kB / 0.806 GB, free: 3.613 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009754/2.572, allocations: 1.743 MB / 0.8077 GB, free: 2.293 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02132/2.594, allocations: 2.512 MB / 0.8101 GB, free: 168 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0254/2.619, allocations: 10.84 MB / 0.8207 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01231/2.631, allocations: 401.1 kB / 0.8211 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003119/2.635, allocations: 0.5967 MB / 0.8217 GB, free: 5.672 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 66 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1275): * Single equations (assignments): 1270 * 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.004341/2.639, allocations: 0.6236 MB / 0.8223 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.486/3.125, allocations: 7.439 MB / 0.8296 GB, free: 109 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002495/3.127, allocations: 0.5521 MB / 0.8301 GB, free: 109 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02115/3.149, allocations: 7.502 MB / 0.8374 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001098/3.149, allocations: 39.56 kB / 0.8375 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.089e-05/3.149, allocations: 11.75 kB / 0.8375 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001027/3.149, allocations: 21.7 kB / 0.8375 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0475/3.196, allocations: 16.39 MB / 0.8535 GB, free: 108 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-05/3.197, allocations: 3.438 kB / 0.8535 GB, free: 108 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007423/3.204, allocations: 0.7635 MB / 0.8542 GB, free: 108 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007624/3.212, allocations: 1.412 MB / 0.8556 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00119/3.213, allocations: 23.28 kB / 0.8556 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02707/3.24, allocations: 9.886 MB / 0.8653 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.545e-05/3.24, allocations: 10.5 kB / 0.8653 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04055/3.281, allocations: 13.3 MB / 0.8783 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005986/3.287, allocations: 1.178 MB / 0.8794 GB, free: 102 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00328/3.29, allocations: 12.22 kB / 0.8795 GB, free: 102 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006858/3.297, allocations: 206.5 kB / 0.8796 GB, free: 102 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001545/3.299, allocations: 229.8 kB / 0.8799 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004799/3.299, allocations: 103.9 kB / 0.88 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008393/3.307, allocations: 3.351 MB / 0.8832 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.032e-06/3.308, allocations: 0 / 0.8832 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01404/3.322, allocations: 1.6 MB / 0.8848 GB, free: 100.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (330): * Single equations (assignments): 325 * 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.03414/3.356, allocations: 14.96 MB / 0.8994 GB, free: 93.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03267/3.388, allocations: 9.795 MB / 0.909 GB, free: 90.22 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.127e-05/3.389, allocations: 0 / 0.909 GB, free: 90.22 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01386/3.402, allocations: 3.829 MB / 0.9127 GB, free: 88.58 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00802/3.411, allocations: 0.5566 MB / 0.9133 GB, free: 88.11 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06929/3.48, allocations: 17.09 MB / 0.9299 GB, free: 73.53 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01415/3.494, allocations: 5.64 MB / 0.9355 GB, free: 69.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01661/3.511, allocations: 3.345 MB / 0.9387 GB, free: 67.42 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009808/3.521, allocations: 3.628 MB / 0.9423 GB, free: 64.06 MB / 0.4948 GB Notification: Performance of SimCode: time 1.623e-06/3.521, allocations: 0 / 0.9423 GB, free: 64.06 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7146/4.235, allocations: 128.9 MB / 1.068 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/4.236, allocations: 146.8 kB / 1.068 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.74/11.98, allocations: 0 / 1.068 GB, free: 101.4 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat does not exist to compare? outputFormat=mat