Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.952/1.952, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.896e-05/3.902e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.112, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4955/0.6075, allocations: 98.82 MB / 420.7 MB, free: 6.664 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.6078, allocations: 71.97 kB / 420.8 MB, free: 6.594 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9222/1.53, allocations: 135.7 MB / 0.5434 GB, free: 90.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.764e-06/1.53, allocations: 0 / 0.5434 GB, free: 90.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004999/1.531, allocations: 134.4 kB / 0.5435 GB, free: 90.82 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: 2291 * Number of variables: 2291 Notification: Performance of Generate backend data structure: time 0.02979/1.56, allocations: 7.033 MB / 0.5504 GB, free: 88.19 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/1.56, allocations: 11.03 kB / 0.5504 GB, free: 88.19 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005555/1.566, allocations: 1.149 MB / 0.5515 GB, free: 88.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05675/1.623, allocations: 7.555 MB / 0.5589 GB, free: 87.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03695/1.66, allocations: 9.787 MB / 0.5684 GB, free: 84.17 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007472/1.661, allocations: 494.3 kB / 0.5689 GB, free: 83.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004261/1.665, allocations: 0.6462 MB / 0.5695 GB, free: 83.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05271/1.718, allocations: 16.47 MB / 0.5856 GB, free: 68.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005472/1.718, allocations: 99.11 kB / 0.5857 GB, free: 68.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00369/1.722, allocations: 320.8 kB / 0.586 GB, free: 68.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00373/1.726, allocations: 1.579 MB / 0.5876 GB, free: 66.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04438/1.77, allocations: 13.22 MB / 0.6005 GB, free: 53.28 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4849/2.255, allocations: 74.21 MB / 0.673 GB, free: 36.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04145/2.297, allocations: 7.618 MB / 0.6804 GB, free: 36.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009019/2.306, allocations: 3.92 MB / 0.6842 GB, free: 36.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04633/2.352, allocations: 18.61 MB / 0.7024 GB, free: 31.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.7e-05/2.352, allocations: 65.38 kB / 0.7025 GB, free: 30.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=280): time 7.344e-06/2.352, allocations: 0 / 0.7025 GB, free: 30.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=361): time 0.2368/2.589, allocations: 40.42 MB / 0.7419 GB, free: 20.35 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/2.589, allocations: 267.1 kB / 0.7422 GB, free: 20.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01365/2.603, allocations: 5.297 MB / 0.7474 GB, free: 18.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001033/2.604, allocations: 84.25 kB / 0.7474 GB, free: 18.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00459/2.609, allocations: 4.764 MB / 0.7521 GB, free: 14.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002288/2.611, allocations: 1.334 MB / 0.7534 GB, free: 12.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001336/2.612, allocations: 184 kB / 0.7536 GB, free: 12.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006357/2.613, allocations: 0.6895 MB / 0.7542 GB, free: 12.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00955/2.622, allocations: 3.66 MB / 0.7578 GB, free: 8.789 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01423/2.637, allocations: 8.787 MB / 0.7664 GB, free: 14.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01567/2.652, allocations: 5.567 MB / 0.7718 GB, free: 9.543 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002202/2.653, allocations: 52 kB / 0.7719 GB, free: 9.492 MB / 442.7 MB Notification: Performance of matching and sorting (n=1196) (initialization): time 0.08167/2.734, allocations: 15.93 MB / 0.7874 GB, free: 12.98 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002678/2.735, allocations: 84.97 kB / 0.7875 GB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004553/2.735, allocations: 180 kB / 0.7877 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03004/2.765, allocations: 4.109 MB / 0.7917 GB, free: 9.262 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01447/2.78, allocations: 2.031 MB / 0.7937 GB, free: 7.227 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06179/2.842, allocations: 21.76 MB / 0.8149 GB, free: 1.215 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01259/2.854, allocations: 0.5462 MB / 0.8155 GB, free: 0.668 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002599/2.857, allocations: 0.5234 MB / 0.816 GB, free: 148 kB / 474.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 (1077): * Single equations (assignments): 1072 * 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%) 44,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004346/2.861, allocations: 0.7998 MB / 0.8168 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00218/2.863, allocations: 0.5747 MB / 0.8173 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04388/2.907, allocations: 9.661 MB / 0.8268 GB, free: 5.039 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-05/2.908, allocations: 39.94 kB / 0.8268 GB, free: 5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.772e-05/2.908, allocations: 23.69 kB / 0.8268 GB, free: 4.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.679e-05/2.908, allocations: 15.94 kB / 0.8268 GB, free: 4.965 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4337/3.341, allocations: 19.02 MB / 0.8454 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.906e-05/3.342, allocations: 3.719 kB / 0.8454 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005941/3.348, allocations: 0.4967 MB / 0.8459 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02328/3.371, allocations: 3.609 MB / 0.8494 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001051/3.372, allocations: 63.61 kB / 0.8495 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04683/3.419, allocations: 18.7 MB / 0.8678 GB, free: 129.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/3.419, allocations: 0 / 0.8678 GB, free: 129.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04789/3.467, allocations: 14.06 MB / 0.8815 GB, free: 124.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004921/3.472, allocations: 1.116 MB / 0.8826 GB, free: 124.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002572/3.474, allocations: 63.17 kB / 0.8826 GB, free: 124.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006742/3.481, allocations: 236.6 kB / 0.8829 GB, free: 124.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001588/3.483, allocations: 217.5 kB / 0.8831 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005682/3.483, allocations: 90.81 kB / 0.8832 GB, free: 124.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01067/3.494, allocations: 3.703 MB / 0.8868 GB, free: 122.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.032e-06/3.494, allocations: 3.906 kB / 0.8868 GB, free: 122.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.013/3.507, allocations: 1.841 MB / 0.8886 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 (264): * Single equations (assignments): 259 * 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.04844/3.556, allocations: 14.9 MB / 0.9031 GB, free: 117.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02538/3.581, allocations: 9.138 MB / 0.912 GB, free: 113.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/3.581, allocations: 0 / 0.912 GB, free: 113.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01256/3.594, allocations: 3.616 MB / 0.9156 GB, free: 110.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008036/3.602, allocations: 0.7257 MB / 0.9163 GB, free: 109.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06292/3.665, allocations: 15.25 MB / 0.9312 GB, free: 96.84 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01139/3.676, allocations: 5.009 MB / 0.9361 GB, free: 93.19 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01382/3.69, allocations: 2.79 MB / 0.9388 GB, free: 91.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007463/3.697, allocations: 3.251 MB / 0.942 GB, free: 88.57 MB / 490.7 MB Notification: Performance of SimCode: time 1.443e-06/3.698, allocations: 0 / 0.942 GB, free: 88.57 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6762/4.374, allocations: 140.7 MB / 1.079 GB, free: 105.5 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002549/4.374, allocations: 177.4 kB / 1.08 GB, free: 105.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.199/12.57, allocations: 0 / 1.08 GB, free: 105.3 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2_res.mat does not exist to compare? outputFormat=mat