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.458/2.458, allocations: 235 MB / 247.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.055e-05/4.064e-05, allocations: 4 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4063, allocations: 54.85 MB / 359.9 MB, free: 3.164 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1952/0.6016, allocations: 104 MB / 463.8 MB, free: 8.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/0.6019, allocations: 71.97 kB / 463.9 MB, free: 8.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9297/1.532, allocations: 148.7 MB / 0.5983 GB, free: 90.08 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.074e-06/1.532, allocations: 0 / 0.5983 GB, free: 90.08 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004632/1.532, allocations: 149.5 kB / 0.5984 GB, free: 90.07 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: 2760 * Number of variables: 2760 Notification: Performance of Generate backend data structure: time 0.02989/1.562, allocations: 7.385 MB / 0.6056 GB, free: 83.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/1.562, allocations: 8.031 kB / 0.6056 GB, free: 83.8 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00632/1.568, allocations: 1.373 MB / 0.607 GB, free: 82.41 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05366/1.622, allocations: 7.325 MB / 0.6141 GB, free: 75.07 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02866/1.651, allocations: 7.881 MB / 0.6218 GB, free: 67.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007324/1.652, allocations: 0.5816 MB / 0.6224 GB, free: 66.52 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00455/1.656, allocations: 0.7654 MB / 0.6231 GB, free: 65.75 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05859/1.715, allocations: 18.85 MB / 0.6416 GB, free: 45.39 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004973/1.715, allocations: 95.11 kB / 0.6416 GB, free: 45.3 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003593/1.719, allocations: 367.8 kB / 0.642 GB, free: 44.94 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004044/1.723, allocations: 1.833 MB / 0.6438 GB, free: 43.1 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04932/1.773, allocations: 15.35 MB / 0.6588 GB, free: 27.71 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5784/2.351, allocations: 81.72 MB / 0.7386 GB, free: 44.28 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03917/2.39, allocations: 8.66 MB / 0.747 GB, free: 43.57 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009382/2.4, allocations: 4.614 MB / 0.7516 GB, free: 43.52 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02993/2.43, allocations: 11.7 MB / 0.763 GB, free: 41.48 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.724e-05/2.43, allocations: 78.92 kB / 0.7631 GB, free: 41.45 MB / 474.7 MB Notification: Performance of pre-optimization done (n=347): time 8.176e-06/2.43, allocations: 0 / 0.7631 GB, free: 41.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=389): time 0.1391/2.569, allocations: 31.5 MB / 0.7938 GB, free: 33.12 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/2.569, allocations: 257.5 kB / 0.7941 GB, free: 32.86 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01757/2.587, allocations: 6.484 MB / 0.8004 GB, free: 30.54 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001149/2.588, allocations: 88.75 kB / 0.8005 GB, free: 30.46 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005185/2.593, allocations: 5.279 MB / 0.8056 GB, free: 26.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002523/2.596, allocations: 1.44 MB / 0.807 GB, free: 25.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001808/2.597, allocations: 196 kB / 0.8072 GB, free: 25.19 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008654/2.598, allocations: 0.729 MB / 0.8079 GB, free: 24.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01058/2.609, allocations: 4.021 MB / 0.8119 GB, free: 23.31 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01486/2.624, allocations: 9.587 MB / 0.8212 GB, free: 13.86 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01457/2.639, allocations: 6.165 MB / 0.8273 GB, free: 8.914 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002101/2.639, allocations: 56 kB / 0.8273 GB, free: 8.859 MB / 474.7 MB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.05024/2.689, allocations: 15.31 MB / 0.8423 GB, free: 13.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001977/2.689, allocations: 92 kB / 0.8423 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003986/2.69, allocations: 193.9 kB / 0.8425 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0079/2.698, allocations: 1.717 MB / 0.8442 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01718/2.715, allocations: 2.428 MB / 0.8466 GB, free: 9.77 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02863/2.744, allocations: 11.62 MB / 0.8579 GB, free: 0 / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01352/2.757, allocations: 0.5887 MB / 0.8585 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002831/2.76, allocations: 0.578 MB / 0.8591 GB, free: 14.98 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 892 * 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 (1225): * Single equations (assignments): 1220 * 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.004617/2.765, allocations: 0.8564 MB / 0.8599 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002251/2.767, allocations: 0.6402 MB / 0.8605 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02788/2.795, allocations: 8.132 MB / 0.8685 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-05/2.795, allocations: 40 kB / 0.8685 GB, free: 5.723 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-05/2.795, allocations: 8 kB / 0.8685 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001159/2.795, allocations: 23.92 kB / 0.8685 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06239/2.858, allocations: 18.21 MB / 0.8863 GB, free: 3.414 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.122e-05/2.858, allocations: 4 kB / 0.8863 GB, free: 3.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008115/2.866, allocations: 0.7729 MB / 0.8871 GB, free: 2.637 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007177/2.873, allocations: 1.417 MB / 0.8885 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001207/2.874, allocations: 75.98 kB / 0.8885 GB, free: 1.141 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02545/2.9, allocations: 10.6 MB / 0.8989 GB, free: 6.285 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.384e-05/2.9, allocations: 8.688 kB / 0.8989 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4031/3.303, allocations: 14.36 MB / 0.9129 GB, free: 146.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006197/3.309, allocations: 1.316 MB / 0.9142 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00293/3.312, allocations: 72.53 kB / 0.9143 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007402/3.32, allocations: 253.8 kB / 0.9145 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001719/3.321, allocations: 243 kB / 0.9147 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008193/3.322, allocations: 104.7 kB / 0.9148 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0154/3.338, allocations: 4.654 MB / 0.9194 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.364e-06/3.338, allocations: 1.125 kB / 0.9194 GB, free: 145.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0142/3.352, allocations: 1.869 MB / 0.9212 GB, free: 145.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (329): * Single equations (assignments): 324 * 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.04379/3.396, allocations: 16.1 MB / 0.9369 GB, free: 141.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0328/3.429, allocations: 9.936 MB / 0.9466 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.752e-05/3.429, allocations: 3.359 kB / 0.9466 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01544/3.444, allocations: 3.968 MB / 0.9505 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008263/3.453, allocations: 0.7724 MB / 0.9513 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06413/3.517, allocations: 17.69 MB / 0.9685 GB, free: 132 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01336/3.53, allocations: 5.64 MB / 0.9741 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01581/3.546, allocations: 3.323 MB / 0.9773 GB, free: 130 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009282/3.555, allocations: 3.682 MB / 0.9809 GB, free: 127 MB / 0.5261 GB Notification: Performance of SimCode: time 1.853e-06/3.555, allocations: 0 / 0.9809 GB, free: 127 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.681/4.236, allocations: 146.6 MB / 1.124 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002211/4.237, allocations: 171.8 kB / 1.124 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.468/12.7, allocations: 7.938 kB / 1.124 GB, free: 132.6 MB / 0.5261 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