Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.969/1.969, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.525e-05/3.528e-05, allocations: 1.547 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1051, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4409/0.5461, allocations: 94.47 MB / 416.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/0.5464, allocations: 67.97 kB / 416.4 MB, free: 11.05 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8433/1.39, allocations: 132.7 MB / 0.5363 GB, free: 89.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.484e-06/1.39, allocations: 0 / 0.5363 GB, free: 89.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004082/1.39, allocations: 131.2 kB / 0.5364 GB, free: 89.25 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: 2406 * Number of variables: 2406 Notification: Performance of Generate backend data structure: time 0.02712/1.417, allocations: 6.437 MB / 0.5427 GB, free: 86.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/1.417, allocations: 10.5 kB / 0.5427 GB, free: 86.68 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005845/1.423, allocations: 1.194 MB / 0.5438 GB, free: 86.58 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05207/1.475, allocations: 7.134 MB / 0.5508 GB, free: 86.11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02688/1.502, allocations: 7.23 MB / 0.5579 GB, free: 84.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006996/1.503, allocations: 0.5009 MB / 0.5584 GB, free: 84.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004829/1.508, allocations: 0.6674 MB / 0.559 GB, free: 84.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05292/1.561, allocations: 16.6 MB / 0.5752 GB, free: 75.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005207/1.562, allocations: 82.38 kB / 0.5753 GB, free: 75.92 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003784/1.565, allocations: 320.7 kB / 0.5756 GB, free: 75.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003537/1.569, allocations: 1.562 MB / 0.5771 GB, free: 75.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04353/1.612, allocations: 13.77 MB / 0.5906 GB, free: 63.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4766/2.089, allocations: 70.09 MB / 0.659 GB, free: 37.31 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03546/2.125, allocations: 7.837 MB / 0.6667 GB, free: 36.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008512/2.133, allocations: 3.889 MB / 0.6705 GB, free: 36.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003726/2.134, allocations: 63.53 kB / 0.6705 GB, free: 36.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.702e-05/2.134, allocations: 63.44 kB / 0.6706 GB, free: 36.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=290): time 7.003e-06/2.134, allocations: 0 / 0.6706 GB, free: 36.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=332): time 0.13/2.264, allocations: 28.23 MB / 0.6982 GB, free: 32.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/2.264, allocations: 213.3 kB / 0.6984 GB, free: 32.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01443/2.278, allocations: 5.569 MB / 0.7038 GB, free: 31.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001007/2.279, allocations: 77.16 kB / 0.7039 GB, free: 31.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004482/2.284, allocations: 4.59 MB / 0.7084 GB, free: 29.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002216/2.286, allocations: 1.236 MB / 0.7096 GB, free: 28.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001163/2.287, allocations: 174.6 kB / 0.7097 GB, free: 28.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006293/2.288, allocations: 0.6655 MB / 0.7104 GB, free: 28.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009823/2.298, allocations: 3.706 MB / 0.714 GB, free: 26.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01999/2.318, allocations: 8.522 MB / 0.7223 GB, free: 19.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01985/2.338, allocations: 5.56 MB / 0.7278 GB, free: 17.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002606/2.338, allocations: 46.88 kB / 0.7278 GB, free: 17.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.05707/2.395, allocations: 13.58 MB / 0.7411 GB, free: 13.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001496/2.395, allocations: 83.31 kB / 0.7412 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000346/2.396, allocations: 171.2 kB / 0.7413 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007544/2.403, allocations: 1.685 MB / 0.743 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01475/2.418, allocations: 2.089 MB / 0.745 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02189/2.44, allocations: 11.37 MB / 0.7561 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0115/2.452, allocations: 0.5236 MB / 0.7566 GB, free: 452 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003217/2.455, allocations: 0.5129 MB / 0.7571 GB, free: 0 / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 770 * Number of states: 0 () * Number of discrete variables: 51 (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 (1047): * Single equations (assignments): 1042 * 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.004845/2.46, allocations: 0.755 MB / 0.7578 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003328/2.463, allocations: 0.5515 MB / 0.7584 GB, free: 14.69 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02771/2.491, allocations: 7.43 MB / 0.7656 GB, free: 8.617 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.794e-05/2.491, allocations: 32 kB / 0.7657 GB, free: 8.586 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.002e-05/2.491, allocations: 11.95 kB / 0.7657 GB, free: 8.574 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.269e-05/2.491, allocations: 17.64 kB / 0.7657 GB, free: 8.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06544/2.557, allocations: 16.74 MB / 0.782 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.236e-05/2.557, allocations: 8.031 kB / 0.7821 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007328/2.564, allocations: 0.6481 MB / 0.7827 GB, free: 11.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007195/2.572, allocations: 1.417 MB / 0.7841 GB, free: 10.36 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001091/2.573, allocations: 63.98 kB / 0.7841 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02557/2.598, allocations: 10.58 MB / 0.7945 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/2.598, allocations: 7.938 kB / 0.7945 GB, free: 15.45 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03685/2.635, allocations: 12.69 MB / 0.8069 GB, free: 2.496 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005451/2.641, allocations: 1.22 MB / 0.8081 GB, free: 1.254 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002533/2.643, allocations: 59.98 kB / 0.8081 GB, free: 1.195 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006849/2.65, allocations: 271.6 kB / 0.8084 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001541/2.652, allocations: 197.8 kB / 0.8086 GB, free: 0.7344 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001032/2.653, allocations: 95.16 kB / 0.8087 GB, free: 0.6445 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01222/2.665, allocations: 3.951 MB / 0.8125 GB, free: 12.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.162e-06/2.665, allocations: 0 / 0.8125 GB, free: 12.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01226/2.677, allocations: 1.665 MB / 0.8141 GB, free: 11.04 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (278): * Single equations (assignments): 273 * 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.03778/2.715, allocations: 14.08 MB / 0.8279 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02527/2.741, allocations: 9.182 MB / 0.8369 GB, free: 3.57 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/2.741, allocations: 0 / 0.8369 GB, free: 3.57 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.3298/3.07, allocations: 3.795 MB / 0.8406 GB, free: 153.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006638/3.077, allocations: 0.6586 MB / 0.8412 GB, free: 153.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06085/3.138, allocations: 15.59 MB / 0.8564 GB, free: 150.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01407/3.152, allocations: 4.984 MB / 0.8613 GB, free: 149.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01486/3.167, allocations: 2.926 MB / 0.8641 GB, free: 149.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009259/3.176, allocations: 3.16 MB / 0.8672 GB, free: 149.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.503e-06/3.177, allocations: 0 / 0.8672 GB, free: 149.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2768/3.453, allocations: 128.9 MB / 0.9931 GB, free: 62.44 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/3.454, allocations: 179.3 kB / 0.9933 GB, free: 62.21 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.773/11.23, allocations: 5.906 kB / 0.9933 GB, free: 62.21 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat does not exist to compare? outputFormat=mat