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.522/2.522, allocations: 235 MB / 247.1 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.274e-05/4.287e-05, allocations: 3.984 kB / 305 MB, free: 5.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4134, allocations: 54.85 MB / 359.9 MB, free: 2.699 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1926/0.606, allocations: 102.8 MB / 462.7 MB, free: 9.984 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003036/0.6064, allocations: 79.95 kB / 462.8 MB, free: 9.906 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7226/1.329, allocations: 73.59 MB / 0.5238 GB, free: 106.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.715e-06/1.329, allocations: 0 / 0.5238 GB, free: 106.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003396/1.329, allocations: 76 kB / 0.5239 GB, free: 106.3 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.01863/1.348, allocations: 4.085 MB / 0.5279 GB, free: 105.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/1.348, allocations: 9.625 kB / 0.5279 GB, free: 105.7 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003503/1.352, allocations: 0.7059 MB / 0.5286 GB, free: 105.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007808/1.36, allocations: 0.7458 MB / 0.5293 GB, free: 105.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01083/1.37, allocations: 2.569 MB / 0.5318 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005881/1.371, allocations: 318.2 kB / 0.5321 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002765/1.374, allocations: 413.6 kB / 0.5325 GB, free: 104.9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04738/1.421, allocations: 9.849 MB / 0.5421 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001846/1.422, allocations: 17.19 kB / 0.5421 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001237/1.423, allocations: 189.8 kB / 0.5423 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00351/1.426, allocations: 0.8617 MB / 0.5431 GB, free: 103.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03691/1.463, allocations: 8.364 MB / 0.5513 GB, free: 103.7 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06312/1.526, allocations: 31.85 MB / 0.5824 GB, free: 84.17 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01484/1.541, allocations: 3.004 MB / 0.5853 GB, free: 83.25 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00307/1.544, allocations: 1.537 MB / 0.5868 GB, free: 82.52 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01756/1.562, allocations: 8.982 MB / 0.5956 GB, free: 76.91 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/1.562, allocations: 39.09 kB / 0.5957 GB, free: 76.87 MB / 458.7 MB Notification: Performance of pre-optimization done (n=91): time 4.138e-06/1.562, allocations: 0 / 0.5957 GB, free: 76.87 MB / 458.7 MB Notification: Performance of matching and sorting (n=108): time 0.03869/1.601, allocations: 7.631 MB / 0.6031 GB, free: 73.97 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/1.601, allocations: 115.3 kB / 0.6032 GB, free: 73.84 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005655/1.607, allocations: 2.489 MB / 0.6056 GB, free: 72.84 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003537/1.607, allocations: 41.58 kB / 0.6057 GB, free: 72.8 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002019/1.609, allocations: 2.512 MB / 0.6081 GB, free: 70.83 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006261/1.61, allocations: 427.7 kB / 0.6085 GB, free: 70.46 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004234/1.61, allocations: 83.94 kB / 0.6086 GB, free: 70.38 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002613/1.61, allocations: 481.9 kB / 0.6091 GB, free: 69.95 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003479/1.614, allocations: 1.405 MB / 0.6105 GB, free: 68.65 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004916/1.619, allocations: 3.717 MB / 0.6141 GB, free: 64.01 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004925/1.624, allocations: 2.209 MB / 0.6162 GB, free: 62.12 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.273e-05/1.624, allocations: 24 kB / 0.6163 GB, free: 62.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=523) (initialization): time 0.01311/1.637, allocations: 5.094 MB / 0.6212 GB, free: 57.51 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.149e-05/1.637, allocations: 40 kB / 0.6213 GB, free: 57.47 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001257/1.637, allocations: 84 kB / 0.6214 GB, free: 57.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001399/1.638, allocations: 120 kB / 0.6215 GB, free: 57.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006516/1.644, allocations: 0.9973 MB / 0.6225 GB, free: 56.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000165/1.644, allocations: 165.9 kB / 0.6226 GB, free: 56.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004883/1.649, allocations: 240.7 kB / 0.6228 GB, free: 56.06 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008366/1.65, allocations: 240.9 kB / 0.6231 GB, free: 55.83 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.0007884/1.651, allocations: 439.3 kB / 0.6235 GB, free: 55.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006344/1.652, allocations: 236.9 kB / 0.6237 GB, free: 55.16 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004734/1.656, allocations: 2.037 MB / 0.6257 GB, free: 53.39 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/1.656, allocations: 12 kB / 0.6257 GB, free: 53.38 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/1.656, allocations: 4 kB / 0.6257 GB, free: 53.38 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.916e-05/1.656, allocations: 7.781 kB / 0.6257 GB, free: 53.38 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01696/1.673, allocations: 6.961 MB / 0.6325 GB, free: 47.19 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.497e-05/1.673, allocations: 16 kB / 0.6325 GB, free: 47.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002115/1.676, allocations: 301.6 kB / 0.6328 GB, free: 46.92 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-05/1.676, allocations: 28 kB / 0.6329 GB, free: 46.89 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/1.676, allocations: 52.59 kB / 0.6329 GB, free: 46.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.023e-05/1.676, allocations: 38.58 kB / 0.6329 GB, free: 46.81 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.926e-05/1.676, allocations: 35.06 kB / 0.633 GB, free: 46.78 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004821/1.681, allocations: 4.225 MB / 0.6371 GB, free: 42.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/1.682, allocations: 355.3 kB / 0.6374 GB, free: 41.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005339/1.682, allocations: 55.47 kB / 0.6375 GB, free: 41.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001962/1.684, allocations: 72.45 kB / 0.6376 GB, free: 41.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002699/1.685, allocations: 152.9 kB / 0.6377 GB, free: 41.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/1.685, allocations: 67.89 kB / 0.6378 GB, free: 41.57 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004135/1.689, allocations: 1.754 MB / 0.6395 GB, free: 40 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.82e-07/1.689, allocations: 0 / 0.6395 GB, free: 40 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005267/1.694, allocations: 0.7703 MB / 0.6402 GB, free: 39.23 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.006243/1.701, allocations: 9.532 MB / 0.6495 GB, free: 29.31 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007003/1.708, allocations: 3.158 MB / 0.6526 GB, free: 26.39 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.795e-05/1.708, allocations: 8.125 kB / 0.6526 GB, free: 26.38 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001935/1.71, allocations: 0.8724 MB / 0.6535 GB, free: 25.57 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/1.712, allocations: 318.5 kB / 0.6538 GB, free: 25.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02236/1.734, allocations: 7.51 MB / 0.6611 GB, free: 18.42 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006358/1.741, allocations: 3.026 MB / 0.6641 GB, free: 15.74 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005277/1.746, allocations: 1.041 MB / 0.6651 GB, free: 14.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00383/1.75, allocations: 1.585 MB / 0.6666 GB, free: 13.12 MB / 458.7 MB Notification: Performance of SimCode: time 1.753e-06/1.75, allocations: 0 / 0.6666 GB, free: 13.12 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4944/2.245, allocations: 56.93 MB / 0.7222 GB, free: 115.6 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003055/2.245, allocations: 148 kB / 0.7224 GB, free: 115.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.284/6.529, allocations: 0 / 0.7224 GB, free: 115.4 MB / 490.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