Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.447/2.447, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.496e-05/2.495e-05, allocations: 4 kB / 299.6 MB, free: 6.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3967, allocations: 54.86 MB / 354.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1978/0.5946, allocations: 102.2 MB / 456.6 MB, free: 11.97 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.5949, allocations: 75.95 kB / 456.7 MB, free: 11.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9116/1.507, allocations: 135.3 MB / 0.5781 GB, free: 49.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.525e-06/1.507, allocations: 0 / 0.5781 GB, free: 49.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004357/1.507, allocations: 132 kB / 0.5782 GB, free: 49.01 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: 2488 * Number of variables: 2488 Notification: Performance of Generate backend data structure: time 0.02833/1.535, allocations: 6.799 MB / 0.5848 GB, free: 42.13 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/1.536, allocations: 8.031 kB / 0.5849 GB, free: 42.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05809/1.594, allocations: 7.182 MB / 0.5919 GB, free: 34.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02802/1.622, allocations: 7.536 MB / 0.5992 GB, free: 27.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004454/1.622, allocations: 228 kB / 0.5994 GB, free: 27.08 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00407/1.626, allocations: 407.9 kB / 0.5998 GB, free: 26.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03442/1.661, allocations: 9.81 MB / 0.6094 GB, free: 16.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05251/1.713, allocations: 14.82 MB / 0.6239 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005173/1.714, allocations: 83.19 kB / 0.624 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003141/1.717, allocations: 44 kB / 0.624 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004659/1.722, allocations: 1.621 MB / 0.6256 GB, free: 14.92 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8522/2.574, allocations: 69.48 MB / 0.6934 GB, free: 59.9 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01074/2.585, allocations: 5.577 MB / 0.6989 GB, free: 59.21 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007073/2.592, allocations: 3.75 MB / 0.7026 GB, free: 59.17 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003552/2.592, allocations: 60.97 kB / 0.7026 GB, free: 59.16 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.56e-05/2.592, allocations: 68.06 kB / 0.7027 GB, free: 59.12 MB / 474.8 MB Notification: Performance of pre-optimization done (n=296): time 8.165e-06/2.592, allocations: 0 / 0.7027 GB, free: 59.12 MB / 474.8 MB Notification: Performance of matching and sorting (n=339): time 0.0966/2.689, allocations: 28.74 MB / 0.7307 GB, free: 53.94 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.545e-05/2.689, allocations: 245.2 kB / 0.731 GB, free: 53.69 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009526/2.699, allocations: 4.537 MB / 0.7354 GB, free: 52.29 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009242/2.7, allocations: 25.7 kB / 0.7354 GB, free: 52.26 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004183/2.704, allocations: 4.92 MB / 0.7402 GB, free: 48.66 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002155/2.706, allocations: 1.23 MB / 0.7414 GB, free: 47.74 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/2.707, allocations: 3.656 kB / 0.7414 GB, free: 47.74 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0005978/2.708, allocations: 0.698 MB / 0.7421 GB, free: 47.27 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008596/2.716, allocations: 3.574 MB / 0.7456 GB, free: 45.97 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0122/2.729, allocations: 8.793 MB / 0.7542 GB, free: 37.64 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01276/2.741, allocations: 5.538 MB / 0.7596 GB, free: 35.91 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001769/2.742, allocations: 57.06 kB / 0.7597 GB, free: 35.91 MB / 474.8 MB Notification: Performance of matching and sorting (n=1210) (initialization): time 0.03776/2.779, allocations: 12.73 MB / 0.7721 GB, free: 27.91 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001307/2.78, allocations: 84 kB / 0.7722 GB, free: 27.82 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002611/2.78, allocations: 184 kB / 0.7724 GB, free: 27.64 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007635/2.787, allocations: 1.712 MB / 0.774 GB, free: 26.36 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0159/2.803, allocations: 2.211 MB / 0.7762 GB, free: 24.48 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02302/2.827, allocations: 10.79 MB / 0.7867 GB, free: 14.88 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01163/2.838, allocations: 370.3 kB / 0.7871 GB, free: 14.6 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002387/2.841, allocations: 0.5445 MB / 0.7876 GB, free: 14.08 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 54 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],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 (1138): * Single equations (assignments): 1133 * 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.002467/2.843, allocations: 0.5746 MB / 0.7882 GB, free: 13.5 MB / 474.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02062/2.864, allocations: 6.917 MB / 0.7949 GB, free: 7.715 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002001/2.866, allocations: 0.5088 MB / 0.7954 GB, free: 7.203 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02159/2.887, allocations: 6.936 MB / 0.8022 GB, free: 1.621 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.458e-05/2.888, allocations: 36 kB / 0.8022 GB, free: 1.586 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.656e-05/2.888, allocations: 8 kB / 0.8022 GB, free: 1.578 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.098e-05/2.888, allocations: 23.97 kB / 0.8023 GB, free: 1.574 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0509/2.939, allocations: 14.84 MB / 0.8167 GB, free: 5.633 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.219e-05/2.939, allocations: 4 kB / 0.8167 GB, free: 5.629 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007519/2.946, allocations: 0.6122 MB / 0.8173 GB, free: 5.145 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007652/2.954, allocations: 1.412 MB / 0.8187 GB, free: 4.156 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009303/2.955, allocations: 14.91 kB / 0.8187 GB, free: 4.145 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02685/2.982, allocations: 10.01 MB / 0.8285 GB, free: 11.56 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.198e-05/2.982, allocations: 4 kB / 0.8285 GB, free: 11.55 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03452/3.016, allocations: 12.1 MB / 0.8403 GB, free: 0.8086 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004869/3.021, allocations: 1.08 MB / 0.8414 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001922/3.023, allocations: 8 kB / 0.8414 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005649/3.029, allocations: 183.7 kB / 0.8416 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00122/3.03, allocations: 206.2 kB / 0.8418 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004963/3.031, allocations: 91.98 kB / 0.8419 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008663/3.039, allocations: 3.042 MB / 0.8448 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.42e-07/3.039, allocations: 0 / 0.8448 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01271/3.052, allocations: 1.469 MB / 0.8463 GB, free: 10.74 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (285): * Single equations (assignments): 280 * 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.03625/3.088, allocations: 13.51 MB / 0.8595 GB, free: 13.04 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0271/3.116, allocations: 8.987 MB / 0.8682 GB, free: 4.07 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/3.116, allocations: 3.938 kB / 0.8682 GB, free: 4.066 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.01173/3.127, allocations: 3.567 MB / 0.8717 GB, free: 496 kB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.371/3.498, allocations: 0.5166 MB / 0.8722 GB, free: 155.9 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05443/3.553, allocations: 15.52 MB / 0.8874 GB, free: 153.3 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01228/3.565, allocations: 5.181 MB / 0.8924 GB, free: 152.5 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.01517/3.58, allocations: 2.993 MB / 0.8954 GB, free: 152.4 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008916/3.589, allocations: 3.258 MB / 0.8985 GB, free: 152.4 MB / 0.5262 GB Notification: Performance of SimCode: time 1.884e-06/3.589, allocations: 2.094 kB / 0.8985 GB, free: 152.4 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2999/3.889, allocations: 118.3 MB / 1.014 GB, free: 71.47 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002577/3.89, allocations: 151.9 kB / 1.014 GB, free: 71.28 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.329/11.22, allocations: 0 / 1.014 GB, free: 71.28 MB / 0.5262 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat does not exist to compare? outputFormat=mat