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 2.017/2.017, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.406e-05/4.412e-05, allocations: 7.984 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1019, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4304/0.5324, allocations: 94.46 MB / 416.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.5327, allocations: 83.94 kB / 416.4 MB, free: 10.94 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8415/1.374, allocations: 132.7 MB / 0.5363 GB, free: 89.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.374, allocations: 3.969 kB / 0.5363 GB, free: 89.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004099/1.375, allocations: 129.4 kB / 0.5364 GB, free: 89.12 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.02598/1.401, allocations: 6.438 MB / 0.5427 GB, free: 86.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/1.401, allocations: 9.656 kB / 0.5427 GB, free: 86.55 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005579/1.406, allocations: 1.192 MB / 0.5439 GB, free: 86.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0528/1.459, allocations: 7.138 MB / 0.5508 GB, free: 85.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02588/1.485, allocations: 7.231 MB / 0.5579 GB, free: 84.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006877/1.486, allocations: 0.5021 MB / 0.5584 GB, free: 84.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003921/1.49, allocations: 0.6695 MB / 0.5591 GB, free: 84.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05212/1.542, allocations: 16.51 MB / 0.5752 GB, free: 76.08 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005013/1.543, allocations: 88.34 kB / 0.5753 GB, free: 76.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003514/1.546, allocations: 323.2 kB / 0.5756 GB, free: 75.85 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003396/1.55, allocations: 1.563 MB / 0.5771 GB, free: 75.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04626/1.596, allocations: 13.51 MB / 0.5903 GB, free: 63.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.454/2.05, allocations: 70.09 MB / 0.6587 GB, free: 37.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03576/2.086, allocations: 7.805 MB / 0.6664 GB, free: 37.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008535/2.094, allocations: 3.885 MB / 0.6701 GB, free: 37.17 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003535/2.095, allocations: 59.92 kB / 0.6702 GB, free: 37.17 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.988e-05/2.095, allocations: 70.47 kB / 0.6703 GB, free: 37.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=290): time 8.206e-06/2.095, allocations: 0 / 0.6703 GB, free: 37.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=332): time 0.1299/2.225, allocations: 28.23 MB / 0.6978 GB, free: 33.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/2.225, allocations: 216.9 kB / 0.698 GB, free: 33.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01432/2.239, allocations: 5.57 MB / 0.7035 GB, free: 32.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009763/2.24, allocations: 77.84 kB / 0.7036 GB, free: 32.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004302/2.245, allocations: 4.589 MB / 0.708 GB, free: 30 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002173/2.247, allocations: 1.231 MB / 0.7092 GB, free: 29.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001381/2.248, allocations: 172.1 kB / 0.7094 GB, free: 28.96 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007872/2.249, allocations: 0.67 MB / 0.7101 GB, free: 28.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009576/2.259, allocations: 3.707 MB / 0.7137 GB, free: 27.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01276/2.271, allocations: 8.469 MB / 0.722 GB, free: 19.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01222/2.284, allocations: 5.567 MB / 0.7274 GB, free: 17.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000172/2.284, allocations: 48.75 kB / 0.7274 GB, free: 17.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.03725/2.321, allocations: 13.1 MB / 0.7402 GB, free: 14.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001298/2.321, allocations: 75.44 kB / 0.7403 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002638/2.322, allocations: 171.6 kB / 0.7405 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007112/2.329, allocations: 1.688 MB / 0.7421 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01446/2.343, allocations: 2.087 MB / 0.7442 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02077/2.364, allocations: 11.36 MB / 0.7553 GB, free: 1.684 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01163/2.376, allocations: 0.5288 MB / 0.7558 GB, free: 1.254 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002301/2.378, allocations: 0.4942 MB / 0.7562 GB, free: 0.7773 MB / 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.00372/2.382, allocations: 0.7551 MB / 0.757 GB, free: 24 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002221/2.384, allocations: 0.5516 MB / 0.7575 GB, free: 15.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02581/2.41, allocations: 7.433 MB / 0.7648 GB, free: 9.398 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.414e-05/2.41, allocations: 38.34 kB / 0.7648 GB, free: 9.363 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.311e-05/2.41, allocations: 16.02 kB / 0.7648 GB, free: 9.348 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.362e-05/2.41, allocations: 19.89 kB / 0.7649 GB, free: 9.344 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05623/2.467, allocations: 16.41 MB / 0.7809 GB, free: 12.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.745e-05/2.467, allocations: 7.938 kB / 0.7809 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007211/2.474, allocations: 0.65 MB / 0.7815 GB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006912/2.481, allocations: 1.42 MB / 0.7829 GB, free: 10.96 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009799/2.482, allocations: 63.98 kB / 0.783 GB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0249/2.507, allocations: 10.58 MB / 0.7933 GB, free: 52 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/2.507, allocations: 4 kB / 0.7933 GB, free: 48 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03429/2.541, allocations: 12.7 MB / 0.8057 GB, free: 3.082 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005307/2.546, allocations: 1.216 MB / 0.8069 GB, free: 1.84 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002241/2.549, allocations: 59.98 kB / 0.807 GB, free: 1.781 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006839/2.556, allocations: 275.5 kB / 0.8072 GB, free: 1.512 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001437/2.557, allocations: 197.8 kB / 0.8074 GB, free: 1.316 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006931/2.558, allocations: 91.86 kB / 0.8075 GB, free: 1.23 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0121/2.57, allocations: 3.944 MB / 0.8113 GB, free: 13.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.102e-06/2.57, allocations: 4 kB / 0.8113 GB, free: 13.28 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01329/2.583, allocations: 1.668 MB / 0.813 GB, free: 11.62 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.03815/2.622, allocations: 14.07 MB / 0.8267 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02509/2.647, allocations: 8.907 MB / 0.8354 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/2.647, allocations: 0 / 0.8354 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01243/2.659, allocations: 3.764 MB / 0.8391 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006619/2.666, allocations: 0.6667 MB / 0.8397 GB, free: 8 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3645/3.03, allocations: 15.56 MB / 0.8549 GB, free: 151 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01367/3.044, allocations: 4.985 MB / 0.8598 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01474/3.059, allocations: 2.927 MB / 0.8627 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008612/3.068, allocations: 3.157 MB / 0.8658 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.333e-06/3.068, allocations: 1.438 kB / 0.8658 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.277/3.345, allocations: 127.9 MB / 0.9907 GB, free: 63.44 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002454/3.345, allocations: 172.5 kB / 0.9909 GB, free: 63.22 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/11.42, allocations: 0 / 0.9909 GB, free: 63.22 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