Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForcesAndTorques,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_ForcesAndTorques",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.648/2.648, allocations: 270 MB / 283.6 MB, free: 1.887 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.022e-05/4.025e-05, allocations: 4 kB / 348.5 MB, free: 2.691 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.4129, allocations: 61.87 MB / 410.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2043/0.6173, allocations: 110.8 MB / 0.5089 GB, free: 11.68 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/0.6177, allocations: 75.95 kB / 0.509 GB, free: 11.61 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9586/1.576, allocations: 138 MB / 0.6438 GB, free: 12.89 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.605e-06/1.576, allocations: 3.938 kB / 0.6438 GB, free: 12.89 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005273/1.577, allocations: 140 kB / 0.6439 GB, free: 12.75 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.03121/1.608, allocations: 6.889 MB / 0.6506 GB, free: 5.785 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/1.608, allocations: 12.03 kB / 0.6506 GB, free: 5.773 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006313/1.614, allocations: 1.24 MB / 0.6518 GB, free: 4.523 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05668/1.671, allocations: 7.198 MB / 0.6589 GB, free: 13.3 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0303/1.702, allocations: 7.283 MB / 0.666 GB, free: 5.938 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009214/1.703, allocations: 0.5296 MB / 0.6665 GB, free: 5.406 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004355/1.707, allocations: 0.7029 MB / 0.6672 GB, free: 4.703 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07334/1.78, allocations: 17.27 MB / 0.684 GB, free: 1.977 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007048/1.781, allocations: 110.9 kB / 0.6842 GB, free: 1.867 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004521/1.786, allocations: 335.8 kB / 0.6845 GB, free: 1.539 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00613/1.792, allocations: 1.628 MB / 0.6861 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07513/1.867, allocations: 13.7 MB / 0.6994 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.587/2.454, allocations: 76.67 MB / 0.7743 GB, free: 47.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03515/2.489, allocations: 7.861 MB / 0.782 GB, free: 46.98 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007925/2.497, allocations: 4.045 MB / 0.7859 GB, free: 46.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02572/2.523, allocations: 10.11 MB / 0.7958 GB, free: 44.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.151e-05/2.523, allocations: 63.42 kB / 0.7959 GB, free: 44.86 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=277): time 7.705e-06/2.523, allocations: 2.406 kB / 0.7959 GB, free: 44.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=319): time 0.1359/2.659, allocations: 28.62 MB / 0.8238 GB, free: 37.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/2.659, allocations: 246.8 kB / 0.8241 GB, free: 37.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01632/2.676, allocations: 6.249 MB / 0.8302 GB, free: 35.26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009327/2.677, allocations: 75.81 kB / 0.8302 GB, free: 35.19 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004976/2.682, allocations: 4.902 MB / 0.835 GB, free: 31.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002012/2.684, allocations: 1.202 MB / 0.8362 GB, free: 30.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001305/2.685, allocations: 176 kB / 0.8364 GB, free: 30.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007063/2.686, allocations: 0.686 MB / 0.837 GB, free: 30.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009199/2.695, allocations: 3.448 MB / 0.8404 GB, free: 28.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01264/2.708, allocations: 8.66 MB / 0.8489 GB, free: 20.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01295/2.721, allocations: 5.431 MB / 0.8542 GB, free: 18.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002494/2.721, allocations: 56 kB / 0.8542 GB, free: 17.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.03754/2.759, allocations: 12.91 MB / 0.8668 GB, free: 7.488 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001392/2.759, allocations: 86.03 kB / 0.8669 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002788/2.759, allocations: 188 kB / 0.8671 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007098/2.766, allocations: 1.704 MB / 0.8687 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01414/2.78, allocations: 2.18 MB / 0.8709 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02334/2.804, allocations: 11.37 MB / 0.882 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01162/2.815, allocations: 0.518 MB / 0.8825 GB, free: 9.441 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002486/2.818, allocations: 0.5291 MB / 0.883 GB, free: 8.926 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 847 * Number of states: 0 () * Number of discrete variables: 83 (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.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque2.forceArrow.color[3],forceAndTorque2.forceArrow.color[2],forceAndTorque2.forceArrow.color[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,forceAndTorque1.forceArrow.color[3],forceAndTorque1.forceArrow.color[2],forceAndTorque1.forceArrow.color[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.groundColor[3],world.groundColor[2],world.groundColor[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 (1102): * Single equations (assignments): 1097 * 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.003785/2.822, allocations: 0.8081 MB / 0.8838 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001931/2.824, allocations: 0.6016 MB / 0.8844 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02187/2.846, allocations: 6.682 MB / 0.8909 GB, free: 2.098 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.828e-05/2.846, allocations: 43.94 kB / 0.8909 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.208e-05/2.846, allocations: 8 kB / 0.8909 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-05/2.846, allocations: 13.73 kB / 0.891 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05264/2.898, allocations: 15.7 MB / 0.9063 GB, free: 5.379 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.333e-05/2.899, allocations: 8 kB / 0.9063 GB, free: 5.371 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006607/2.905, allocations: 0.6269 MB / 0.9069 GB, free: 4.895 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007298/2.913, allocations: 1.413 MB / 0.9083 GB, free: 3.902 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00105/2.914, allocations: 58.89 kB / 0.9083 GB, free: 3.848 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02586/2.94, allocations: 10.65 MB / 0.9187 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.324e-05/2.94, allocations: 11.94 kB / 0.9188 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4557/3.395, allocations: 12.05 MB / 0.9305 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002546/3.398, allocations: 0.6846 MB / 0.9312 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002701/3.401, allocations: 55.44 kB / 0.9312 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006386/3.407, allocations: 204.8 kB / 0.9314 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001337/3.409, allocations: 204 kB / 0.9316 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004154/3.409, allocations: 85.55 kB / 0.9317 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01241/3.421, allocations: 4.472 MB / 0.9361 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.112e-06/3.421, allocations: 0 / 0.9361 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01217/3.434, allocations: 1.676 MB / 0.9377 GB, free: 131.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (261): * Single equations (assignments): 256 * 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.02881/3.462, allocations: 13.63 MB / 0.951 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01908/3.482, allocations: 8.322 MB / 0.9592 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/3.482, allocations: 0 / 0.9592 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.009002/3.491, allocations: 3.329 MB / 0.9624 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006556/3.497, allocations: 0.7672 MB / 0.9632 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0495/3.547, allocations: 15.82 MB / 0.9786 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01194/3.559, allocations: 5.188 MB / 0.9837 GB, free: 124 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01433/3.573, allocations: 3.004 MB / 0.9866 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008923/3.582, allocations: 3.32 MB / 0.9898 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.472e-06/3.582, allocations: 0 / 0.9898 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3043/3.886, allocations: 134.4 MB / 1.121 GB, free: 17.94 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/3.887, allocations: 177.8 kB / 1.121 GB, free: 17.71 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.174/12.06, allocations: 0 / 1.121 GB, free: 17.71 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat does not exist to compare? outputFormat=mat