Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.93/1.93, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.622e-05/3.644e-05, allocations: 4 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1084, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5344/0.643, allocations: 92.95 MB / 414.8 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/0.6433, allocations: 71.97 kB / 414.9 MB, free: 12.47 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3591/1.002, allocations: 76.29 MB / 491.2 MB, free: 15.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.224e-06/1.002, allocations: 0 / 491.2 MB, free: 15.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002454/1.003, allocations: 75.92 kB / 491.3 MB, free: 15.61 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: 1314 * Number of variables: 1314 Notification: Performance of Generate backend data structure: time 0.01406/1.017, allocations: 3.577 MB / 494.8 MB, free: 11.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.151e-05/1.017, allocations: 12.03 kB / 494.9 MB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002523/1.019, allocations: 0.6676 MB / 495.5 MB, free: 11.28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03295/1.052, allocations: 4.32 MB / 499.8 MB, free: 6.949 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01781/1.07, allocations: 4.456 MB / 0.4925 GB, free: 2.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003083/1.071, allocations: 271.1 kB / 0.4927 GB, free: 2.164 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00136/1.072, allocations: 367.8 kB / 0.4931 GB, free: 1.805 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3292/1.401, allocations: 9.023 MB / 0.5019 GB, free: 96.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002776/1.402, allocations: 60.77 kB / 0.502 GB, free: 96.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001384/1.403, allocations: 181.3 kB / 0.5021 GB, free: 96.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002234/1.405, allocations: 0.8805 MB / 0.503 GB, free: 96.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02305/1.428, allocations: 7.036 MB / 0.5099 GB, free: 96.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05842/1.487, allocations: 44.05 MB / 0.5529 GB, free: 65.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01465/1.501, allocations: 3.46 MB / 0.5563 GB, free: 64.28 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003225/1.505, allocations: 1.59 MB / 0.5578 GB, free: 63.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01621/1.521, allocations: 7.194 MB / 0.5648 GB, free: 59.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/1.521, allocations: 60.56 kB / 0.5649 GB, free: 59.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 5.851e-06/1.521, allocations: 0 / 0.5649 GB, free: 59.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=184): time 0.09201/1.613, allocations: 17.05 MB / 0.5815 GB, free: 54.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.26e-05/1.613, allocations: 208 kB / 0.5817 GB, free: 54.28 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007164/1.62, allocations: 3.262 MB / 0.5849 GB, free: 53.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000438/1.621, allocations: 56.61 kB / 0.585 GB, free: 53.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002365/1.623, allocations: 2.812 MB / 0.5877 GB, free: 50.94 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001036/1.624, allocations: 0.7097 MB / 0.5884 GB, free: 50.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006061/1.625, allocations: 115.3 kB / 0.5885 GB, free: 50.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003446/1.625, allocations: 0.5491 MB / 0.5891 GB, free: 49.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005009/1.63, allocations: 1.939 MB / 0.591 GB, free: 49.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007193/1.638, allocations: 5.437 MB / 0.5963 GB, free: 43.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007321/1.645, allocations: 3.249 MB / 0.5994 GB, free: 41.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001505/1.645, allocations: 36 kB / 0.5995 GB, free: 41.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02959/1.675, allocations: 8.579 MB / 0.6079 GB, free: 34.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/1.675, allocations: 60 kB / 0.6079 GB, free: 34.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001709/1.675, allocations: 124.9 kB / 0.608 GB, free: 34.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009302/1.685, allocations: 1.551 MB / 0.6095 GB, free: 33.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007788/1.692, allocations: 1.279 MB / 0.6108 GB, free: 32.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02183/1.714, allocations: 8.954 MB / 0.6195 GB, free: 24.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007074/1.721, allocations: 317.7 kB / 0.6198 GB, free: 24.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001604/1.723, allocations: 362.8 kB / 0.6202 GB, free: 23.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 569 * Number of states: 0 () * Number of discrete variables: 33 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.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 (691): * Single equations (assignments): 687 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001908/1.725, allocations: 0.5365 MB / 0.6207 GB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008917/1.726, allocations: 327.8 kB / 0.621 GB, free: 22.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01549/1.741, allocations: 3.812 MB / 0.6248 GB, free: 19.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.749e-05/1.742, allocations: 21.17 kB / 0.6248 GB, free: 19.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.826e-05/1.742, allocations: 11.75 kB / 0.6248 GB, free: 19.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.126e-05/1.742, allocations: 9.766 kB / 0.6248 GB, free: 19.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02633/1.768, allocations: 7.986 MB / 0.6326 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-05/1.768, allocations: 0 / 0.6326 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002433/1.77, allocations: 239.7 kB / 0.6328 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008132/1.779, allocations: 1.238 MB / 0.634 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004384/1.779, allocations: 39.94 kB / 0.6341 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01803/1.797, allocations: 7.279 MB / 0.6412 GB, free: 4.508 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.797, allocations: 0 / 0.6412 GB, free: 4.508 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02077/1.818, allocations: 6.155 MB / 0.6472 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002508/1.821, allocations: 0.6021 MB / 0.6478 GB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00126/1.822, allocations: 31.98 kB / 0.6478 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00346/1.825, allocations: 91.89 kB / 0.6479 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007561/1.826, allocations: 106.5 kB / 0.648 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002323/1.827, allocations: 56.05 kB / 0.648 GB, free: 13.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007167/1.834, allocations: 2.261 MB / 0.6503 GB, free: 11.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.753e-06/1.834, allocations: 0 / 0.6503 GB, free: 11.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008112/1.842, allocations: 0.9689 MB / 0.6512 GB, free: 10.2 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 125 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02418/1.866, allocations: 6.983 MB / 0.658 GB, free: 3.188 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3305/2.197, allocations: 4.691 MB / 0.6626 GB, free: 105.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/2.197, allocations: 1.562 kB / 0.6626 GB, free: 105.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004401/2.201, allocations: 1.562 MB / 0.6641 GB, free: 105.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003361/2.205, allocations: 361.3 kB / 0.6645 GB, free: 105.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03005/2.235, allocations: 7.986 MB / 0.6723 GB, free: 104.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007516/2.242, allocations: 3.034 MB / 0.6752 GB, free: 103.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009395/2.252, allocations: 1.818 MB / 0.677 GB, free: 103.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004292/2.256, allocations: 1.636 MB / 0.6786 GB, free: 103.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.924e-06/2.256, allocations: 1.625 kB / 0.6786 GB, free: 103.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1706/2.427, allocations: 73.77 MB / 0.7506 GB, free: 72.14 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/2.427, allocations: 180.3 kB / 0.7508 GB, free: 71.91 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.214/7.641, allocations: 4.812 kB / 0.7508 GB, free: 71.91 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat