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 3.141/3.141, allocations: 235.2 MB / 242.3 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.234e-05/3.238e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4864/0.4865, allocations: 54.85 MB / 354.4 MB, free: 15.17 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.215/0.7015, allocations: 102.2 MB / 456.6 MB, free: 8.844 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/0.7019, allocations: 75.97 kB / 456.7 MB, free: 8.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8603/1.562, allocations: 72.04 MB / 0.5163 GB, free: 48.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.366e-06/1.562, allocations: 0 / 0.5163 GB, free: 48.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002725/1.563, allocations: 83.98 kB / 0.5164 GB, free: 48.89 MB / 394.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.01979/1.582, allocations: 4.09 MB / 0.5204 GB, free: 44.74 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.316e-05/1.582, allocations: 19.97 kB / 0.5204 GB, free: 44.72 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003309/1.586, allocations: 0.5328 MB / 0.5209 GB, free: 44.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009011/1.595, allocations: 0.7397 MB / 0.5216 GB, free: 43.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01105/1.606, allocations: 2.575 MB / 0.5242 GB, free: 40.81 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003382/1.606, allocations: 180.5 kB / 0.5243 GB, free: 40.63 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002232/1.609, allocations: 240 kB / 0.5246 GB, free: 40.39 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02468/1.633, allocations: 6.134 MB / 0.5306 GB, free: 34.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02629/1.66, allocations: 7.799 MB / 0.5382 GB, free: 26.08 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002033/1.66, allocations: 19.81 kB / 0.5382 GB, free: 26.06 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001948/1.662, allocations: 12 kB / 0.5382 GB, free: 26.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003344/1.665, allocations: 0.8629 MB / 0.539 GB, free: 25.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08815/1.754, allocations: 30.22 MB / 0.5686 GB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006941/1.761, allocations: 1.943 MB / 0.5705 GB, free: 8.316 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005277/1.766, allocations: 1.45 MB / 0.5719 GB, free: 6.859 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0358/1.802, allocations: 8.597 MB / 0.5803 GB, free: 13.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.434e-05/1.802, allocations: 51.34 kB / 0.5803 GB, free: 13.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 6.933e-06/1.802, allocations: 0 / 0.5803 GB, free: 13.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.05306/1.855, allocations: 8.045 MB / 0.5882 GB, free: 5.688 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.266e-05/1.855, allocations: 115.6 kB / 0.5883 GB, free: 5.551 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00643/1.862, allocations: 2.16 MB / 0.5904 GB, free: 3.367 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003111/1.862, allocations: 29.77 kB / 0.5904 GB, free: 3.332 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003293/1.865, allocations: 2.592 MB / 0.5929 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007775/1.866, allocations: 387.2 kB / 0.5933 GB, free: 328 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005359/1.867, allocations: 0 / 0.5933 GB, free: 328 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004829/1.867, allocations: 479 kB / 0.5938 GB, free: 15.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004349/1.871, allocations: 1.293 MB / 0.595 GB, free: 14.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007221/1.879, allocations: 3.722 MB / 0.5987 GB, free: 9.582 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00978/1.889, allocations: 2.246 MB / 0.6009 GB, free: 7.332 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001048/1.889, allocations: 24 kB / 0.6009 GB, free: 7.309 MB / 442.7 MB Notification: Performance of matching and sorting (n=536) (initialization): time 0.02064/1.909, allocations: 4.678 MB / 0.6055 GB, free: 2.625 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000123/1.91, allocations: 40 kB / 0.6055 GB, free: 2.586 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001861/1.91, allocations: 88 kB / 0.6056 GB, free: 2.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002726/1.91, allocations: 132.1 kB / 0.6057 GB, free: 2.371 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009549/1.92, allocations: 1.021 MB / 0.6067 GB, free: 1.348 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002409/1.92, allocations: 171.4 kB / 0.6069 GB, free: 1.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006353/1.926, allocations: 175.5 kB / 0.607 GB, free: 1.008 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/1.928, allocations: 256 kB / 0.6073 GB, free: 0.7578 MB / 442.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.001376/1.929, allocations: 340 kB / 0.6076 GB, free: 428 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008098/1.93, allocations: 221.2 kB / 0.6078 GB, free: 204 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006168/1.936, allocations: 1.707 MB / 0.6095 GB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.004e-05/1.936, allocations: 12 kB / 0.6095 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/1.936, allocations: 0 / 0.6095 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.67e-05/1.936, allocations: 3.984 kB / 0.6095 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02026/1.956, allocations: 5.597 MB / 0.615 GB, free: 8.551 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-05/1.956, allocations: 16 kB / 0.615 GB, free: 8.535 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002941/1.959, allocations: 263.5 kB / 0.6152 GB, free: 8.277 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.114e-05/1.96, allocations: 28 kB / 0.6153 GB, free: 8.25 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002228/1.96, allocations: 23.98 kB / 0.6153 GB, free: 8.227 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.617e-05/1.96, allocations: 39.81 kB / 0.6153 GB, free: 8.188 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.171e-05/1.96, allocations: 23.88 kB / 0.6153 GB, free: 8.164 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006805/1.967, allocations: 3.509 MB / 0.6188 GB, free: 3.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/1.968, allocations: 318.2 kB / 0.6191 GB, free: 3.578 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008347/1.969, allocations: 23.98 kB / 0.6191 GB, free: 3.555 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002641/1.972, allocations: 55.88 kB / 0.6191 GB, free: 3.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003757/1.972, allocations: 128.1 kB / 0.6193 GB, free: 3.375 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002041/1.972, allocations: 64 kB / 0.6193 GB, free: 3.312 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004308/1.977, allocations: 1.432 MB / 0.6207 GB, free: 1.867 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.21e-07/1.977, allocations: 0 / 0.6207 GB, free: 1.867 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006476/1.983, allocations: 0.6523 MB / 0.6214 GB, free: 1.215 MB / 458.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.4203/2.403, allocations: 8.583 MB / 0.6297 GB, free: 109 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009096/2.413, allocations: 2.861 MB / 0.6325 GB, free: 109 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.568e-05/2.413, allocations: 3.094 kB / 0.6325 GB, free: 109 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00225/2.415, allocations: 0.7624 MB / 0.6333 GB, free: 109 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002704/2.418, allocations: 218 kB / 0.6335 GB, free: 109 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02986/2.448, allocations: 7.231 MB / 0.6406 GB, free: 107.1 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008059/2.456, allocations: 3.018 MB / 0.6435 GB, free: 106.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006855/2.463, allocations: 1.027 MB / 0.6445 GB, free: 106.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00492/2.468, allocations: 1.574 MB / 0.646 GB, free: 106.3 MB / 458.7 MB Notification: Performance of SimCode: time 2.896e-06/2.468, allocations: 0 / 0.646 GB, free: 106.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1884/2.656, allocations: 51.17 MB / 0.696 GB, free: 81.32 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002926/2.657, allocations: 136.1 kB / 0.6961 GB, free: 81.13 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.5/8.157, allocations: 0 / 0.6961 GB, free: 81.13 MB / 458.7 MB