Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.355/2.355, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.783e-05/3.787e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4001, allocations: 54.85 MB / 359.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2025/0.6027, allocations: 104.8 MB / 464.7 MB, free: 7.953 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/0.603, allocations: 76.73 kB / 464.8 MB, free: 7.879 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9449/1.548, allocations: 110.8 MB / 0.5621 GB, free: 104 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.554e-06/1.548, allocations: 0 / 0.5621 GB, free: 104 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004789/1.548, allocations: 108.2 kB / 0.5622 GB, free: 104 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: 1937 * Number of variables: 1937 Notification: Performance of Generate backend data structure: time 0.02745/1.576, allocations: 5.885 MB / 0.5679 GB, free: 101.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.273e-05/1.576, allocations: 10.94 kB / 0.5679 GB, free: 101.7 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005629/1.582, allocations: 0.9715 MB / 0.5689 GB, free: 101.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07023/1.652, allocations: 6.893 MB / 0.5756 GB, free: 101.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03165/1.684, allocations: 7.07 MB / 0.5825 GB, free: 98.82 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006112/1.684, allocations: 417.4 kB / 0.5829 GB, free: 98.67 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003561/1.688, allocations: 0.5434 MB / 0.5834 GB, free: 98.51 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04792/1.736, allocations: 13.95 MB / 0.5971 GB, free: 90.25 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005259/1.736, allocations: 67.41 kB / 0.5971 GB, free: 90.18 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003354/1.74, allocations: 265.3 kB / 0.5974 GB, free: 89.96 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00311/1.743, allocations: 1.358 MB / 0.5987 GB, free: 88.6 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03935/1.782, allocations: 11.35 MB / 0.6098 GB, free: 77.24 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1066/1.889, allocations: 60.63 MB / 0.669 GB, free: 15.12 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03901/1.928, allocations: 5.751 MB / 0.6746 GB, free: 9.23 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009477/1.938, allocations: 3.247 MB / 0.6778 GB, free: 5.973 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0415/1.979, allocations: 14.73 MB / 0.6922 GB, free: 6.77 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.571e-05/1.979, allocations: 67.94 kB / 0.6922 GB, free: 6.699 MB / 474.7 MB Notification: Performance of pre-optimization done (n=226): time 6.863e-06/1.979, allocations: 0 / 0.6922 GB, free: 6.699 MB / 474.7 MB Notification: Performance of matching and sorting (n=263): time 0.5593/2.539, allocations: 21.9 MB / 0.7136 GB, free: 108.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001657/2.539, allocations: 263.8 kB / 0.7139 GB, free: 108.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02036/2.559, allocations: 4.39 MB / 0.7182 GB, free: 108.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000788/2.56, allocations: 65.73 kB / 0.7182 GB, free: 108 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005594/2.566, allocations: 3.972 MB / 0.7221 GB, free: 106 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002429/2.568, allocations: 0.983 MB / 0.7231 GB, free: 105.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001691/2.57, allocations: 151.6 kB / 0.7232 GB, free: 105.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001422/2.572, allocations: 0.6151 MB / 0.7238 GB, free: 105.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007795/2.579, allocations: 2.519 MB / 0.7263 GB, free: 105.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01082/2.59, allocations: 6.786 MB / 0.7329 GB, free: 98.68 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01051/2.601, allocations: 4.107 MB / 0.7369 GB, free: 97.51 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002181/2.601, allocations: 44.44 kB / 0.7369 GB, free: 97.51 MB / 474.7 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02847/2.63, allocations: 9.163 MB / 0.7459 GB, free: 94.53 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001396/2.63, allocations: 76 kB / 0.746 GB, free: 94.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002859/2.63, allocations: 156.6 kB / 0.7461 GB, free: 94.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002411/2.633, allocations: 0.5836 MB / 0.7467 GB, free: 94.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01177/2.644, allocations: 1.734 MB / 0.7484 GB, free: 94.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009705/2.654, allocations: 5.609 MB / 0.7539 GB, free: 90.31 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009832/2.664, allocations: 408.1 kB / 0.7542 GB, free: 90.17 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002055/2.666, allocations: 440.2 kB / 0.7547 GB, free: 90.11 MB / 474.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.003603/2.67, allocations: 0.6786 MB / 0.7553 GB, free: 89.55 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001942/2.672, allocations: 472.4 kB / 0.7558 GB, free: 89.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01347/2.685, allocations: 3.97 MB / 0.7597 GB, free: 87.74 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.997e-05/2.685, allocations: 30.06 kB / 0.7597 GB, free: 87.74 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.331e-05/2.685, allocations: 3.719 kB / 0.7597 GB, free: 87.74 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.196e-05/2.686, allocations: 14.94 kB / 0.7597 GB, free: 87.74 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0356/2.721, allocations: 10.22 MB / 0.7697 GB, free: 83.99 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-05/2.721, allocations: 3.875 kB / 0.7697 GB, free: 83.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004909/2.726, allocations: 468.3 kB / 0.7701 GB, free: 83.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001847/2.728, allocations: 347.5 kB / 0.7705 GB, free: 83.86 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007115/2.729, allocations: 45.56 kB / 0.7705 GB, free: 83.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007927/2.737, allocations: 4.952 MB / 0.7753 GB, free: 80.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/2.737, allocations: 1.891 kB / 0.7753 GB, free: 80.14 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0181/2.755, allocations: 7.082 MB / 0.7823 GB, free: 75.96 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003812/2.759, allocations: 0.8228 MB / 0.7831 GB, free: 75.18 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002223/2.761, allocations: 40 kB / 0.7831 GB, free: 75.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005277/2.767, allocations: 167.9 kB / 0.7833 GB, free: 75.03 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001008/2.768, allocations: 142.7 kB / 0.7834 GB, free: 74.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000309/2.768, allocations: 66.86 kB / 0.7835 GB, free: 74.88 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01016/2.778, allocations: 3.071 MB / 0.7865 GB, free: 72.18 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.422e-06/2.778, allocations: 0 / 0.7865 GB, free: 72.18 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01146/2.79, allocations: 1.293 MB / 0.7877 GB, free: 70.9 MB / 474.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.01952/2.809, allocations: 7.913 MB / 0.7955 GB, free: 63.68 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0163/2.826, allocations: 6.13 MB / 0.8014 GB, free: 58.07 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/2.826, allocations: 4 kB / 0.8014 GB, free: 58.07 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005807/2.832, allocations: 2.153 MB / 0.8035 GB, free: 56.09 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005903/2.837, allocations: 0.5561 MB / 0.8041 GB, free: 55.61 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04533/2.883, allocations: 11.89 MB / 0.8157 GB, free: 45.32 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01104/2.894, allocations: 4.217 MB / 0.8198 GB, free: 42.19 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01248/2.907, allocations: 2.387 MB / 0.8221 GB, free: 40.66 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007133/2.914, allocations: 2.628 MB / 0.8247 GB, free: 38.23 MB / 474.7 MB Notification: Performance of SimCode: time 2.615e-06/2.914, allocations: 0 / 0.8247 GB, free: 38.23 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6421/3.556, allocations: 98.64 MB / 0.921 GB, free: 105.1 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002634/3.556, allocations: 175.2 kB / 0.9212 GB, free: 104.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.194/10.75, allocations: 7.688 kB / 0.9212 GB, free: 104.9 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat does not exist to compare? outputFormat=mat