Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.568/2.568, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.354e-05/4.352e-05, allocations: 7.984 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4126, allocations: 54.86 MB / 359.9 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1923/0.605, allocations: 99.97 MB / 459.8 MB, free: 12.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/0.6054, allocations: 73 kB / 459.9 MB, free: 12.8 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3269/0.9323, allocations: 56.28 MB / 0.5041 GB, free: 4.164 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.9324, allocations: 0 / 0.5041 GB, free: 4.164 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002424/0.9326, allocations: 56 kB / 0.5041 GB, free: 4.109 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.01523/0.9479, allocations: 2.569 MB / 0.5066 GB, free: 1.484 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.387e-05/0.948, allocations: 16.02 kB / 0.5067 GB, free: 1.469 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00275/0.9508, allocations: 481.1 kB / 0.5071 GB, free: 0.9883 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006795/0.9576, allocations: 483.8 kB / 0.5076 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008609/0.9663, allocations: 1.536 MB / 0.5091 GB, free: 14.92 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004426/0.9668, allocations: 213.6 kB / 0.5093 GB, free: 14.71 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001805/0.9686, allocations: 279.9 kB / 0.5096 GB, free: 14.44 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03758/1.006, allocations: 6.604 MB / 0.516 GB, free: 7.516 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001203/1.006, allocations: 15.88 kB / 0.516 GB, free: 7.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005903/1.007, allocations: 124 kB / 0.5161 GB, free: 7.379 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001543/1.009, allocations: 0.52 MB / 0.5166 GB, free: 6.852 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02255/1.031, allocations: 5.38 MB / 0.5219 GB, free: 1.461 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3847/1.416, allocations: 21.29 MB / 0.5427 GB, free: 106 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01352/1.429, allocations: 1.78 MB / 0.5444 GB, free: 105.9 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001737/1.431, allocations: 0.6478 MB / 0.5451 GB, free: 105.9 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.011/1.442, allocations: 4.901 MB / 0.5498 GB, free: 103.5 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/1.442, allocations: 47.67 kB / 0.5499 GB, free: 103.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=70): time 3.767e-06/1.442, allocations: 0 / 0.5499 GB, free: 103.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=110): time 0.05246/1.495, allocations: 7.468 MB / 0.5572 GB, free: 102.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/1.495, allocations: 93.92 kB / 0.5573 GB, free: 102.4 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003575/1.499, allocations: 1.704 MB / 0.5589 GB, free: 101.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002915/1.499, allocations: 45.33 kB / 0.559 GB, free: 101.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001299/1.5, allocations: 1.659 MB / 0.5606 GB, free: 100.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000594/1.501, allocations: 418.1 kB / 0.561 GB, free: 100.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003161/1.501, allocations: 55.69 kB / 0.5611 GB, free: 100.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002017/1.501, allocations: 431.4 kB / 0.5615 GB, free: 99.8 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002499/1.504, allocations: 0.9973 MB / 0.5624 GB, free: 99.41 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003384/1.507, allocations: 2.572 MB / 0.565 GB, free: 96.88 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003465/1.511, allocations: 1.572 MB / 0.5665 GB, free: 96.36 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.892e-05/1.511, allocations: 18.84 kB / 0.5665 GB, free: 96.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=371) (initialization): time 0.00877/1.52, allocations: 3.364 MB / 0.5698 GB, free: 95.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.926e-05/1.52, allocations: 29.69 kB / 0.5698 GB, free: 95.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.157e-05/1.52, allocations: 55.94 kB / 0.5699 GB, free: 95.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001112/1.52, allocations: 86.84 kB / 0.57 GB, free: 95.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004991/1.525, allocations: 0.7241 MB / 0.5707 GB, free: 95.17 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001184/1.525, allocations: 116.1 kB / 0.5708 GB, free: 95.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00341/1.529, allocations: 157.2 kB / 0.5709 GB, free: 95.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005893/1.529, allocations: 159.7 kB / 0.5711 GB, free: 95.07 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * Number of states: 0 () * Number of discrete variables: 31 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (371): * Single equations (assignments): 371 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006874/1.53, allocations: 339.4 kB / 0.5714 GB, free: 94.79 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004634/1.53, allocations: 179.8 kB / 0.5716 GB, free: 94.69 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004089/1.535, allocations: 1.701 MB / 0.5732 GB, free: 93.95 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/1.535, allocations: 13.88 kB / 0.5732 GB, free: 93.95 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/1.535, allocations: 4.562 kB / 0.5733 GB, free: 93.94 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/1.535, allocations: 8.484 kB / 0.5733 GB, free: 93.94 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/1.548, allocations: 5.843 MB / 0.579 GB, free: 91.15 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.911e-05/1.548, allocations: 14.94 kB / 0.579 GB, free: 91.15 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001906/1.55, allocations: 248.2 kB / 0.5792 GB, free: 91.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.051e-05/1.55, allocations: 21.38 kB / 0.5792 GB, free: 91.13 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/1.55, allocations: 38.77 kB / 0.5793 GB, free: 91.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.256e-05/1.55, allocations: 29.17 kB / 0.5793 GB, free: 91.11 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-05/1.55, allocations: 22.16 kB / 0.5793 GB, free: 91.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003202/1.554, allocations: 2.606 MB / 0.5819 GB, free: 88.65 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00064/1.554, allocations: 264.7 kB / 0.5821 GB, free: 88.45 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003895/1.555, allocations: 46.11 kB / 0.5822 GB, free: 88.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/1.556, allocations: 54 kB / 0.5822 GB, free: 88.42 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/1.556, allocations: 100.6 kB / 0.5823 GB, free: 88.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-05/1.556, allocations: 39.56 kB / 0.5824 GB, free: 88.38 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002651/1.559, allocations: 1.246 MB / 0.5836 GB, free: 87.91 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.81e-07/1.559, allocations: 0 / 0.5836 GB, free: 87.91 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003863/1.563, allocations: 0.5461 MB / 0.5841 GB, free: 87.84 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004378/1.567, allocations: 6.499 MB / 0.5904 GB, free: 81.78 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004929/1.572, allocations: 2.126 MB / 0.5925 GB, free: 80.98 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/1.573, allocations: 0 / 0.5925 GB, free: 80.98 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001307/1.574, allocations: 0.589 MB / 0.5931 GB, free: 80.76 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/1.576, allocations: 228 kB / 0.5933 GB, free: 80.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/1.591, allocations: 5.255 MB / 0.5984 GB, free: 78.18 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00335/1.594, allocations: 2.231 MB / 0.6006 GB, free: 77.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002401/1.597, allocations: 1.058 MB / 0.6017 GB, free: 76.28 MB / 458.7 MB Notification: Performance of SimCode: time 1.223e-06/1.597, allocations: 0 / 0.6017 GB, free: 76.28 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.42/5.017, allocations: 45.13 MB / 0.6457 GB, free: 36.92 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat