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 2.09/2.09, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.722e-05/3.726e-05, allocations: 7.375 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1021, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4398/0.542, allocations: 98.91 MB / 420.8 MB, free: 6.652 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.5423, allocations: 75.95 kB / 420.9 MB, free: 6.578 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9478/1.49, allocations: 135.6 MB / 0.5435 GB, free: 91.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.687e-06/1.49, allocations: 3.844 kB / 0.5435 GB, free: 91.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007386/1.491, allocations: 127.4 kB / 0.5436 GB, free: 91.13 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.04158/1.533, allocations: 7.05 MB / 0.5505 GB, free: 88.49 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.434e-05/1.533, allocations: 10.25 kB / 0.5505 GB, free: 88.49 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007256/1.54, allocations: 1.141 MB / 0.5516 GB, free: 88.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06297/1.603, allocations: 7.566 MB / 0.559 GB, free: 87.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03731/1.64, allocations: 9.79 MB / 0.5685 GB, free: 84.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007236/1.641, allocations: 499.8 kB / 0.569 GB, free: 83.97 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004001/1.645, allocations: 0.6497 MB / 0.5696 GB, free: 83.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0552/1.7, allocations: 16.48 MB / 0.5857 GB, free: 68.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006881/1.701, allocations: 103 kB / 0.5858 GB, free: 68.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003807/1.705, allocations: 319.2 kB / 0.5861 GB, free: 68.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003836/1.709, allocations: 1.583 MB / 0.5877 GB, free: 66.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04688/1.756, allocations: 13.23 MB / 0.6006 GB, free: 53.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4856/2.242, allocations: 74.3 MB / 0.6732 GB, free: 37.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04739/2.289, allocations: 7.652 MB / 0.6806 GB, free: 36.44 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009642/2.299, allocations: 3.984 MB / 0.6845 GB, free: 36.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04684/2.346, allocations: 18.7 MB / 0.7028 GB, free: 30.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.101e-05/2.346, allocations: 74.39 kB / 0.7029 GB, free: 30.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=286): time 7.183e-06/2.346, allocations: 0 / 0.7029 GB, free: 30.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=367): time 0.2312/2.577, allocations: 40.3 MB / 0.7422 GB, free: 20.21 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/2.577, allocations: 270.8 kB / 0.7425 GB, free: 19.92 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01391/2.591, allocations: 5.299 MB / 0.7476 GB, free: 18.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001002/2.592, allocations: 80.64 kB / 0.7477 GB, free: 18.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004574/2.597, allocations: 4.762 MB / 0.7524 GB, free: 13.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002307/2.599, allocations: 1.349 MB / 0.7537 GB, free: 12.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001407/2.601, allocations: 191.5 kB / 0.7539 GB, free: 12.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008254/2.601, allocations: 0.6932 MB / 0.7546 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009855/2.611, allocations: 3.687 MB / 0.7582 GB, free: 8.535 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01425/2.626, allocations: 8.811 MB / 0.7668 GB, free: 13.91 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01568/2.641, allocations: 5.601 MB / 0.7722 GB, free: 9.281 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002595/2.642, allocations: 56 kB / 0.7723 GB, free: 9.227 MB / 442.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.06494/2.707, allocations: 15.91 MB / 0.7878 GB, free: 12.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002008/2.707, allocations: 88.06 kB / 0.7879 GB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000403/2.707, allocations: 183.6 kB / 0.7881 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0256/2.733, allocations: 4.077 MB / 0.7921 GB, free: 9.074 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0148/2.748, allocations: 2.039 MB / 0.794 GB, free: 7.031 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06548/2.813, allocations: 21.73 MB / 0.8153 GB, free: 1.051 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01285/2.826, allocations: 0.5574 MB / 0.8158 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00299/2.829, allocations: 0.5273 MB / 0.8163 GB, free: 15.96 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.004335/2.834, allocations: 0.8106 MB / 0.8171 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001972/2.836, allocations: 0.5747 MB / 0.8177 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04486/2.881, allocations: 9.677 MB / 0.8271 GB, free: 4.832 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001007/2.881, allocations: 43.7 kB / 0.8272 GB, free: 4.793 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.166e-05/2.881, allocations: 16 kB / 0.8272 GB, free: 4.777 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000102/2.881, allocations: 19.94 kB / 0.8272 GB, free: 4.758 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4321/3.313, allocations: 19.08 MB / 0.8458 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.028e-05/3.313, allocations: 1.344 kB / 0.8458 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005551/3.319, allocations: 0.5035 MB / 0.8463 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02202/3.341, allocations: 3.562 MB / 0.8498 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001037/3.342, allocations: 60.19 kB / 0.8499 GB, free: 133.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04729/3.389, allocations: 18.73 MB / 0.8682 GB, free: 129.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/3.389, allocations: 8.766 kB / 0.8682 GB, free: 129.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04565/3.435, allocations: 14.12 MB / 0.882 GB, free: 124.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004686/3.44, allocations: 1.124 MB / 0.8831 GB, free: 124.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00197/3.442, allocations: 56.69 kB / 0.8831 GB, free: 124.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006357/3.448, allocations: 236.8 kB / 0.8833 GB, free: 124.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001558/3.45, allocations: 225.7 kB / 0.8835 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006965/3.45, allocations: 89.12 kB / 0.8836 GB, free: 124.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01027/3.461, allocations: 3.698 MB / 0.8872 GB, free: 122.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.122e-06/3.461, allocations: 0 / 0.8872 GB, free: 122.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01297/3.474, allocations: 1.851 MB / 0.8891 GB, free: 122.6 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.04767/3.521, allocations: 15 MB / 0.9037 GB, free: 117.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02262/3.544, allocations: 9.221 MB / 0.9127 GB, free: 113.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/3.544, allocations: 0 / 0.9127 GB, free: 113.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00917/3.553, allocations: 3.664 MB / 0.9163 GB, free: 109.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006358/3.56, allocations: 0.717 MB / 0.917 GB, free: 109.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05129/3.611, allocations: 15.29 MB / 0.9319 GB, free: 96.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01153/3.623, allocations: 5.015 MB / 0.9368 GB, free: 92.62 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01385/3.637, allocations: 2.801 MB / 0.9395 GB, free: 91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008365/3.645, allocations: 3.265 MB / 0.9427 GB, free: 87.98 MB / 490.7 MB Notification: Performance of SimCode: time 1.873e-06/3.645, allocations: 0 / 0.9427 GB, free: 87.98 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6981/4.343, allocations: 140.9 MB / 1.08 GB, free: 104.7 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002307/4.343, allocations: 177.9 kB / 1.081 GB, free: 104.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.822/13.17, allocations: 0 / 1.081 GB, free: 104.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