Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointRRR,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_JointRRR",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.914/2.914, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.125e-05/3.142e-05, allocations: 4 kB / 299.6 MB, free: 6.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4344/0.4345, allocations: 54.87 MB / 354.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2203/0.6548, allocations: 102.2 MB / 456.6 MB, free: 11.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004344/0.6553, allocations: 83.94 kB / 456.7 MB, free: 11.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7154/1.371, allocations: 71.77 MB / 0.5161 GB, free: 101.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.236e-06/1.371, allocations: 0 / 0.5161 GB, free: 101.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002402/1.371, allocations: 73.03 kB / 0.5161 GB, free: 101.6 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.02335/1.394, allocations: 4.086 MB / 0.5201 GB, free: 99.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.373e-05/1.395, allocations: 9.5 kB / 0.5201 GB, free: 99.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01253/1.407, allocations: 0.7455 MB / 0.5209 GB, free: 99.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01605/1.423, allocations: 2.575 MB / 0.5234 GB, free: 98.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004917/1.424, allocations: 135.3 kB / 0.5235 GB, free: 98.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003109/1.427, allocations: 240.9 kB / 0.5237 GB, free: 98.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02726/1.454, allocations: 6.14 MB / 0.5297 GB, free: 95.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03554/1.49, allocations: 7.803 MB / 0.5374 GB, free: 89.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002477/1.49, allocations: 15.88 kB / 0.5374 GB, free: 89.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002504/1.493, allocations: 8 kB / 0.5374 GB, free: 89.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004335/1.497, allocations: 0.8651 MB / 0.5382 GB, free: 88.85 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06737/1.565, allocations: 30.24 MB / 0.5678 GB, free: 58.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00444/1.569, allocations: 1.947 MB / 0.5697 GB, free: 56.17 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002884/1.572, allocations: 1.448 MB / 0.5711 GB, free: 54.72 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0185/1.591, allocations: 8.591 MB / 0.5795 GB, free: 45.74 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/1.591, allocations: 39.34 kB / 0.5795 GB, free: 45.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 5.029e-06/1.591, allocations: 4 kB / 0.5795 GB, free: 45.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.03328/1.624, allocations: 8.049 MB / 0.5874 GB, free: 37.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/1.624, allocations: 115.6 kB / 0.5875 GB, free: 37.47 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005181/1.629, allocations: 2.156 MB / 0.5896 GB, free: 35.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003027/1.63, allocations: 25.7 kB / 0.5896 GB, free: 35.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002224/1.632, allocations: 2.592 MB / 0.5921 GB, free: 32.63 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006105/1.633, allocations: 391 kB / 0.5925 GB, free: 32.24 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005707/1.633, allocations: 4.062 kB / 0.5925 GB, free: 32.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003116/1.633, allocations: 483 kB / 0.593 GB, free: 31.76 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003533/1.637, allocations: 1.293 MB / 0.5942 GB, free: 30.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005359/1.642, allocations: 3.718 MB / 0.5979 GB, free: 25.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007994/1.65, allocations: 2.25 MB / 0.6001 GB, free: 23.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.784e-05/1.651, allocations: 24 kB / 0.6001 GB, free: 23.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=536) (initialization): time 0.01636/1.667, allocations: 4.673 MB / 0.6047 GB, free: 18.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001281/1.667, allocations: 46.19 kB / 0.6047 GB, free: 18.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000131/1.667, allocations: 88 kB / 0.6048 GB, free: 18.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000173/1.667, allocations: 132 kB / 0.6049 GB, free: 18.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008204/1.676, allocations: 1.022 MB / 0.6059 GB, free: 17.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001651/1.676, allocations: 171.4 kB / 0.6061 GB, free: 17.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005749/1.682, allocations: 163.5 kB / 0.6062 GB, free: 16.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001004/1.683, allocations: 256 kB / 0.6065 GB, free: 16.69 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.0009661/1.684, allocations: 348 kB / 0.6068 GB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003944/1.688, allocations: 1.536 MB / 0.6083 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006894/1.688, allocations: 213.2 kB / 0.6085 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004518/1.693, allocations: 1.711 MB / 0.6102 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/1.693, allocations: 8 kB / 0.6102 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/1.693, allocations: 0 / 0.6102 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/1.693, allocations: 11.92 kB / 0.6102 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/1.708, allocations: 5.589 MB / 0.6157 GB, free: 6.965 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-05/1.708, allocations: 16 kB / 0.6157 GB, free: 6.949 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002384/1.711, allocations: 267.5 kB / 0.6159 GB, free: 6.688 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.124e-05/1.711, allocations: 24 kB / 0.6159 GB, free: 6.664 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001934/1.711, allocations: 27.95 kB / 0.616 GB, free: 6.637 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.551e-05/1.711, allocations: 31.92 kB / 0.616 GB, free: 6.605 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.238e-05/1.711, allocations: 27.88 kB / 0.616 GB, free: 6.578 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004536/1.716, allocations: 3.505 MB / 0.6195 GB, free: 2.324 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009587/1.717, allocations: 322.1 kB / 0.6198 GB, free: 1.988 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006365/1.717, allocations: 23.98 kB / 0.6198 GB, free: 1.965 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002245/1.72, allocations: 47.94 kB / 0.6198 GB, free: 1.918 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003684/1.72, allocations: 140.1 kB / 0.62 GB, free: 1.781 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/1.72, allocations: 55.98 kB / 0.62 GB, free: 1.727 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003467/1.724, allocations: 1.432 MB / 0.6214 GB, free: 288 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.072e-06/1.724, allocations: 4 kB / 0.6214 GB, free: 284 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.00637/1.73, allocations: 0.664 MB / 0.6221 GB, free: 15.61 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.009193/1.739, allocations: 8.576 MB / 0.6304 GB, free: 6.516 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008285/1.748, allocations: 2.861 MB / 0.6332 GB, free: 3.676 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.16e-05/1.748, allocations: 4 kB / 0.6332 GB, free: 3.672 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002151/1.75, allocations: 0.7621 MB / 0.634 GB, free: 2.91 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/1.752, allocations: 236.6 kB / 0.6342 GB, free: 2.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02919/1.782, allocations: 7.228 MB / 0.6413 GB, free: 11.18 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008408/1.79, allocations: 3.021 MB / 0.6442 GB, free: 8.125 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0069/1.797, allocations: 1.02 MB / 0.6452 GB, free: 7.102 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005028/1.802, allocations: 1.577 MB / 0.6468 GB, free: 5.523 MB / 458.7 MB Notification: Performance of SimCode: time 2.204e-06/1.802, allocations: 0 / 0.6468 GB, free: 5.523 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5795/2.382, allocations: 50.33 MB / 0.6959 GB, free: 130.6 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002802/2.382, allocations: 136 kB / 0.696 GB, free: 130.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.486/6.868, allocations: 0 / 0.696 GB, free: 130.5 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.JointRRR_res.mat does not exist to compare? outputFormat=mat