Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.617/2.617, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.95e-05/4.958e-05, allocations: 8 kB / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4552/0.4553, allocations: 54.86 MB / 359.9 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2255/0.6809, allocations: 102.8 MB / 462.7 MB, free: 9.992 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.6813, allocations: 79.95 kB / 462.8 MB, free: 9.914 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6524/1.334, allocations: 73.59 MB / 0.5238 GB, free: 105.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.056e-06/1.334, allocations: 0 / 0.5238 GB, free: 105.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004379/1.334, allocations: 80.48 kB / 0.5239 GB, free: 105.8 MB / 458.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.02377/1.358, allocations: 4.089 MB / 0.5279 GB, free: 105.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.709e-05/1.358, allocations: 9 kB / 0.5279 GB, free: 105.1 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004489/1.363, allocations: 0.7093 MB / 0.5286 GB, free: 105.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01008/1.373, allocations: 0.7418 MB / 0.5293 GB, free: 104.8 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01176/1.385, allocations: 2.569 MB / 0.5318 GB, free: 104.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006112/1.385, allocations: 322.8 kB / 0.5321 GB, free: 104.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002903/1.388, allocations: 414.5 kB / 0.5325 GB, free: 104.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05111/1.439, allocations: 9.796 MB / 0.5421 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002256/1.44, allocations: 21.14 kB / 0.5421 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002085/1.442, allocations: 183.6 kB / 0.5423 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003817/1.446, allocations: 0.8653 MB / 0.5431 GB, free: 103.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03566/1.481, allocations: 8.26 MB / 0.5512 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07144/1.553, allocations: 31.84 MB / 0.5823 GB, free: 83.85 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02179/1.575, allocations: 2.987 MB / 0.5852 GB, free: 82.94 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004374/1.579, allocations: 1.546 MB / 0.5867 GB, free: 82.19 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02511/1.604, allocations: 8.97 MB / 0.5955 GB, free: 76.59 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.976e-05/1.604, allocations: 54.7 kB / 0.5955 GB, free: 76.53 MB / 458.7 MB Notification: Performance of pre-optimization done (n=91): time 6.142e-06/1.604, allocations: 0 / 0.5955 GB, free: 76.53 MB / 458.7 MB Notification: Performance of matching and sorting (n=108): time 0.04233/1.647, allocations: 7.616 MB / 0.6029 GB, free: 73.64 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/1.647, allocations: 118.5 kB / 0.6031 GB, free: 73.52 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005662/1.653, allocations: 2.489 MB / 0.6055 GB, free: 72.52 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003344/1.653, allocations: 43.02 kB / 0.6055 GB, free: 72.47 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001998/1.655, allocations: 2.485 MB / 0.608 GB, free: 70.53 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006591/1.656, allocations: 426.4 kB / 0.6084 GB, free: 70.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004612/1.656, allocations: 83.06 kB / 0.6084 GB, free: 70.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002654/1.656, allocations: 477.8 kB / 0.6089 GB, free: 69.78 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003541/1.66, allocations: 1.405 MB / 0.6103 GB, free: 68.74 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004774/1.665, allocations: 3.692 MB / 0.6139 GB, free: 64.14 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004946/1.67, allocations: 2.218 MB / 0.616 GB, free: 62.24 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.874e-05/1.67, allocations: 24 kB / 0.6161 GB, free: 62.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=523) (initialization): time 0.01309/1.683, allocations: 4.78 MB / 0.6207 GB, free: 57.94 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.161e-05/1.683, allocations: 41.72 kB / 0.6208 GB, free: 57.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000133/1.683, allocations: 87.45 kB / 0.6209 GB, free: 57.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00015/1.683, allocations: 120 kB / 0.621 GB, free: 57.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00676/1.69, allocations: 1.001 MB / 0.622 GB, free: 56.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001649/1.69, allocations: 160.5 kB / 0.6221 GB, free: 56.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005053/1.696, allocations: 243.4 kB / 0.6223 GB, free: 56.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009504/1.697, allocations: 239.9 kB / 0.6226 GB, free: 56.26 MB / 458.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.000866/1.697, allocations: 438.7 kB / 0.623 GB, free: 55.83 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000625/1.698, allocations: 236.9 kB / 0.6232 GB, free: 55.59 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004712/1.703, allocations: 2.039 MB / 0.6252 GB, free: 53.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/1.703, allocations: 12 kB / 0.6252 GB, free: 53.81 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/1.703, allocations: 0 / 0.6252 GB, free: 53.81 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-05/1.703, allocations: 7.312 kB / 0.6252 GB, free: 53.81 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01637/1.719, allocations: 6.92 MB / 0.632 GB, free: 47.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.403e-05/1.719, allocations: 20.06 kB / 0.632 GB, free: 47.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002207/1.722, allocations: 298 kB / 0.6323 GB, free: 47.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.115e-05/1.722, allocations: 31.7 kB / 0.6323 GB, free: 47.37 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001908/1.722, allocations: 48 kB / 0.6324 GB, free: 47.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.09e-05/1.722, allocations: 42.88 kB / 0.6324 GB, free: 47.29 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-05/1.722, allocations: 27.88 kB / 0.6324 GB, free: 47.26 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004769/1.727, allocations: 4.228 MB / 0.6366 GB, free: 42.69 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/1.728, allocations: 355.5 kB / 0.6369 GB, free: 42.34 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008516/1.729, allocations: 51.84 kB / 0.6369 GB, free: 42.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002414/1.731, allocations: 70.2 kB / 0.637 GB, free: 42.23 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004045/1.732, allocations: 155.5 kB / 0.6372 GB, free: 42.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000136/1.732, allocations: 59.94 kB / 0.6372 GB, free: 42.06 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004296/1.736, allocations: 1.759 MB / 0.6389 GB, free: 40.48 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.736, allocations: 0 / 0.6389 GB, free: 40.48 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005607/1.742, allocations: 0.7654 MB / 0.6397 GB, free: 39.72 MB / 458.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.006611/1.748, allocations: 9.54 MB / 0.649 GB, free: 29.79 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007423/1.756, allocations: 3.024 MB / 0.6519 GB, free: 27 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.035e-05/1.756, allocations: 64 / 0.652 GB, free: 27 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001918/1.758, allocations: 0.8526 MB / 0.6528 GB, free: 26.21 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/1.761, allocations: 311.1 kB / 0.6531 GB, free: 25.95 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02473/1.785, allocations: 7.937 MB / 0.6608 GB, free: 18.71 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006612/1.792, allocations: 3.026 MB / 0.6638 GB, free: 16.04 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003778/1.796, allocations: 1.608 MB / 0.6654 GB, free: 14.43 MB / 458.7 MB Notification: Performance of SimCode: time 1.433e-06/1.796, allocations: 4 kB / 0.6654 GB, free: 14.42 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.894/5.69, allocations: 64.1 MB / 0.728 GB, free: 124 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat