Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.43/2.43, allocations: 235 MB / 247.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.969e-05/4.983e-05, allocations: 4 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4123, allocations: 54.86 MB / 359.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1953/0.6077, allocations: 105.6 MB / 465.5 MB, free: 7.129 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.608, allocations: 73.16 kB / 465.6 MB, free: 7.059 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9452/1.553, allocations: 135.8 MB / 0.5873 GB, free: 97.83 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.074e-06/1.553, allocations: 0 / 0.5873 GB, free: 97.83 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004914/1.554, allocations: 132.6 kB / 0.5874 GB, free: 97.82 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: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.03093/1.585, allocations: 7.042 MB / 0.5943 GB, free: 93.37 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/1.585, allocations: 11.72 kB / 0.5943 GB, free: 93.37 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0055/1.59, allocations: 1.137 MB / 0.5954 GB, free: 92.62 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05602/1.646, allocations: 7.563 MB / 0.6028 GB, free: 86.52 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03499/1.681, allocations: 9.799 MB / 0.6123 GB, free: 76.77 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006162/1.682, allocations: 492 kB / 0.6128 GB, free: 76.33 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004214/1.686, allocations: 0.6479 MB / 0.6134 GB, free: 75.72 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05317/1.74, allocations: 16.55 MB / 0.6296 GB, free: 57.84 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005241/1.74, allocations: 103.1 kB / 0.6297 GB, free: 57.74 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003044/1.743, allocations: 311.5 kB / 0.63 GB, free: 57.47 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003702/1.747, allocations: 1.575 MB / 0.6315 GB, free: 55.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04454/1.792, allocations: 13.48 MB / 0.6447 GB, free: 42.39 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5066/2.298, allocations: 74.24 MB / 0.7172 GB, free: 57.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04117/2.339, allocations: 7.654 MB / 0.7247 GB, free: 56.9 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009205/2.349, allocations: 3.91 MB / 0.7285 GB, free: 56.86 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04679/2.396, allocations: 18.62 MB / 0.7467 GB, free: 52.41 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.715e-05/2.396, allocations: 72.41 kB / 0.7467 GB, free: 52.38 MB / 474.7 MB Notification: Performance of pre-optimization done (n=280): time 7.413e-06/2.396, allocations: 0 / 0.7467 GB, free: 52.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=361): time 0.249/2.645, allocations: 40.4 MB / 0.7862 GB, free: 42.17 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/2.645, allocations: 278 kB / 0.7865 GB, free: 41.88 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01155/2.656, allocations: 5.303 MB / 0.7916 GB, free: 38.34 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009959/2.657, allocations: 84.91 kB / 0.7917 GB, free: 38.26 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004072/2.662, allocations: 4.753 MB / 0.7964 GB, free: 33.98 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002112/2.664, allocations: 1.334 MB / 0.7977 GB, free: 32.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/2.665, allocations: 184 kB / 0.7978 GB, free: 32.62 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005032/2.665, allocations: 0.6917 MB / 0.7985 GB, free: 32.04 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008614/2.674, allocations: 3.657 MB / 0.8021 GB, free: 28.74 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01288/2.687, allocations: 8.834 MB / 0.8107 GB, free: 18.08 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01318/2.7, allocations: 5.576 MB / 0.8162 GB, free: 13.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001854/2.7, allocations: 52 kB / 0.8162 GB, free: 13.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=1196) (initialization): time 0.05664/2.757, allocations: 16.39 MB / 0.8322 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/2.757, allocations: 84 kB / 0.8323 GB, free: 420 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002549/2.757, allocations: 180 kB / 0.8325 GB, free: 240 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02617/2.784, allocations: 4.206 MB / 0.8366 GB, free: 12.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01391/2.798, allocations: 2.031 MB / 0.8386 GB, free: 10.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05963/2.857, allocations: 21.75 MB / 0.8598 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01202/2.869, allocations: 0.5444 MB / 0.8603 GB, free: 3.824 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00266/2.872, allocations: 0.5311 MB / 0.8609 GB, free: 3.293 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 63 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.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 (1077): * Single equations (assignments): 1072 * 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 {(1,100.0%) 44,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004034/2.876, allocations: 0.7988 MB / 0.8616 GB, free: 2.488 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001969/2.878, allocations: 0.5785 MB / 0.8622 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04371/2.922, allocations: 9.654 MB / 0.8716 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.89e-05/2.922, allocations: 43.05 kB / 0.8717 GB, free: 8.152 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.513e-05/2.922, allocations: 16 kB / 0.8717 GB, free: 8.137 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.783e-05/2.922, allocations: 19.94 kB / 0.8717 GB, free: 8.117 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07603/2.998, allocations: 19.02 MB / 0.8903 GB, free: 4.992 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-05/2.998, allocations: 11.94 kB / 0.8903 GB, free: 4.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005458/3.004, allocations: 0.4915 MB / 0.8908 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02333/3.027, allocations: 3.614 MB / 0.8943 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009922/3.028, allocations: 67.23 kB / 0.8944 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4463/3.475, allocations: 18.69 MB / 0.9126 GB, free: 167.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/3.475, allocations: 0 / 0.9126 GB, free: 167.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05148/3.526, allocations: 14.06 MB / 0.9263 GB, free: 167 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005108/3.531, allocations: 1.11 MB / 0.9274 GB, free: 166.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003274/3.535, allocations: 60.66 kB / 0.9275 GB, free: 166.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01029/3.545, allocations: 238.6 kB / 0.9277 GB, free: 166.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002449/3.547, allocations: 221.7 kB / 0.9279 GB, free: 166.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001521/3.549, allocations: 94.53 kB / 0.928 GB, free: 166.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01564/3.565, allocations: 3.704 MB / 0.9316 GB, free: 166.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.232e-06/3.565, allocations: 0 / 0.9316 GB, free: 166.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01976/3.585, allocations: 1.84 MB / 0.9334 GB, free: 166.7 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (264): * Single equations (assignments): 259 * 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%) 43,(1,100.0%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06775/3.652, allocations: 14.9 MB / 0.948 GB, free: 164.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0229/3.675, allocations: 9.43 MB / 0.9572 GB, free: 161.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/3.675, allocations: 0.5 kB / 0.9572 GB, free: 161.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00965/3.685, allocations: 3.68 MB / 0.9608 GB, free: 160 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006518/3.692, allocations: 0.7148 MB / 0.9615 GB, free: 159.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.065/3.757, allocations: 15.27 MB / 0.9764 GB, free: 154.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01531/3.772, allocations: 5.001 MB / 0.9813 GB, free: 152.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01828/3.79, allocations: 2.787 MB / 0.984 GB, free: 152.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0102/3.801, allocations: 3.257 MB / 0.9872 GB, free: 149.6 MB / 0.5417 GB Notification: Performance of SimCode: time 2.003e-06/3.801, allocations: 4 kB / 0.9872 GB, free: 149.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.694/4.495, allocations: 141.7 MB / 1.126 GB, free: 150 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003043/4.495, allocations: 183.9 kB / 1.126 GB, free: 149.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.237/12.73, allocations: 0 / 1.126 GB, free: 149.8 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2_res.mat does not exist to compare? outputFormat=mat