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.889/1.889, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.682e-05/3.706e-05, allocations: 4 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1084, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4736/0.582, allocations: 92.95 MB / 414.8 MB, free: 12.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.5824, allocations: 75.95 kB / 414.9 MB, free: 12.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.35/0.9324, allocations: 76.28 MB / 491.2 MB, free: 15.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.689e-06/0.9325, allocations: 0 / 491.2 MB, free: 15.99 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002592/0.9327, allocations: 71.94 kB / 491.2 MB, free: 15.92 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.01821/0.951, allocations: 3.585 MB / 494.8 MB, free: 12.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.396e-05/0.9511, allocations: 12.03 kB / 494.8 MB, free: 12.27 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003789/0.9549, allocations: 0.6676 MB / 495.5 MB, free: 11.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04663/1.002, allocations: 4.324 MB / 499.8 MB, free: 7.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02255/1.024, allocations: 4.452 MB / 0.4925 GB, free: 2.734 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004035/1.025, allocations: 275.1 kB / 0.4927 GB, free: 2.465 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00209/1.027, allocations: 359.8 kB / 0.4931 GB, free: 2.113 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.319/1.346, allocations: 9.026 MB / 0.5019 GB, free: 96.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003366/1.346, allocations: 68.44 kB / 0.5019 GB, free: 96.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001615/1.348, allocations: 180.7 kB / 0.5021 GB, free: 96.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002373/1.35, allocations: 0.8803 MB / 0.503 GB, free: 96.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0235/1.374, allocations: 7.034 MB / 0.5098 GB, free: 96.75 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0602/1.434, allocations: 44.06 MB / 0.5529 GB, free: 66.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01476/1.449, allocations: 3.451 MB / 0.5562 GB, free: 64.99 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003254/1.452, allocations: 1.59 MB / 0.5578 GB, free: 64.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01703/1.469, allocations: 7.196 MB / 0.5648 GB, free: 60.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/1.469, allocations: 50.94 kB / 0.5649 GB, free: 60.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=150): time 5.31e-06/1.469, allocations: 0 / 0.5649 GB, free: 60.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=184): time 0.09405/1.563, allocations: 17.05 MB / 0.5815 GB, free: 55.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.785e-05/1.564, allocations: 200.2 kB / 0.5817 GB, free: 55 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00738/1.571, allocations: 3.264 MB / 0.5849 GB, free: 53.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005039/1.572, allocations: 56.3 kB / 0.585 GB, free: 53.81 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002551/1.574, allocations: 2.755 MB / 0.5876 GB, free: 51.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001143/1.575, allocations: 0.7071 MB / 0.5883 GB, free: 51.13 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000748/1.576, allocations: 110.7 kB / 0.5884 GB, free: 51.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003876/1.576, allocations: 0.5564 MB / 0.589 GB, free: 50.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00494/1.581, allocations: 1.949 MB / 0.5909 GB, free: 49.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007456/1.589, allocations: 5.437 MB / 0.5962 GB, free: 44.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007343/1.596, allocations: 3.244 MB / 0.5994 GB, free: 42.96 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001233/1.597, allocations: 36 kB / 0.5994 GB, free: 42.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.029/1.626, allocations: 8.478 MB / 0.6077 GB, free: 35.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.928e-05/1.626, allocations: 56 kB / 0.6077 GB, free: 35.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001727/1.626, allocations: 124.9 kB / 0.6079 GB, free: 35.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009251/1.635, allocations: 1.551 MB / 0.6094 GB, free: 34.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007917/1.643, allocations: 1.279 MB / 0.6106 GB, free: 33.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02187/1.665, allocations: 8.943 MB / 0.6194 GB, free: 25.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006862/1.672, allocations: 315.5 kB / 0.6197 GB, free: 25.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001433/1.673, allocations: 362 kB / 0.62 GB, free: 24.96 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.001788/1.675, allocations: 0.5513 MB / 0.6205 GB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009411/1.676, allocations: 327.7 kB / 0.6208 GB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01612/1.692, allocations: 3.81 MB / 0.6246 GB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.528e-05/1.693, allocations: 20 kB / 0.6246 GB, free: 21.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/1.693, allocations: 8 kB / 0.6246 GB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.517e-05/1.693, allocations: 10.38 kB / 0.6246 GB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02698/1.72, allocations: 7.988 MB / 0.6324 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.268e-05/1.72, allocations: 2.672 kB / 0.6324 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002431/1.722, allocations: 232.6 kB / 0.6326 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008014/1.73, allocations: 1.242 MB / 0.6338 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003183/1.731, allocations: 35.94 kB / 0.6339 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01698/1.747, allocations: 7.279 MB / 0.641 GB, free: 5.836 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.748, allocations: 0 / 0.641 GB, free: 5.836 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01915/1.767, allocations: 6.158 MB / 0.647 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002271/1.769, allocations: 0.602 MB / 0.6476 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005934/1.77, allocations: 29.56 kB / 0.6476 GB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002718/1.772, allocations: 95.89 kB / 0.6477 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005914/1.773, allocations: 113 kB / 0.6478 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002217/1.773, allocations: 48.06 kB / 0.6479 GB, free: 14.74 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006099/1.779, allocations: 2.261 MB / 0.6501 GB, free: 12.49 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.41e-07/1.779, allocations: 0 / 0.6501 GB, free: 12.49 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007268/1.787, allocations: 0.9747 MB / 0.651 GB, free: 11.53 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.02269/1.809, allocations: 6.984 MB / 0.6578 GB, free: 4.508 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3664/2.176, allocations: 4.692 MB / 0.6624 GB, free: 106.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/2.176, allocations: 0 / 0.6624 GB, free: 106.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00453/2.181, allocations: 1.561 MB / 0.6639 GB, free: 106.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003597/2.184, allocations: 360.7 kB / 0.6643 GB, free: 106.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03151/2.216, allocations: 8.395 MB / 0.6725 GB, free: 104.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00851/2.224, allocations: 3.038 MB / 0.6755 GB, free: 104.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004679/2.229, allocations: 1.682 MB / 0.6771 GB, free: 104.1 MB / 442.7 MB Notification: Performance of SimCode: time 2.024e-06/2.229, allocations: 1.312 kB / 0.6771 GB, free: 104.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.272/6.501, allocations: 88.46 MB / 0.7635 GB, free: 61.77 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