Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.425/2.425, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.958e-05/2.971e-05, allocations: 4 kB / 299.5 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4032, allocations: 54.86 MB / 354.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1935/0.5967, allocations: 102.2 MB / 456.5 MB, free: 12.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/0.5971, allocations: 83.95 kB / 456.6 MB, free: 11.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.655/1.252, allocations: 71.77 MB / 0.516 GB, free: 101.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.484e-06/1.252, allocations: 0 / 0.516 GB, free: 101.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002755/1.253, allocations: 77.12 kB / 0.516 GB, free: 101.7 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.02001/1.273, allocations: 4.08 MB / 0.52 GB, free: 99.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/1.273, allocations: 9.531 kB / 0.52 GB, free: 99.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007518/1.28, allocations: 0.7474 MB / 0.5208 GB, free: 99.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009333/1.29, allocations: 2.581 MB / 0.5233 GB, free: 98.31 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002898/1.29, allocations: 137 kB / 0.5234 GB, free: 98.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002197/1.292, allocations: 239.3 kB / 0.5236 GB, free: 98.31 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01546/1.308, allocations: 6.136 MB / 0.5296 GB, free: 95.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02109/1.329, allocations: 7.804 MB / 0.5373 GB, free: 89.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001228/1.329, allocations: 19.19 kB / 0.5373 GB, free: 89.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000745/1.33, allocations: 11.94 kB / 0.5373 GB, free: 89.67 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002338/1.332, allocations: 0.8684 MB / 0.5381 GB, free: 88.92 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.087/1.419, allocations: 30.22 MB / 0.5677 GB, free: 58.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005836/1.425, allocations: 1.951 MB / 0.5696 GB, free: 56.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003434/1.428, allocations: 1.448 MB / 0.571 GB, free: 54.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01677/1.445, allocations: 8.587 MB / 0.5794 GB, free: 45.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/1.445, allocations: 47.34 kB / 0.5794 GB, free: 45.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 4.258e-06/1.445, allocations: 0 / 0.5794 GB, free: 45.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.02891/1.474, allocations: 8.045 MB / 0.5873 GB, free: 37.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/1.474, allocations: 115.6 kB / 0.5874 GB, free: 37.55 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004375/1.479, allocations: 2.16 MB / 0.5895 GB, free: 35.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002786/1.479, allocations: 25.7 kB / 0.5895 GB, free: 35.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001761/1.481, allocations: 2.592 MB / 0.592 GB, free: 32.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005179/1.481, allocations: 391.2 kB / 0.5924 GB, free: 32.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003456/1.482, allocations: 0 / 0.5924 GB, free: 32.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002585/1.482, allocations: 483 kB / 0.5929 GB, free: 31.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002722/1.485, allocations: 1.297 MB / 0.5941 GB, free: 30.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003973/1.489, allocations: 3.718 MB / 0.5978 GB, free: 25.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007019/1.496, allocations: 2.254 MB / 0.6 GB, free: 23.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.364e-05/1.496, allocations: 24 kB / 0.6 GB, free: 23.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=536) (initialization): time 0.01453/1.511, allocations: 4.669 MB / 0.6046 GB, free: 18.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.953e-05/1.511, allocations: 44 kB / 0.6046 GB, free: 18.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001206/1.511, allocations: 88.84 kB / 0.6047 GB, free: 18.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000149/1.511, allocations: 132 kB / 0.6048 GB, free: 18.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00675/1.518, allocations: 1.022 MB / 0.6058 GB, free: 17.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001419/1.518, allocations: 175.3 kB / 0.606 GB, free: 17.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005154/1.523, allocations: 163.5 kB / 0.6061 GB, free: 17.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001002/1.524, allocations: 256 kB / 0.6064 GB, free: 16.77 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 397 * 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 (534): * Single equations (assignments): 533 * 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.0007987/1.525, allocations: 348 kB / 0.6067 GB, free: 16.42 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003607/1.529, allocations: 1.536 MB / 0.6082 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005831/1.529, allocations: 213.2 kB / 0.6084 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003865/1.533, allocations: 1.711 MB / 0.6101 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/1.533, allocations: 8 kB / 0.6101 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/1.533, allocations: 0 / 0.6101 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/1.533, allocations: 12.05 kB / 0.6101 GB, free: 12.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/1.546, allocations: 5.584 MB / 0.6155 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.302e-05/1.546, allocations: 16 kB / 0.6156 GB, free: 7.031 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001995/1.548, allocations: 267.5 kB / 0.6158 GB, free: 6.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.814e-05/1.548, allocations: 24 kB / 0.6158 GB, free: 6.746 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/1.548, allocations: 27.89 kB / 0.6159 GB, free: 6.719 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.76e-05/1.549, allocations: 35.86 kB / 0.6159 GB, free: 6.684 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.85e-05/1.549, allocations: 23.94 kB / 0.6159 GB, free: 6.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004086/1.553, allocations: 3.509 MB / 0.6194 GB, free: 2.402 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009767/1.554, allocations: 322.1 kB / 0.6197 GB, free: 2.066 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005411/1.554, allocations: 27.97 kB / 0.6197 GB, free: 2.039 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001941/1.556, allocations: 51.94 kB / 0.6197 GB, free: 1.988 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003303/1.557, allocations: 132.1 kB / 0.6199 GB, free: 1.859 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/1.557, allocations: 59.98 kB / 0.6199 GB, free: 1.801 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003133/1.56, allocations: 1.432 MB / 0.6213 GB, free: 364 kB / 426.7 MB Notification: Performance of sort global known variables: time 8.52e-07/1.56, allocations: 0 / 0.6213 GB, free: 364 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.00592/1.566, allocations: 0.664 MB / 0.622 GB, free: 15.69 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 142 * 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.008743/1.575, allocations: 8.573 MB / 0.6303 GB, free: 6.598 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007409/1.582, allocations: 2.861 MB / 0.6331 GB, free: 3.758 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.371e-05/1.582, allocations: 4.312 kB / 0.6331 GB, free: 3.754 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001932/1.584, allocations: 0.7669 MB / 0.6339 GB, free: 2.988 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/1.586, allocations: 231.8 kB / 0.6341 GB, free: 2.766 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02674/1.613, allocations: 7.225 MB / 0.6412 GB, free: 11.27 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007678/1.621, allocations: 3.021 MB / 0.6441 GB, free: 8.219 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005984/1.627, allocations: 1.017 MB / 0.6451 GB, free: 7.195 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004465/1.632, allocations: 1.573 MB / 0.6466 GB, free: 5.621 MB / 458.7 MB Notification: Performance of SimCode: time 1.443e-06/1.632, allocations: 0 / 0.6466 GB, free: 5.621 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4706/2.102, allocations: 50.33 MB / 0.6958 GB, free: 130.7 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/2.102, allocations: 133.3 kB / 0.6959 GB, free: 130.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.934/6.037, allocations: 0 / 0.6959 GB, free: 130.5 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat