Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_JointSSR",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.162/3.162, allocations: 235.1 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.955e-05/2.966e-05, allocations: 0 / 299.5 MB, free: 216 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4478/0.4478, allocations: 54.86 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2167/0.6646, allocations: 99.3 MB / 453.7 MB, free: 11.76 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003578/0.665, allocations: 83.89 kB / 453.8 MB, free: 11.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6608/1.326, allocations: 55.07 MB / 0.4969 GB, free: 68.74 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.867e-06/1.326, allocations: 0 / 0.4969 GB, free: 68.74 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001674/1.326, allocations: 55.77 kB / 0.497 GB, free: 68.69 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: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.01209/1.338, allocations: 2.577 MB / 0.4995 GB, free: 66.06 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/1.338, allocations: 8.031 kB / 0.4995 GB, free: 66.05 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002003/1.34, allocations: 369.2 kB / 0.4999 GB, free: 65.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00556/1.346, allocations: 487.8 kB / 0.5003 GB, free: 65.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006519/1.352, allocations: 1.536 MB / 0.5018 GB, free: 63.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002354/1.353, allocations: 121.7 kB / 0.5019 GB, free: 63.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001524/1.354, allocations: 160 kB / 0.5021 GB, free: 63.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01318/1.368, allocations: 3.804 MB / 0.5058 GB, free: 59.53 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01671/1.384, allocations: 4.952 MB / 0.5107 GB, free: 54.28 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001535/1.384, allocations: 19.81 kB / 0.5107 GB, free: 54.26 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009525/1.385, allocations: 8 kB / 0.5107 GB, free: 54.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001699/1.387, allocations: 0.5203 MB / 0.5112 GB, free: 53.72 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04614/1.433, allocations: 20.04 MB / 0.5308 GB, free: 33.13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002418/1.436, allocations: 0.8385 MB / 0.5316 GB, free: 32.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/1.437, allocations: 0.6181 MB / 0.5322 GB, free: 31.65 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01067/1.448, allocations: 4.584 MB / 0.5367 GB, free: 26.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/1.448, allocations: 39.12 kB / 0.5367 GB, free: 26.67 MB / 394.7 MB Notification: Performance of pre-optimization done (n=64): time 5.25e-06/1.448, allocations: 0 / 0.5367 GB, free: 26.67 MB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.03301/1.481, allocations: 5.239 MB / 0.5418 GB, free: 21.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/1.481, allocations: 85.89 kB / 0.5419 GB, free: 21.31 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003123/1.484, allocations: 1.405 MB / 0.5433 GB, free: 19.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002101/1.485, allocations: 33.73 kB / 0.5433 GB, free: 19.86 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001331/1.486, allocations: 1.721 MB / 0.545 GB, free: 18.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004267/1.486, allocations: 331.6 kB / 0.5453 GB, free: 17.79 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/1.487, allocations: 0 / 0.5453 GB, free: 17.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002952/1.487, allocations: 476.6 kB / 0.5457 GB, free: 17.31 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002317/1.489, allocations: 0.8257 MB / 0.5466 GB, free: 16.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003226/1.492, allocations: 2.465 MB / 0.549 GB, free: 13.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006577/1.499, allocations: 1.534 MB / 0.5505 GB, free: 11.66 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.606e-05/1.499, allocations: 20 kB / 0.5505 GB, free: 11.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=366) (initialization): time 0.01299/1.512, allocations: 3.11 MB / 0.5535 GB, free: 8.523 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/1.512, allocations: 32 kB / 0.5535 GB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.261e-05/1.512, allocations: 60 kB / 0.5536 GB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001391/1.513, allocations: 84 kB / 0.5537 GB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006118/1.519, allocations: 0.7063 MB / 0.5544 GB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001142/1.519, allocations: 123.5 kB / 0.5545 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004063/1.523, allocations: 91.84 kB / 0.5546 GB, free: 7.434 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006771/1.524, allocations: 164 kB / 0.5547 GB, free: 7.273 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 266 * Number of states: 0 () * Number of discrete variables: 31 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.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 (366): * Single equations (assignments): 366 * 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 prepare postOptimizeDAE: time 0.000762/1.524, allocations: 278.6 kB / 0.555 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004781/1.525, allocations: 150 kB / 0.5551 GB, free: 6.844 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003805/1.529, allocations: 1.252 MB / 0.5564 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/1.529, allocations: 15.94 kB / 0.5564 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/1.529, allocations: 0 / 0.5564 GB, free: 5.559 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/1.529, allocations: 3.984 kB / 0.5564 GB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0131/1.542, allocations: 3.777 MB / 0.5601 GB, free: 1.656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/1.542, allocations: 8 kB / 0.5601 GB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00246/1.545, allocations: 203.7 kB / 0.5603 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.361e-05/1.545, allocations: 12 kB / 0.5603 GB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/1.545, allocations: 11.94 kB / 0.5603 GB, free: 1.426 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.42e-05/1.545, allocations: 12 kB / 0.5603 GB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/1.545, allocations: 7.938 kB / 0.5603 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003395/1.548, allocations: 1.587 MB / 0.5619 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006156/1.549, allocations: 231 kB / 0.5621 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003771/1.549, allocations: 11.98 kB / 0.5621 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/1.551, allocations: 43.88 kB / 0.5621 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/1.551, allocations: 60.39 kB / 0.5622 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/1.551, allocations: 27.98 kB / 0.5622 GB, free: 15.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002851/1.554, allocations: 0.9406 MB / 0.5631 GB, free: 14.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.022e-06/1.554, allocations: 8 kB / 0.5632 GB, free: 14.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004497/1.559, allocations: 459.9 kB / 0.5636 GB, free: 13.83 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 86 * 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.005502/1.564, allocations: 3.443 MB / 0.567 GB, free: 10.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006227/1.571, allocations: 1.888 MB / 0.5688 GB, free: 8.344 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/1.571, allocations: 4 kB / 0.5688 GB, free: 8.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001693/1.572, allocations: 0.5212 MB / 0.5693 GB, free: 7.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/1.574, allocations: 147.2 kB / 0.5695 GB, free: 7.676 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02016/1.594, allocations: 4.531 MB / 0.5739 GB, free: 3.027 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005509/1.6, allocations: 2.205 MB / 0.576 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005311/1.605, allocations: 0.7171 MB / 0.5767 GB, free: 68 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003676/1.609, allocations: 1.019 MB / 0.5777 GB, free: 15.04 MB / 426.7 MB Notification: Performance of SimCode: time 2.034e-06/1.609, allocations: 0 / 0.5777 GB, free: 15.04 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1731/1.782, allocations: 35.25 MB / 0.6121 GB, free: 11.83 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000368/1.782, allocations: 128.1 kB / 0.6123 GB, free: 11.64 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.691/6.473, allocations: 0 / 0.6123 GB, free: 11.64 MB / 458.7 MB