Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.434/2.434, allocations: 235 MB / 247.2 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.94e-05/3.941e-05, allocations: 4 kB / 305 MB, free: 5.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4025, allocations: 54.84 MB / 359.9 MB, free: 3.074 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1935/0.5961, allocations: 101.4 MB / 461.3 MB, free: 11.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/0.5965, allocations: 75.97 kB / 461.4 MB, free: 11.42 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9375/1.534, allocations: 128.8 MB / 0.5764 GB, free: 100.1 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.225e-06/1.534, allocations: 0 / 0.5764 GB, free: 100.1 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004539/1.535, allocations: 134.9 kB / 0.5765 GB, free: 100.1 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: 2320 * Number of variables: 2320 Notification: Performance of Generate backend data structure: time 0.02844/1.563, allocations: 6.558 MB / 0.5829 GB, free: 96.97 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/1.563, allocations: 10.41 kB / 0.5829 GB, free: 96.97 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005734/1.569, allocations: 1.155 MB / 0.5841 GB, free: 96.42 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05313/1.622, allocations: 7.12 MB / 0.591 GB, free: 94.23 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02786/1.65, allocations: 7.377 MB / 0.5982 GB, free: 90.21 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006886/1.651, allocations: 0.4893 MB / 0.5987 GB, free: 90.01 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003943/1.655, allocations: 0.6454 MB / 0.5993 GB, free: 89.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05211/1.707, allocations: 16.09 MB / 0.615 GB, free: 72.47 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005834/1.707, allocations: 91.11 kB / 0.6151 GB, free: 72.38 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003771/1.711, allocations: 325.2 kB / 0.6154 GB, free: 72.11 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003759/1.715, allocations: 1.543 MB / 0.6169 GB, free: 70.56 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04342/1.759, allocations: 12.89 MB / 0.6295 GB, free: 57.65 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4827/2.241, allocations: 72.51 MB / 0.7003 GB, free: 94.89 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03574/2.277, allocations: 7.398 MB / 0.7076 GB, free: 94.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008583/2.286, allocations: 3.813 MB / 0.7113 GB, free: 94.16 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02735/2.313, allocations: 9.657 MB / 0.7207 GB, free: 92.73 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.06e-05/2.313, allocations: 66.03 kB / 0.7208 GB, free: 92.69 MB / 474.7 MB Notification: Performance of pre-optimization done (n=273): time 7.904e-06/2.313, allocations: 0 / 0.7208 GB, free: 92.69 MB / 474.7 MB Notification: Performance of matching and sorting (n=315): time 0.1299/2.443, allocations: 27.63 MB / 0.7478 GB, free: 86.33 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/2.443, allocations: 235 kB / 0.748 GB, free: 86.07 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01656/2.46, allocations: 6.015 MB / 0.7539 GB, free: 83.93 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009677/2.461, allocations: 69.73 kB / 0.7539 GB, free: 83.86 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004956/2.466, allocations: 4.692 MB / 0.7585 GB, free: 80.25 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002179/2.468, allocations: 1.194 MB / 0.7597 GB, free: 79.38 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001793/2.47, allocations: 178.3 kB / 0.7598 GB, free: 79.24 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000963/2.471, allocations: 0.6845 MB / 0.7605 GB, free: 78.77 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009369/2.48, allocations: 3.475 MB / 0.7639 GB, free: 77.58 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01292/2.493, allocations: 8.547 MB / 0.7722 GB, free: 69.56 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01215/2.506, allocations: 5.422 MB / 0.7775 GB, free: 67.96 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000196/2.506, allocations: 51.97 kB / 0.7776 GB, free: 67.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=1154) (initialization): time 0.03836/2.544, allocations: 12.86 MB / 0.7901 GB, free: 62.86 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001438/2.544, allocations: 87.95 kB / 0.7902 GB, free: 62.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002755/2.545, allocations: 183.6 kB / 0.7904 GB, free: 62.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007149/2.552, allocations: 1.674 MB / 0.792 GB, free: 61.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01398/2.566, allocations: 2.111 MB / 0.7941 GB, free: 59.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02084/2.587, allocations: 11.21 MB / 0.8051 GB, free: 49.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01153/2.598, allocations: 0.5259 MB / 0.8056 GB, free: 49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002296/2.601, allocations: 0.5201 MB / 0.8061 GB, free: 48.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 824 * 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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.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 (1084): * Single equations (assignments): 1079 * 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%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003627/2.604, allocations: 0.7833 MB / 0.8068 GB, free: 47.71 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001882/2.606, allocations: 0.5832 MB / 0.8074 GB, free: 47.12 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02035/2.627, allocations: 6.73 MB / 0.814 GB, free: 41.67 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.522e-05/2.627, allocations: 33.09 kB / 0.814 GB, free: 41.64 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.25e-05/2.627, allocations: 16 kB / 0.814 GB, free: 41.62 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.55e-05/2.627, allocations: 15.75 kB / 0.814 GB, free: 41.62 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05075/2.678, allocations: 15.13 MB / 0.8288 GB, free: 28.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.839e-05/2.678, allocations: 9.641 kB / 0.8288 GB, free: 28.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006308/2.684, allocations: 0.5854 MB / 0.8294 GB, free: 27.79 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006698/2.691, allocations: 1.406 MB / 0.8308 GB, free: 26.38 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001089/2.692, allocations: 52 kB / 0.8308 GB, free: 26.33 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02155/2.714, allocations: 10.42 MB / 0.841 GB, free: 15.65 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/2.714, allocations: 11.94 kB / 0.841 GB, free: 15.64 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0297/2.744, allocations: 11.81 MB / 0.8525 GB, free: 3.605 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004849/2.748, allocations: 1.153 MB / 0.8537 GB, free: 2.426 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002763/2.751, allocations: 59.94 kB / 0.8537 GB, free: 2.367 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006476/2.758, allocations: 221.8 kB / 0.8539 GB, free: 2.152 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001278/2.759, allocations: 189.9 kB / 0.8541 GB, free: 1.961 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009159/2.76, allocations: 79.98 kB / 0.8542 GB, free: 1.883 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01323/2.773, allocations: 4.291 MB / 0.8584 GB, free: 13.61 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.232e-06/2.773, allocations: 4 kB / 0.8584 GB, free: 13.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01324/2.787, allocations: 1.628 MB / 0.86 GB, free: 11.98 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (260): * Single equations (assignments): 255 * 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%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04334/2.83, allocations: 13.2 MB / 0.8729 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03194/2.862, allocations: 8.336 MB / 0.881 GB, free: 6.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/2.862, allocations: 0 / 0.881 GB, free: 6.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.3635/3.226, allocations: 3.367 MB / 0.8843 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007576/3.233, allocations: 0.695 MB / 0.885 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06266/3.296, allocations: 15.17 MB / 0.8998 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01356/3.31, allocations: 4.931 MB / 0.9046 GB, free: 126.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01513/3.325, allocations: 2.955 MB / 0.9075 GB, free: 126.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009333/3.334, allocations: 3.161 MB / 0.9106 GB, free: 126.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.823e-06/3.334, allocations: 4.406 kB / 0.9106 GB, free: 126.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3215/3.656, allocations: 129.7 MB / 1.037 GB, free: 31.99 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00028/3.656, allocations: 158.5 kB / 1.037 GB, free: 31.77 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.66/11.32, allocations: 0 / 1.037 GB, free: 31.77 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat