Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Torque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.3/2.3, allocations: 235.1 MB / 242.2 MB, free: 15.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.717e-05/2.715e-05, allocations: 4 kB / 299.5 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4182/0.4182, allocations: 54.84 MB / 354.3 MB, free: 14.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2251/0.6433, allocations: 100.7 MB / 455.1 MB, free: 13.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.6437, allocations: 75.97 kB / 455.1 MB, free: 13.47 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8593/1.503, allocations: 129 MB / 0.5704 GB, free: 56.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.764e-06/1.503, allocations: 7.938 kB / 0.5704 GB, free: 56.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004573/1.504, allocations: 132 kB / 0.5705 GB, free: 56.73 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: 2388 * Number of variables: 2388 Notification: Performance of Generate backend data structure: time 0.02635/1.53, allocations: 6.659 MB / 0.577 GB, free: 50 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/1.53, allocations: 8.031 kB / 0.5771 GB, free: 49.99 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06327/1.593, allocations: 7.14 MB / 0.584 GB, free: 42.83 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03493/1.628, allocations: 7.423 MB / 0.5913 GB, free: 35.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005971/1.629, allocations: 216 kB / 0.5915 GB, free: 35.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003995/1.633, allocations: 404.8 kB / 0.5919 GB, free: 34.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02828/1.661, allocations: 9.255 MB / 0.6009 GB, free: 25.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03731/1.699, allocations: 14.33 MB / 0.6149 GB, free: 9.648 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004652/1.699, allocations: 99.09 kB / 0.615 GB, free: 9.551 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002775/1.702, allocations: 44 kB / 0.615 GB, free: 9.508 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003207/1.705, allocations: 1.557 MB / 0.6166 GB, free: 7.941 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5454/2.251, allocations: 69.68 MB / 0.6846 GB, free: 62.14 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01005/2.261, allocations: 5.197 MB / 0.6897 GB, free: 61.45 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006472/2.267, allocations: 3.509 MB / 0.6931 GB, free: 61.41 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/2.268, allocations: 395.4 kB / 0.6935 GB, free: 61.12 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.116e-05/2.269, allocations: 65.38 kB / 0.6935 GB, free: 61.08 MB / 474.7 MB Notification: Performance of pre-optimization done (n=268): time 7.284e-06/2.269, allocations: 0 / 0.6935 GB, free: 61.08 MB / 474.7 MB Notification: Performance of matching and sorting (n=312): time 0.09736/2.366, allocations: 27.53 MB / 0.7204 GB, free: 56.07 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/2.366, allocations: 235.5 kB / 0.7207 GB, free: 55.81 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01194/2.378, allocations: 4.773 MB / 0.7253 GB, free: 55.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009152/2.379, allocations: 25.7 kB / 0.7253 GB, free: 55.07 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004642/2.384, allocations: 4.923 MB / 0.7301 GB, free: 51.43 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00208/2.386, allocations: 1.155 MB / 0.7313 GB, free: 50.58 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001523/2.387, allocations: 0 / 0.7313 GB, free: 50.58 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009889/2.388, allocations: 0.7067 MB / 0.732 GB, free: 50.11 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008892/2.397, allocations: 3.409 MB / 0.7353 GB, free: 48.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01294/2.41, allocations: 8.854 MB / 0.7439 GB, free: 40.32 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01229/2.423, allocations: 5.435 MB / 0.7493 GB, free: 38.65 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002527/2.423, allocations: 54.5 kB / 0.7493 GB, free: 38.65 MB / 474.7 MB Notification: Performance of matching and sorting (n=1220) (initialization): time 0.03668/2.46, allocations: 12.54 MB / 0.7615 GB, free: 31.31 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001496/2.46, allocations: 88 kB / 0.7616 GB, free: 31.22 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000302/2.46, allocations: 194.5 kB / 0.7618 GB, free: 31.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007487/2.468, allocations: 1.717 MB / 0.7635 GB, free: 29.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0147/2.482, allocations: 2.214 MB / 0.7657 GB, free: 27.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02162/2.504, allocations: 10.76 MB / 0.7762 GB, free: 18.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01111/2.515, allocations: 371.8 kB / 0.7765 GB, free: 18.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002536/2.518, allocations: 0.5495 MB / 0.7771 GB, free: 17.48 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 886 * Number of states: 0 () * Number of discrete variables: 60 (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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[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 (1148): * Single equations (assignments): 1143 * 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.003894/2.522, allocations: 0.5999 MB / 0.7776 GB, free: 16.89 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01892/2.541, allocations: 6.465 MB / 0.784 GB, free: 11.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002169/2.543, allocations: 0.5051 MB / 0.7844 GB, free: 10.98 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01962/2.563, allocations: 6.494 MB / 0.7908 GB, free: 5.777 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.664e-05/2.563, allocations: 35.36 kB / 0.7908 GB, free: 5.746 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-05/2.563, allocations: 8 kB / 0.7908 GB, free: 5.738 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-05/2.563, allocations: 18.86 kB / 0.7908 GB, free: 5.734 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04785/2.611, allocations: 13.83 MB / 0.8044 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.525e-05/2.611, allocations: 3.625 kB / 0.8044 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00615/2.617, allocations: 0.5361 MB / 0.8049 GB, free: 10.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007112/2.624, allocations: 1.402 MB / 0.8062 GB, free: 9.504 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001016/2.625, allocations: 15.61 kB / 0.8063 GB, free: 9.492 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02383/2.649, allocations: 9.89 MB / 0.8159 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.769e-06/2.649, allocations: 4 kB / 0.8159 GB, free: 0.668 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02997/2.679, allocations: 10.95 MB / 0.8266 GB, free: 7.008 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004813/2.684, allocations: 1.03 MB / 0.8276 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00249/2.687, allocations: 8 kB / 0.8276 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005866/2.693, allocations: 167.6 kB / 0.8278 GB, free: 5.793 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001528/2.694, allocations: 190.3 kB / 0.828 GB, free: 5.609 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000507/2.695, allocations: 75.98 kB / 0.828 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009512/2.704, allocations: 3.212 MB / 0.8312 GB, free: 2.352 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.51e-07/2.704, allocations: 0 / 0.8312 GB, free: 2.352 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01344/2.718, allocations: 1.421 MB / 0.8326 GB, free: 0.9336 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (253): * Single equations (assignments): 248 * 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.0327/2.751, allocations: 12.06 MB / 0.8443 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02449/2.775, allocations: 8.593 MB / 0.8527 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/2.775, allocations: 0 / 0.8527 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01025/2.785, allocations: 3.317 MB / 0.856 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00611/2.792, allocations: 0.5275 MB / 0.8565 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05784/2.849, allocations: 14.94 MB / 0.8711 GB, free: 9.324 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01449/2.864, allocations: 5.039 MB / 0.876 GB, free: 4.293 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01717/2.881, allocations: 2.998 MB / 0.8789 GB, free: 1.301 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.384/3.265, allocations: 3.181 MB / 0.882 GB, free: 166.9 MB / 0.5417 GB Notification: Performance of SimCode: time 2.875e-06/3.265, allocations: 0 / 0.882 GB, free: 166.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2835/3.549, allocations: 116.8 MB / 0.9961 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002549/3.549, allocations: 125.2 kB / 0.9962 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.817/11.37, allocations: 3.938 kB / 0.9963 GB, free: 107.2 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque_res.mat does not exist to compare? outputFormat=mat