Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_LineForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.271/2.271, allocations: 235 MB / 247.1 MB, free: 14.33 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.121e-05/4.136e-05, allocations: 4.938 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4065, allocations: 54.85 MB / 359.9 MB, free: 3.141 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1954/0.6019, allocations: 105.7 MB / 465.6 MB, free: 7.137 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/0.6022, allocations: 73.16 kB / 465.7 MB, free: 7.066 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9149/1.517, allocations: 135.8 MB / 0.5873 GB, free: 98.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.805e-06/1.517, allocations: 0 / 0.5873 GB, free: 98.02 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004909/1.518, allocations: 133.4 kB / 0.5875 GB, free: 98.01 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: 2299 * Number of variables: 2299 Notification: Performance of Generate backend data structure: time 0.02987/1.548, allocations: 7.049 MB / 0.5943 GB, free: 93.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/1.548, allocations: 7.344 kB / 0.5944 GB, free: 93.55 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005661/1.553, allocations: 1.145 MB / 0.5955 GB, free: 92.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0563/1.61, allocations: 7.565 MB / 0.6029 GB, free: 86.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03631/1.646, allocations: 9.798 MB / 0.6124 GB, free: 76.88 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006738/1.647, allocations: 490.1 kB / 0.6129 GB, free: 76.43 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003838/1.651, allocations: 0.6495 MB / 0.6135 GB, free: 75.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05274/1.703, allocations: 16.55 MB / 0.6297 GB, free: 57.95 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005913/1.704, allocations: 107 kB / 0.6298 GB, free: 57.84 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003529/1.708, allocations: 312.9 kB / 0.6301 GB, free: 57.57 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003729/1.711, allocations: 1.586 MB / 0.6316 GB, free: 55.99 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0441/1.756, allocations: 13.5 MB / 0.6448 GB, free: 42.46 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5211/2.277, allocations: 74.32 MB / 0.7174 GB, free: 57.74 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04061/2.317, allocations: 7.684 MB / 0.7249 GB, free: 57.05 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009372/2.327, allocations: 3.98 MB / 0.7288 GB, free: 57 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04438/2.371, allocations: 18.71 MB / 0.7471 GB, free: 52.56 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.373e-05/2.371, allocations: 62.06 kB / 0.7471 GB, free: 52.52 MB / 474.7 MB Notification: Performance of pre-optimization done (n=286): time 7.314e-06/2.371, allocations: 0 / 0.7471 GB, free: 52.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=367): time 0.2242/2.596, allocations: 40.3 MB / 0.7865 GB, free: 42.04 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/2.596, allocations: 271.9 kB / 0.7867 GB, free: 41.76 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01415/2.61, allocations: 5.294 MB / 0.7919 GB, free: 38.11 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001045/2.611, allocations: 81.7 kB / 0.792 GB, free: 38.03 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004314/2.615, allocations: 4.756 MB / 0.7966 GB, free: 33.76 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002418/2.618, allocations: 1.355 MB / 0.798 GB, free: 32.56 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001283/2.619, allocations: 182.6 kB / 0.7981 GB, free: 32.38 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005967/2.62, allocations: 0.6926 MB / 0.7988 GB, free: 31.79 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009151/2.629, allocations: 3.694 MB / 0.8024 GB, free: 28.46 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01266/2.642, allocations: 8.871 MB / 0.8111 GB, free: 17.78 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01324/2.655, allocations: 5.609 MB / 0.8166 GB, free: 13.21 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002093/2.655, allocations: 52 kB / 0.8166 GB, free: 13.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.07428/2.73, allocations: 16.4 MB / 0.8326 GB, free: 176 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000194/2.73, allocations: 84 kB / 0.8327 GB, free: 92 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001546/2.731, allocations: 221.2 kB / 0.8329 GB, free: 0 / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03023/2.762, allocations: 4.125 MB / 0.8369 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01443/2.776, allocations: 2.035 MB / 0.8389 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06075/2.837, allocations: 21.73 MB / 0.8602 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01185/2.849, allocations: 0.5545 MB / 0.8607 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002495/2.851, allocations: 0.5312 MB / 0.8612 GB, free: 3.035 MB / 0.4948 GB 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.0029/2.854, allocations: 0.7972 MB / 0.862 GB, free: 2.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001943/2.856, allocations: 0.5708 MB / 0.8626 GB, free: 1.652 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04081/2.897, allocations: 9.686 MB / 0.872 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.724e-05/2.897, allocations: 40 kB / 0.872 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.624e-05/2.897, allocations: 16 kB / 0.8721 GB, free: 7.855 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.531e-05/2.897, allocations: 15.94 kB / 0.8721 GB, free: 7.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07225/2.97, allocations: 19.1 MB / 0.8907 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.988e-05/2.97, allocations: 3.75 kB / 0.8907 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005419/2.975, allocations: 0.5109 MB / 0.8912 GB, free: 4.121 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02223/2.997, allocations: 3.556 MB / 0.8947 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009146/2.998, allocations: 63.98 kB / 0.8948 GB, free: 0.4922 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.421/3.419, allocations: 18.7 MB / 0.913 GB, free: 167.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.094e-06/3.419, allocations: 1 kB / 0.913 GB, free: 167.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05388/3.473, allocations: 14.14 MB / 0.9268 GB, free: 167.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005329/3.479, allocations: 1.117 MB / 0.9279 GB, free: 167.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002686/3.481, allocations: 59.16 kB / 0.928 GB, free: 167.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006997/3.489, allocations: 230.9 kB / 0.9282 GB, free: 167.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001763/3.49, allocations: 220.5 kB / 0.9284 GB, free: 167.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008565/3.491, allocations: 95.38 kB / 0.9285 GB, free: 167.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01233/3.504, allocations: 3.706 MB / 0.9321 GB, free: 166.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.82e-07/3.504, allocations: 0 / 0.9321 GB, free: 166.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01381/3.517, allocations: 1.84 MB / 0.9339 GB, free: 166.9 MB / 0.5417 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 (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.04968/3.567, allocations: 14.98 MB / 0.9485 GB, free: 164.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02439/3.592, allocations: 9.524 MB / 0.9578 GB, free: 161.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/3.592, allocations: 0 / 0.9578 GB, free: 161.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.009966/3.602, allocations: 3.717 MB / 0.9615 GB, free: 159.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007495/3.609, allocations: 0.7188 MB / 0.9622 GB, free: 159.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05653/3.666, allocations: 15.32 MB / 0.9771 GB, free: 154.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01314/3.679, allocations: 5.004 MB / 0.982 GB, free: 152.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01373/3.693, allocations: 2.799 MB / 0.9848 GB, free: 151.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008026/3.701, allocations: 3.27 MB / 0.988 GB, free: 148.9 MB / 0.5417 GB Notification: Performance of SimCode: time 1.272e-06/3.701, allocations: 0 / 0.988 GB, free: 148.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7676/4.469, allocations: 141.9 MB / 1.127 GB, free: 151.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000276/4.469, allocations: 188.9 kB / 1.127 GB, free: 150.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.238/12.71, allocations: 0 / 1.127 GB, free: 150.8 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat