Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRP,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_JointRRP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.636/2.636, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.573e-05/4.597e-05, allocations: 4 kB / 323.5 MB, free: 4.227 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4079, allocations: 58.83 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2586/0.6666, allocations: 109.7 MB / 492 MB, free: 14.71 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/0.6669, allocations: 75.91 kB / 492 MB, free: 14.63 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6203/1.287, allocations: 72.7 MB / 0.5515 GB, free: 110.6 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.625e-06/1.287, allocations: 4 kB / 0.5515 GB, free: 110.6 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0002378/1.288, allocations: 82.59 kB / 0.5516 GB, free: 110.6 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1380 * Number of variables: 1380 Notification: Performance of Generate backend data structure: time 0.01597/1.304, allocations: 3.887 MB / 0.5554 GB, free: 109 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/1.304, allocations: 10.66 kB / 0.5554 GB, free: 109 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003302/1.307, allocations: 0.7063 MB / 0.5561 GB, free: 108.9 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006821/1.314, allocations: 0.7216 MB / 0.5568 GB, free: 108.7 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009307/1.323, allocations: 2.595 MB / 0.5593 GB, free: 107.8 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003964/1.324, allocations: 323.9 kB / 0.5596 GB, free: 107.7 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002131/1.326, allocations: 423.8 kB / 0.56 GB, free: 107.5 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03094/1.357, allocations: 9.029 MB / 0.5688 GB, free: 103.4 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002081/1.357, allocations: 19.81 kB / 0.5689 GB, free: 103.4 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002302/1.359, allocations: 185.8 kB / 0.569 GB, free: 103.3 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00318/1.363, allocations: 0.8072 MB / 0.5698 GB, free: 102.6 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03316/1.396, allocations: 7.08 MB / 0.5767 GB, free: 96.4 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06949/1.465, allocations: 29.77 MB / 0.6058 GB, free: 67.31 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01074/1.476, allocations: 2.104 MB / 0.6079 GB, free: 65.16 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002058/1.478, allocations: 0.9202 MB / 0.6088 GB, free: 64.23 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01302/1.491, allocations: 6.754 MB / 0.6154 GB, free: 56.98 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/1.491, allocations: 51.06 kB / 0.6154 GB, free: 56.92 MB / 458.8 MB Notification: Performance of pre-optimization done (n=80): time 4.008e-06/1.491, allocations: 0 / 0.6154 GB, free: 56.92 MB / 458.8 MB Notification: Performance of matching and sorting (n=98): time 0.02823/1.52, allocations: 6.894 MB / 0.6221 GB, free: 49.96 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/1.52, allocations: 167 kB / 0.6223 GB, free: 49.77 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00474/1.525, allocations: 2.392 MB / 0.6246 GB, free: 47.36 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002504/1.525, allocations: 45.22 kB / 0.6247 GB, free: 47.31 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001916/1.527, allocations: 2.533 MB / 0.6272 GB, free: 44.77 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005555/1.527, allocations: 397.7 kB / 0.6275 GB, free: 44.39 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004083/1.528, allocations: 80 kB / 0.6276 GB, free: 44.31 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.000243/1.528, allocations: 470.5 kB / 0.6281 GB, free: 43.85 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002594/1.531, allocations: 1.058 MB / 0.6291 GB, free: 42.79 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004187/1.535, allocations: 3.38 MB / 0.6324 GB, free: 38.25 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003919/1.539, allocations: 1.852 MB / 0.6342 GB, free: 36.39 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.256e-05/1.539, allocations: 24 kB / 0.6342 GB, free: 36.37 MB / 458.8 MB Notification: Performance of matching and sorting (n=506) (initialization): time 0.01058/1.55, allocations: 4.137 MB / 0.6383 GB, free: 32.23 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.108e-05/1.55, allocations: 42.34 kB / 0.6383 GB, free: 32.19 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.805e-05/1.55, allocations: 91.91 kB / 0.6384 GB, free: 32.1 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000143/1.55, allocations: 120 kB / 0.6385 GB, free: 31.98 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005829/1.556, allocations: 0.9475 MB / 0.6394 GB, free: 31.04 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001583/1.556, allocations: 167.4 kB / 0.6396 GB, free: 30.87 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004333/1.56, allocations: 211.5 kB / 0.6398 GB, free: 30.66 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000799/1.561, allocations: 240 kB / 0.64 GB, free: 30.43 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 379 * Number of states: 0 () * Number of discrete variables: 46 (jointRRP.jointUSP.prismatic.positiveBranch,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],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (504): * Single equations (assignments): 503 * 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.0007021/1.562, allocations: 425.7 kB / 0.6404 GB, free: 30.01 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005732/1.562, allocations: 240.9 kB / 0.6407 GB, free: 29.77 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002617/1.565, allocations: 1.161 MB / 0.6418 GB, free: 28.59 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/1.565, allocations: 12 kB / 0.6418 GB, free: 28.58 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/1.565, allocations: 3.969 kB / 0.6418 GB, free: 28.58 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/1.565, allocations: 15.97 kB / 0.6418 GB, free: 28.57 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/1.58, allocations: 6.736 MB / 0.6484 GB, free: 21.46 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.759e-05/1.58, allocations: 20 kB / 0.6484 GB, free: 21.45 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001906/1.582, allocations: 287.5 kB / 0.6487 GB, free: 21.16 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.35e-05/1.582, allocations: 36 kB / 0.6487 GB, free: 21.13 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001326/1.583, allocations: 51.98 kB / 0.6488 GB, free: 21.08 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.433e-05/1.583, allocations: 47.8 kB / 0.6488 GB, free: 21.03 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-05/1.583, allocations: 32.28 kB / 0.6489 GB, free: 21 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004277/1.587, allocations: 4.593 MB / 0.6533 GB, free: 15.76 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009762/1.588, allocations: 361.6 kB / 0.6537 GB, free: 15.38 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005151/1.589, allocations: 51.98 kB / 0.6537 GB, free: 15.33 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001929/1.591, allocations: 63.97 kB / 0.6538 GB, free: 15.27 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002469/1.591, allocations: 171.3 kB / 0.654 GB, free: 15.1 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/1.591, allocations: 68 kB / 0.654 GB, free: 15.04 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003803/1.595, allocations: 1.758 MB / 0.6557 GB, free: 13.27 MB / 458.8 MB Notification: Performance of sort global known variables: time 7.41e-07/1.595, allocations: 0 / 0.6557 GB, free: 13.27 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.005242/1.6, allocations: 0.7148 MB / 0.6564 GB, free: 12.55 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 147 * 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.005708/1.606, allocations: 10.98 MB / 0.6672 GB, free: 0.8789 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.006166/1.612, allocations: 2.429 MB / 0.6695 GB, free: 14.47 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.069e-05/1.612, allocations: 0 / 0.6695 GB, free: 14.47 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001792/1.614, allocations: 0.6805 MB / 0.6702 GB, free: 13.79 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002787/1.617, allocations: 335.6 kB / 0.6705 GB, free: 13.47 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02667/1.643, allocations: 7.423 MB / 0.6778 GB, free: 5.684 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007454/1.651, allocations: 3.045 MB / 0.6807 GB, free: 2.605 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.005637/1.657, allocations: 1.057 MB / 0.6818 GB, free: 1.547 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00391/1.661, allocations: 1.601 MB / 0.6833 GB, free: 15.94 MB / 490.8 MB Notification: Performance of SimCode: time 1.563e-06/1.661, allocations: 0 / 0.6833 GB, free: 15.94 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5099/2.171, allocations: 53.76 MB / 0.7358 GB, free: 141.3 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001432/2.171, allocations: 145.6 kB / 0.736 GB, free: 141.1 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.005/6.176, allocations: 3.938 kB / 0.736 GB, free: 141.1 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointRRP_res.mat does not exist to compare? outputFormat=mat