Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.956/1.956, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.253e-05/5.25e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1211, allocations: 48.71 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5501/0.6712, allocations: 92.94 MB / 414.8 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003763/0.6717, allocations: 79.89 kB / 414.9 MB, free: 12.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3813/1.053, allocations: 76.28 MB / 491.1 MB, free: 12 kB / 410.7 MB Notification: Performance of FrontEnd: time 5.891e-06/1.053, allocations: 0 / 491.1 MB, free: 12 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003208/1.053, allocations: 71.98 kB / 491.2 MB, free: 15.94 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.01565/1.069, allocations: 3.577 MB / 494.8 MB, free: 12.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/1.069, allocations: 8.031 kB / 494.8 MB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003152/1.072, allocations: 0.6715 MB / 495.5 MB, free: 11.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03409/1.106, allocations: 4.316 MB / 499.8 MB, free: 7.285 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01967/1.126, allocations: 4.456 MB / 0.4924 GB, free: 2.766 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004827/1.127, allocations: 283.1 kB / 0.4927 GB, free: 2.488 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002358/1.129, allocations: 359.8 kB / 0.493 GB, free: 2.137 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3198/1.449, allocations: 9.07 MB / 0.5019 GB, free: 95.85 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003638/1.449, allocations: 59.41 kB / 0.5019 GB, free: 95.85 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001639/1.451, allocations: 180.9 kB / 0.5021 GB, free: 95.85 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00243/1.453, allocations: 0.882 MB / 0.503 GB, free: 95.85 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02437/1.478, allocations: 7.2 MB / 0.51 GB, free: 95.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.063/1.541, allocations: 44.06 MB / 0.553 GB, free: 65.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01508/1.556, allocations: 3.477 MB / 0.5564 GB, free: 63.99 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00347/1.56, allocations: 1.596 MB / 0.558 GB, free: 63.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01792/1.578, allocations: 7.19 MB / 0.565 GB, free: 59.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.531e-05/1.578, allocations: 53.44 kB / 0.5651 GB, free: 59.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 6.021e-06/1.578, allocations: 0 / 0.5651 GB, free: 59.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=184): time 0.09369/1.671, allocations: 17.06 MB / 0.5817 GB, free: 54.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.266e-05/1.672, allocations: 201 kB / 0.5819 GB, free: 54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007347/1.679, allocations: 3.261 MB / 0.5851 GB, free: 52.87 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004709/1.679, allocations: 53.27 kB / 0.5852 GB, free: 52.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00238/1.682, allocations: 2.759 MB / 0.5879 GB, free: 50.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001144/1.683, allocations: 0.7054 MB / 0.5885 GB, free: 50.13 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007658/1.684, allocations: 120.4 kB / 0.5887 GB, free: 50.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004156/1.684, allocations: 0.5558 MB / 0.5892 GB, free: 49.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005232/1.69, allocations: 1.946 MB / 0.5911 GB, free: 48.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007532/1.697, allocations: 5.471 MB / 0.5964 GB, free: 43.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007528/1.705, allocations: 3.238 MB / 0.5996 GB, free: 41.87 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001193/1.705, allocations: 40 kB / 0.5996 GB, free: 41.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02888/1.734, allocations: 8.816 MB / 0.6083 GB, free: 34.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.757e-05/1.734, allocations: 56 kB / 0.6083 GB, free: 34.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001559/1.734, allocations: 124 kB / 0.6084 GB, free: 34.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009217/1.743, allocations: 1.552 MB / 0.6099 GB, free: 33.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007818/1.751, allocations: 1.283 MB / 0.6112 GB, free: 31.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02142/1.773, allocations: 8.944 MB / 0.6199 GB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006362/1.779, allocations: 317 kB / 0.6202 GB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001282/1.78, allocations: 354.9 kB / 0.6206 GB, free: 23.51 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.00133/1.782, allocations: 0.5491 MB / 0.6211 GB, free: 22.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008685/1.783, allocations: 335.7 kB / 0.6214 GB, free: 22.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01507/1.798, allocations: 3.81 MB / 0.6251 GB, free: 19.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.424e-05/1.798, allocations: 23.19 kB / 0.6252 GB, free: 19.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.937e-05/1.798, allocations: 8 kB / 0.6252 GB, free: 19.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-05/1.798, allocations: 7.641 kB / 0.6252 GB, free: 19.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02703/1.825, allocations: 7.998 MB / 0.633 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-05/1.825, allocations: 0 / 0.633 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002443/1.828, allocations: 238.7 kB / 0.6332 GB, free: 13.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008262/1.836, allocations: 1.233 MB / 0.6344 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004765/1.836, allocations: 39.94 kB / 0.6345 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0177/1.854, allocations: 7.27 MB / 0.6416 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.854, allocations: 0 / 0.6416 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01989/1.874, allocations: 6.157 MB / 0.6476 GB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002589/1.877, allocations: 0.5982 MB / 0.6482 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008847/1.878, allocations: 36.05 kB / 0.6482 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002793/1.88, allocations: 91.89 kB / 0.6483 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005474/1.881, allocations: 109.1 kB / 0.6484 GB, free: 13.37 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002526/1.881, allocations: 53.23 kB / 0.6484 GB, free: 13.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006262/1.888, allocations: 2.257 MB / 0.6506 GB, free: 11.07 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.306e-06/1.888, allocations: 0 / 0.6506 GB, free: 11.07 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006879/1.895, allocations: 0.9749 MB / 0.6516 GB, free: 10.11 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.02203/1.917, allocations: 6.99 MB / 0.6584 GB, free: 3.082 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3028/2.22, allocations: 4.886 MB / 0.6632 GB, free: 105.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/2.22, allocations: 1.156 kB / 0.6632 GB, free: 105.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004376/2.224, allocations: 1.585 MB / 0.6647 GB, free: 105.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/2.227, allocations: 358 kB / 0.6651 GB, free: 105.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02951/2.257, allocations: 8.408 MB / 0.6733 GB, free: 104.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007969/2.265, allocations: 3.041 MB / 0.6763 GB, free: 103.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004416/2.269, allocations: 1.687 MB / 0.6779 GB, free: 103.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.423e-06/2.269, allocations: 0 / 0.6779 GB, free: 103.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.089/6.358, allocations: 89.34 MB / 0.7652 GB, free: 58.9 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat