Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.997/1.997, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.717e-05/4.735e-05, allocations: 4 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.109, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4362/0.5453, allocations: 97.99 MB / 419.9 MB, free: 7.492 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.5456, allocations: 75.95 kB / 419.9 MB, free: 7.418 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7623/1.308, allocations: 110.6 MB / 0.5181 GB, free: 92.36 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.537e-06/1.308, allocations: 3.406 kB / 0.5181 GB, free: 92.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004674/1.308, allocations: 118.4 kB / 0.5182 GB, free: 92.36 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: 1935 * Number of variables: 1935 Notification: Performance of Generate backend data structure: time 0.02577/1.334, allocations: 5.875 MB / 0.524 GB, free: 90.13 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/1.334, allocations: 7.875 kB / 0.524 GB, free: 90.13 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004673/1.339, allocations: 0.9656 MB / 0.5249 GB, free: 90.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05003/1.389, allocations: 6.902 MB / 0.5317 GB, free: 89.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02686/1.416, allocations: 7.059 MB / 0.5386 GB, free: 88.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000613/1.417, allocations: 414.8 kB / 0.539 GB, free: 88.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003538/1.42, allocations: 0.5397 MB / 0.5395 GB, free: 88.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0451/1.465, allocations: 14 MB / 0.5532 GB, free: 84.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004266/1.466, allocations: 74.41 kB / 0.5532 GB, free: 84.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002907/1.469, allocations: 259.4 kB / 0.5535 GB, free: 84.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002998/1.472, allocations: 1.369 MB / 0.5548 GB, free: 83.83 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03812/1.51, allocations: 11.57 MB / 0.5661 GB, free: 80.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1234/1.633, allocations: 60.6 MB / 0.6253 GB, free: 25.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02743/1.661, allocations: 5.766 MB / 0.6309 GB, free: 19.35 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006532/1.667, allocations: 3.247 MB / 0.6341 GB, free: 16.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03296/1.7, allocations: 14.74 MB / 0.6485 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.912e-05/1.701, allocations: 56.56 kB / 0.6485 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of pre-optimization done (n=226): time 6.272e-06/1.701, allocations: 0 / 0.6485 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of matching and sorting (n=263): time 0.4611/2.162, allocations: 21.91 MB / 0.6699 GB, free: 98.67 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/2.162, allocations: 264.3 kB / 0.6702 GB, free: 98.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01401/2.176, allocations: 4.392 MB / 0.6745 GB, free: 97.97 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006562/2.177, allocations: 65.2 kB / 0.6745 GB, free: 97.94 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004607/2.181, allocations: 3.964 MB / 0.6784 GB, free: 96.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001922/2.183, allocations: 0.984 MB / 0.6794 GB, free: 95.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001086/2.184, allocations: 153.9 kB / 0.6795 GB, free: 95.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007394/2.185, allocations: 0.6127 MB / 0.6801 GB, free: 95.38 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007692/2.193, allocations: 2.518 MB / 0.6826 GB, free: 95.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01135/2.204, allocations: 6.837 MB / 0.6893 GB, free: 89.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01048/2.215, allocations: 4.109 MB / 0.6933 GB, free: 89.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002648/2.215, allocations: 42.88 kB / 0.6933 GB, free: 89.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02718/2.242, allocations: 9.591 MB / 0.7027 GB, free: 88.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001446/2.242, allocations: 72.64 kB / 0.7027 GB, free: 88.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002392/2.243, allocations: 150.9 kB / 0.7029 GB, free: 88.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002294/2.245, allocations: 0.5948 MB / 0.7035 GB, free: 88.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01147/2.257, allocations: 1.736 MB / 0.7052 GB, free: 88.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009071/2.266, allocations: 5.605 MB / 0.7106 GB, free: 84.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009371/2.275, allocations: 405.6 kB / 0.711 GB, free: 84.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001818/2.277, allocations: 437.7 kB / 0.7114 GB, free: 84.03 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 54 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[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],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 (912): * Single equations (assignments): 907 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002642/2.28, allocations: 0.6715 MB / 0.7121 GB, free: 83.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001544/2.281, allocations: 465.1 kB / 0.7125 GB, free: 83.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01134/2.293, allocations: 3.987 MB / 0.7164 GB, free: 81.67 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.96e-05/2.293, allocations: 35.22 kB / 0.7165 GB, free: 81.67 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.827e-05/2.293, allocations: 3.906 kB / 0.7165 GB, free: 81.67 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-05/2.293, allocations: 11.2 kB / 0.7165 GB, free: 81.67 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0325/2.325, allocations: 10.23 MB / 0.7265 GB, free: 77.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.028e-05/2.325, allocations: 2.719 kB / 0.7265 GB, free: 77.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004737/2.33, allocations: 474.6 kB / 0.7269 GB, free: 77.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00175/2.332, allocations: 348.7 kB / 0.7273 GB, free: 77.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005621/2.332, allocations: 43.7 kB / 0.7273 GB, free: 77.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007455/2.34, allocations: 4.951 MB / 0.7321 GB, free: 74.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/2.34, allocations: 3.969 kB / 0.7321 GB, free: 74.12 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01636/2.356, allocations: 7.078 MB / 0.739 GB, free: 71.03 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003587/2.36, allocations: 0.8231 MB / 0.7399 GB, free: 70.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001704/2.362, allocations: 45 kB / 0.7399 GB, free: 70.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004678/2.366, allocations: 149.7 kB / 0.74 GB, free: 70.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008127/2.367, allocations: 152.5 kB / 0.7402 GB, free: 70.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002846/2.368, allocations: 69.72 kB / 0.7403 GB, free: 70.44 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008246/2.376, allocations: 3.071 MB / 0.7432 GB, free: 69.39 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.12e-07/2.376, allocations: 0 / 0.7432 GB, free: 69.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00938/2.385, allocations: 1.293 MB / 0.7445 GB, free: 69.23 MB / 442.7 MB 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 (224): * Single equations (assignments): 219 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01661/2.402, allocations: 7.913 MB / 0.7522 GB, free: 65.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01452/2.417, allocations: 6.361 MB / 0.7585 GB, free: 61.11 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/2.417, allocations: 0 / 0.7585 GB, free: 61.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004792/2.421, allocations: 2.185 MB / 0.7606 GB, free: 59.09 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005141/2.427, allocations: 0.5552 MB / 0.7611 GB, free: 58.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04067/2.467, allocations: 11.89 MB / 0.7727 GB, free: 48.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008438/2.476, allocations: 4.222 MB / 0.7769 GB, free: 45.16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01092/2.487, allocations: 2.385 MB / 0.7792 GB, free: 43.63 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006054/2.493, allocations: 2.629 MB / 0.7818 GB, free: 41.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.934e-06/2.493, allocations: 0 / 0.7818 GB, free: 41.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5931/3.086, allocations: 99.31 MB / 0.8787 GB, free: 84.71 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002632/3.086, allocations: 171.6 kB / 0.8789 GB, free: 84.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.052/10.14, allocations: 4 kB / 0.8789 GB, free: 84.49 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat does not exist to compare? outputFormat=mat