Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.006/2.006, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.765e-05/3.781e-05, allocations: 0 / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4662/0.5735, allocations: 96.31 MB / 418.1 MB, free: 9.578 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/0.5739, allocations: 78.83 kB / 418.2 MB, free: 9.504 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3301/0.904, allocations: 73.59 MB / 491.8 MB, free: 15.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.9041, allocations: 0 / 491.8 MB, free: 15.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002986/0.9044, allocations: 80 kB / 491.9 MB, free: 15.43 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: 1385 * Number of variables: 1385 Notification: Performance of Generate backend data structure: time 0.02015/0.9245, allocations: 4.086 MB / 496 MB, free: 11.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.243e-05/0.9246, allocations: 12.03 kB / 496 MB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003553/0.9282, allocations: 0.7084 MB / 496.7 MB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007805/0.936, allocations: 0.7514 MB / 497.4 MB, free: 9.793 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/0.9467, allocations: 2.564 MB / 0.4883 GB, free: 7.176 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005222/0.9473, allocations: 316.4 kB / 0.4886 GB, free: 6.863 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00242/0.9497, allocations: 423.8 kB / 0.489 GB, free: 6.449 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3285/1.278, allocations: 9.845 MB / 0.4986 GB, free: 99.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002922/1.279, allocations: 15.03 kB / 0.4986 GB, free: 99.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002172/1.281, allocations: 187.9 kB / 0.4988 GB, free: 99.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003249/1.284, allocations: 0.8556 MB / 0.4996 GB, free: 99.95 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03323/1.317, allocations: 8.364 MB / 0.5078 GB, free: 99.92 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07228/1.39, allocations: 31.85 MB / 0.5389 GB, free: 84.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01579/1.406, allocations: 3.007 MB / 0.5418 GB, free: 83.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003962/1.41, allocations: 1.535 MB / 0.5433 GB, free: 83.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02617/1.436, allocations: 8.977 MB / 0.5521 GB, free: 77.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.257e-05/1.436, allocations: 43.03 kB / 0.5522 GB, free: 77.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=91): time 5.55e-06/1.436, allocations: 2.438 kB / 0.5522 GB, free: 77.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=108): time 0.04944/1.485, allocations: 7.612 MB / 0.5596 GB, free: 74.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/1.486, allocations: 117.4 kB / 0.5597 GB, free: 74.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005899/1.491, allocations: 2.494 MB / 0.5621 GB, free: 73.74 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003632/1.492, allocations: 46.34 kB / 0.5622 GB, free: 73.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001952/1.494, allocations: 2.472 MB / 0.5646 GB, free: 71.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006366/1.495, allocations: 430.3 kB / 0.565 GB, free: 71.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000476/1.495, allocations: 82.41 kB / 0.5651 GB, free: 71.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000287/1.495, allocations: 484 kB / 0.5655 GB, free: 71.01 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003616/1.499, allocations: 1.403 MB / 0.5669 GB, free: 70.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005164/1.504, allocations: 3.72 MB / 0.5705 GB, free: 66.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005233/1.509, allocations: 2.216 MB / 0.5727 GB, free: 65.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.996e-05/1.51, allocations: 22.66 kB / 0.5727 GB, free: 65.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=523) (initialization): time 0.01403/1.524, allocations: 5.007 MB / 0.5776 GB, free: 63.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/1.524, allocations: 44.66 kB / 0.5777 GB, free: 63.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001754/1.524, allocations: 81.38 kB / 0.5777 GB, free: 63.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002105/1.524, allocations: 123.9 kB / 0.5779 GB, free: 63.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008778/1.533, allocations: 0.9977 MB / 0.5788 GB, free: 63.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002493/1.533, allocations: 169.8 kB / 0.579 GB, free: 63.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007113/1.541, allocations: 238.2 kB / 0.5792 GB, free: 63.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001073/1.542, allocations: 237.3 kB / 0.5795 GB, free: 63.68 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * Number of states: 0 () * Number of discrete variables: 46 (n1_a1.color[3],n1_a1.color[2],n1_a1.color[1],prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRR.rodColor[3],jointRRR.rodColor[2],jointRRR.rodColor[1],jointRRR.cylinderColor[3],jointRRR.cylinderColor[2],jointRRR.cylinderColor[1],jointRRR.jointUSR.revolute.positiveBranch,jointRRR.jointUSR.rod1Color[3],jointRRR.jointUSR.rod1Color[2],jointRRR.jointUSR.rod1Color[1],jointRRR.jointUSR.cylinderColor[3],jointRRR.jointUSR.cylinderColor[2],jointRRR.jointUSR.cylinderColor[1],jointRRR.jointUSR.sphereColor[3],jointRRR.jointUSR.sphereColor[2],jointRRR.jointUSR.sphereColor[1],jointRRR.jointUSR.revoluteColor[3],jointRRR.jointUSR.revoluteColor[2],jointRRR.jointUSR.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 (521): * Single equations (assignments): 520 * Array equations: 1 * 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.001416/1.543, allocations: 440.7 kB / 0.5799 GB, free: 63.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008773/1.544, allocations: 237.8 kB / 0.5801 GB, free: 63.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00708/1.551, allocations: 2.04 MB / 0.5821 GB, free: 62.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.486e-05/1.551, allocations: 14.81 kB / 0.5821 GB, free: 62.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/1.551, allocations: 7.969 kB / 0.5821 GB, free: 62.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.969e-05/1.551, allocations: 7.078 kB / 0.5821 GB, free: 62.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04668/1.598, allocations: 6.965 MB / 0.5889 GB, free: 57.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-05/1.598, allocations: 16 kB / 0.5889 GB, free: 57.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004638/1.603, allocations: 295.1 kB / 0.5892 GB, free: 57.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-05/1.603, allocations: 28 kB / 0.5892 GB, free: 56.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000233/1.603, allocations: 48 kB / 0.5893 GB, free: 56.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.935e-05/1.603, allocations: 38.44 kB / 0.5893 GB, free: 56.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.393e-05/1.603, allocations: 28.34 kB / 0.5894 GB, free: 56.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006529/1.61, allocations: 4.234 MB / 0.5935 GB, free: 52.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/1.611, allocations: 351.5 kB / 0.5938 GB, free: 51.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001057/1.612, allocations: 51.52 kB / 0.5939 GB, free: 51.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003122/1.615, allocations: 77.11 kB / 0.5939 GB, free: 51.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000534/1.616, allocations: 155 kB / 0.5941 GB, free: 51.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002253/1.616, allocations: 60 kB / 0.5942 GB, free: 51.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005912/1.622, allocations: 1.76 MB / 0.5959 GB, free: 50.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.82e-07/1.622, allocations: 0 / 0.5959 GB, free: 50.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007578/1.63, allocations: 0.7589 MB / 0.5966 GB, free: 49.33 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 155 * 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.008839/1.639, allocations: 9.53 MB / 0.6059 GB, free: 39.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009799/1.649, allocations: 3.163 MB / 0.609 GB, free: 36.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.063e-05/1.649, allocations: 4 kB / 0.609 GB, free: 36.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002701/1.651, allocations: 0.8759 MB / 0.6099 GB, free: 35.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00353/1.655, allocations: 320.5 kB / 0.6102 GB, free: 35.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03681/1.692, allocations: 7.967 MB / 0.618 GB, free: 28.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009133/1.701, allocations: 3.024 MB / 0.6209 GB, free: 25.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007691/1.709, allocations: 1.614 MB / 0.6225 GB, free: 24.33 MB / 426.7 MB Notification: Performance of SimCode: time 2.164e-06/1.709, allocations: 0 / 0.6225 GB, free: 24.33 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.726/5.435, allocations: 64.77 MB / 0.6857 GB, free: 107.3 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat