Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_LineForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.906/1.906, allocations: 209.3 MB / 221.5 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.896e-05/4.913e-05, allocations: 4 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1098, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.446/0.5558, allocations: 98.91 MB / 420.8 MB, free: 6.645 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/0.5562, allocations: 79.94 kB / 420.8 MB, free: 6.566 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8611/1.417, allocations: 135.6 MB / 0.5434 GB, free: 91.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.477e-06/1.417, allocations: 0 / 0.5434 GB, free: 91.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005176/1.418, allocations: 138.6 kB / 0.5436 GB, free: 91.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: 2297 * Number of variables: 2297 Notification: Performance of Generate backend data structure: time 0.02986/1.448, allocations: 7.043 MB / 0.5504 GB, free: 88.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/1.448, allocations: 11.09 kB / 0.5504 GB, free: 88.73 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005336/1.453, allocations: 1.143 MB / 0.5516 GB, free: 88.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05672/1.51, allocations: 7.563 MB / 0.5589 GB, free: 87.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03603/1.546, allocations: 9.784 MB / 0.5685 GB, free: 84.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00066/1.547, allocations: 499 kB / 0.569 GB, free: 84.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003802/1.551, allocations: 0.654 MB / 0.5696 GB, free: 83.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05155/1.602, allocations: 16.55 MB / 0.5858 GB, free: 68.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006016/1.603, allocations: 99.11 kB / 0.5859 GB, free: 68.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003592/1.606, allocations: 317.4 kB / 0.5862 GB, free: 68.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003716/1.61, allocations: 1.585 MB / 0.5877 GB, free: 66.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04373/1.654, allocations: 13.49 MB / 0.6009 GB, free: 52.99 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4619/2.116, allocations: 74.3 MB / 0.6735 GB, free: 36.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0403/2.156, allocations: 7.684 MB / 0.681 GB, free: 35.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009192/2.166, allocations: 3.98 MB / 0.6849 GB, free: 35.76 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04689/2.212, allocations: 18.71 MB / 0.7031 GB, free: 30.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.356e-05/2.213, allocations: 67.41 kB / 0.7032 GB, free: 30.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=286): time 7.404e-06/2.213, allocations: 0 / 0.7032 GB, free: 30.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=367): time 0.2405/2.453, allocations: 40.3 MB / 0.7425 GB, free: 19.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/2.453, allocations: 267.2 kB / 0.7428 GB, free: 19.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01949/2.473, allocations: 5.303 MB / 0.748 GB, free: 17.85 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001328/2.474, allocations: 81.3 kB / 0.7481 GB, free: 17.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006826/2.481, allocations: 4.753 MB / 0.7527 GB, free: 13.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003112/2.484, allocations: 1.354 MB / 0.754 GB, free: 12.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001556/2.486, allocations: 190.8 kB / 0.7542 GB, free: 12.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008362/2.487, allocations: 0.6936 MB / 0.7549 GB, free: 11.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01471/2.502, allocations: 3.685 MB / 0.7585 GB, free: 8.199 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02056/2.522, allocations: 8.87 MB / 0.7671 GB, free: 13.52 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02352/2.546, allocations: 5.609 MB / 0.7726 GB, free: 8.871 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003003/2.546, allocations: 52 kB / 0.7727 GB, free: 8.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.07872/2.625, allocations: 16.57 MB / 0.7888 GB, free: 12.11 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000188/2.625, allocations: 91.89 kB / 0.7889 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003324/2.625, allocations: 180 kB / 0.7891 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0237/2.649, allocations: 4.081 MB / 0.7931 GB, free: 8.156 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01388/2.663, allocations: 2.031 MB / 0.7951 GB, free: 6.121 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08361/2.747, allocations: 21.73 MB / 0.8163 GB, free: 148 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01275/2.76, allocations: 0.554 MB / 0.8168 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002553/2.762, allocations: 0.5312 MB / 0.8174 GB, free: 15.07 MB / 490.7 MB 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 (1083): * Single equations (assignments): 1078 * 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,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003382/2.766, allocations: 0.8009 MB / 0.8181 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001846/2.767, allocations: 0.5708 MB / 0.8187 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04265/2.81, allocations: 9.682 MB / 0.8281 GB, free: 3.949 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001266/2.81, allocations: 39.44 kB / 0.8282 GB, free: 3.914 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.893e-05/2.81, allocations: 16 kB / 0.8282 GB, free: 3.898 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001322/2.811, allocations: 23.92 kB / 0.8282 GB, free: 3.875 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4398/3.25, allocations: 19.09 MB / 0.8469 GB, free: 133.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.889e-05/3.251, allocations: 1.219 kB / 0.8469 GB, free: 133.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005577/3.256, allocations: 0.5061 MB / 0.8474 GB, free: 133.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02195/3.278, allocations: 3.561 MB / 0.8508 GB, free: 133.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001012/3.279, allocations: 64.02 kB / 0.8509 GB, free: 133.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04693/3.326, allocations: 18.72 MB / 0.8692 GB, free: 129 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/3.326, allocations: 3.625 kB / 0.8692 GB, free: 129 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0477/3.374, allocations: 14.12 MB / 0.883 GB, free: 124.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005476/3.379, allocations: 1.12 MB / 0.8841 GB, free: 124 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002619/3.382, allocations: 67.72 kB / 0.8841 GB, free: 124 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006672/3.389, allocations: 227.9 kB / 0.8844 GB, free: 123.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001645/3.391, allocations: 223 kB / 0.8846 GB, free: 123.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007792/3.391, allocations: 90.09 kB / 0.8847 GB, free: 123.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01058/3.402, allocations: 3.706 MB / 0.8883 GB, free: 122.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.62e-07/3.402, allocations: 0 / 0.8883 GB, free: 122.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.013/3.415, allocations: 1.848 MB / 0.8901 GB, free: 122.4 MB / 490.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 (270): * Single equations (assignments): 265 * 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.04682/3.462, allocations: 14.98 MB / 0.9047 GB, free: 116.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02285/3.485, allocations: 9.529 MB / 0.914 GB, free: 112.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/3.485, allocations: 2.625 kB / 0.914 GB, free: 112.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009836/3.495, allocations: 3.717 MB / 0.9176 GB, free: 109 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007064/3.502, allocations: 0.7246 MB / 0.9183 GB, free: 108.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04985/3.552, allocations: 15.31 MB / 0.9333 GB, free: 95.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01154/3.563, allocations: 5.001 MB / 0.9382 GB, free: 91.65 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01349/3.577, allocations: 2.801 MB / 0.9409 GB, free: 89.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008219/3.585, allocations: 3.266 MB / 0.9441 GB, free: 86.95 MB / 490.7 MB Notification: Performance of SimCode: time 1.713e-06/3.585, allocations: 4 kB / 0.9441 GB, free: 86.95 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6476/4.233, allocations: 141.8 MB / 1.083 GB, free: 102.6 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/4.233, allocations: 189.8 kB / 1.083 GB, free: 102.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.489/12.72, allocations: 4 kB / 1.083 GB, free: 102.4 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat