Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.291/2.291, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.558e-05/4.564e-05, allocations: 7.984 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1491, allocations: 61.87 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5398/0.6889, allocations: 113.5 MB / 0.5116 GB, free: 6.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.6893, allocations: 85.22 kB / 0.5116 GB, free: 6.398 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8639/1.553, allocations: 112.8 MB / 0.6218 GB, free: 112 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.515e-06/1.553, allocations: 0 / 0.6218 GB, free: 112 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005304/1.554, allocations: 114 kB / 0.6219 GB, free: 112 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.0285/1.582, allocations: 5.882 MB / 0.6277 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/1.582, allocations: 9.219 kB / 0.6277 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005309/1.588, allocations: 0.9677 MB / 0.6286 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05242/1.64, allocations: 6.899 MB / 0.6354 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02713/1.667, allocations: 6.766 MB / 0.642 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005299/1.668, allocations: 412.2 kB / 0.6424 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00307/1.671, allocations: 0.5457 MB / 0.6429 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04416/1.715, allocations: 13.97 MB / 0.6565 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003919/1.716, allocations: 74.75 kB / 0.6566 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002962/1.719, allocations: 266.7 kB / 0.6569 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003066/1.722, allocations: 1.36 MB / 0.6582 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03823/1.76, allocations: 11.36 MB / 0.6693 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09506/1.855, allocations: 60.67 MB / 0.7285 GB, free: 59.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02746/1.883, allocations: 5.744 MB / 0.7341 GB, free: 55.33 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006559/1.889, allocations: 3.256 MB / 0.7373 GB, free: 52.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03308/1.922, allocations: 14.69 MB / 0.7517 GB, free: 39.13 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.699e-05/1.923, allocations: 63.88 kB / 0.7517 GB, free: 39.07 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=227): time 7.003e-06/1.923, allocations: 3.938 kB / 0.7517 GB, free: 39.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=264): time 0.1172/2.04, allocations: 21.76 MB / 0.773 GB, free: 20.94 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/2.04, allocations: 257.3 kB / 0.7732 GB, free: 20.63 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01072/2.051, allocations: 4.391 MB / 0.7775 GB, free: 16.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006768/2.051, allocations: 73.7 kB / 0.7776 GB, free: 16.17 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0048/2.056, allocations: 3.968 MB / 0.7815 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001984/2.058, allocations: 0.9953 MB / 0.7824 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001264/2.06, allocations: 148 kB / 0.7826 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008349/2.06, allocations: 0.6161 MB / 0.7832 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009462/2.07, allocations: 2.518 MB / 0.7856 GB, free: 7.934 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01359/2.084, allocations: 6.823 MB / 0.7923 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01475/2.098, allocations: 4.11 MB / 0.7963 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002239/2.099, allocations: 40 kB / 0.7964 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.03966/2.138, allocations: 9.185 MB / 0.8053 GB, free: 1.621 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001699/2.139, allocations: 78.59 kB / 0.8054 GB, free: 1.547 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002933/2.139, allocations: 152 kB / 0.8055 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002735/2.142, allocations: 0.5877 MB / 0.8061 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4099/2.552, allocations: 1.732 MB / 0.8078 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01106/2.563, allocations: 5.623 MB / 0.8133 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00889/2.572, allocations: 401.8 kB / 0.8137 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002071/2.574, allocations: 440.4 kB / 0.8141 GB, free: 111.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 696 * Number of states: 0 () * Number of discrete variables: 57 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (916): * Single equations (assignments): 911 * 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.003183/2.577, allocations: 0.6883 MB / 0.8148 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001411/2.578, allocations: 469.4 kB / 0.8152 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0134/2.592, allocations: 3.969 MB / 0.8191 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.952e-05/2.592, allocations: 28.11 kB / 0.8191 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.563e-05/2.592, allocations: 12.41 kB / 0.8191 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.652e-05/2.592, allocations: 12.89 kB / 0.8192 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03724/2.629, allocations: 10.23 MB / 0.8291 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-05/2.629, allocations: 1.25 kB / 0.8291 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005032/2.635, allocations: 469.6 kB / 0.8296 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001825/2.636, allocations: 349.8 kB / 0.8299 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006558/2.637, allocations: 41.94 kB / 0.83 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008063/2.645, allocations: 4.956 MB / 0.8348 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/2.645, allocations: 2.625 kB / 0.8348 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01639/2.662, allocations: 7.074 MB / 0.8417 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002014/2.664, allocations: 0.4914 MB / 0.8422 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002213/2.666, allocations: 38.66 kB / 0.8422 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004876/2.671, allocations: 161.5 kB / 0.8424 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008365/2.672, allocations: 144.3 kB / 0.8425 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002844/2.672, allocations: 75.67 kB / 0.8426 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007995/2.68, allocations: 3.068 MB / 0.8456 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.31e-07/2.68, allocations: 2.953 kB / 0.8456 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009371/2.689, allocations: 1.293 MB / 0.8469 GB, free: 105.4 MB / 0.5261 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 (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.01773/2.707, allocations: 7.911 MB / 0.8546 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01501/2.722, allocations: 6.141 MB / 0.8606 GB, free: 99.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/2.722, allocations: 3.406 kB / 0.8606 GB, free: 99.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005023/2.727, allocations: 2.157 MB / 0.8627 GB, free: 98.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005164/2.733, allocations: 0.5683 MB / 0.8632 GB, free: 98.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03882/2.772, allocations: 11.86 MB / 0.8748 GB, free: 94.54 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00969/2.781, allocations: 4.216 MB / 0.8789 GB, free: 93.11 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01221/2.794, allocations: 2.391 MB / 0.8813 GB, free: 93.06 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007388/2.801, allocations: 2.632 MB / 0.8839 GB, free: 90.92 MB / 0.5261 GB Notification: Performance of SimCode: time 2.424e-06/2.801, allocations: 0 / 0.8839 GB, free: 90.92 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.224/3.025, allocations: 98.74 MB / 0.9803 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/3.025, allocations: 175.5 kB / 0.9804 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.104/10.13, allocations: 0 / 0.9804 GB, free: 14.27 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat does not exist to compare? outputFormat=mat