Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.26/3.26, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.488e-05/3.507e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4508/0.4509, allocations: 54.85 MB / 354.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2389/0.6898, allocations: 98.29 MB / 452.7 MB, free: 12.85 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004026/0.6903, allocations: 79.89 kB / 452.8 MB, free: 12.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9843/1.675, allocations: 89.29 MB / 0.5294 GB, free: 34.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.558e-06/1.675, allocations: 4 kB / 0.5294 GB, free: 34.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002364/1.675, allocations: 79.94 kB / 0.5294 GB, free: 34.81 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: 1681 * Number of variables: 1681 Notification: Performance of Generate backend data structure: time 0.01761/1.693, allocations: 3.962 MB / 0.5333 GB, free: 30.78 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/1.693, allocations: 12.03 kB / 0.5333 GB, free: 30.77 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004143/1.697, allocations: 0.6614 MB / 0.534 GB, free: 30.1 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0343/1.731, allocations: 3.547 MB / 0.5374 GB, free: 26.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02051/1.752, allocations: 4.417 MB / 0.5417 GB, free: 22.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004916/1.752, allocations: 184.6 kB / 0.5419 GB, free: 21.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003491/1.756, allocations: 251.9 kB / 0.5422 GB, free: 21.64 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02851/1.784, allocations: 7.683 MB / 0.5497 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04047/1.825, allocations: 10.04 MB / 0.5595 GB, free: 3.441 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002961/1.825, allocations: 31.66 kB / 0.5595 GB, free: 3.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001692/1.827, allocations: 16 kB / 0.5595 GB, free: 3.395 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004489/1.831, allocations: 1.251 MB / 0.5607 GB, free: 2.141 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1162/1.948, allocations: 35.15 MB / 0.5951 GB, free: 14.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01146/1.959, allocations: 4.357 MB / 0.5993 GB, free: 9.695 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007117/1.966, allocations: 2.334 MB / 0.6016 GB, free: 7.359 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002554/1.969, allocations: 1.327 MB / 0.6029 GB, free: 5.812 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.124e-05/1.969, allocations: 64.58 kB / 0.6029 GB, free: 5.738 MB / 442.7 MB Notification: Performance of pre-optimization done (n=244): time 9.859e-06/1.969, allocations: 0 / 0.6029 GB, free: 5.738 MB / 442.7 MB Notification: Performance of matching and sorting (n=256): time 0.0691/2.038, allocations: 15.7 MB / 0.6183 GB, free: 5.934 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.1e-05/2.038, allocations: 73.41 kB / 0.6184 GB, free: 5.852 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006409/2.045, allocations: 2.307 MB / 0.6206 GB, free: 3.531 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006239/2.045, allocations: 33.64 kB / 0.6206 GB, free: 3.492 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003799/2.049, allocations: 2.93 MB / 0.6235 GB, free: 0.5195 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.4311/2.48, allocations: 0.8958 MB / 0.6244 GB, free: 112.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000823/2.481, allocations: 1.812 kB / 0.6244 GB, free: 112.4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007332/2.482, allocations: 0.5578 MB / 0.6249 GB, free: 112.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008183/2.49, allocations: 2.233 MB / 0.6271 GB, free: 112.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009886/2.5, allocations: 5.409 MB / 0.6324 GB, free: 108 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009342/2.51, allocations: 3.508 MB / 0.6358 GB, free: 108 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001474/2.51, allocations: 36.28 kB / 0.6358 GB, free: 108 MB / 458.7 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.05773/2.568, allocations: 7.833 MB / 0.6435 GB, free: 107.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001688/2.568, allocations: 52.25 kB / 0.6435 GB, free: 107.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004596/2.572, allocations: 114.1 kB / 0.6437 GB, free: 107.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.014/2.586, allocations: 0.959 MB / 0.6446 GB, free: 107.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01632/2.603, allocations: 1.32 MB / 0.6459 GB, free: 107.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01894/2.622, allocations: 4.559 MB / 0.6503 GB, free: 106.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0112/2.633, allocations: 197.9 kB / 0.6505 GB, free: 106.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001997/2.635, allocations: 334.6 kB / 0.6508 GB, free: 106.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 514 * Number of states: 0 () * Number of discrete variables: 30 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.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 (708): * Single equations (assignments): 701 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00238/2.638, allocations: 399.1 kB / 0.6512 GB, free: 105.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00122/2.639, allocations: 276.1 kB / 0.6515 GB, free: 105.9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02412/2.663, allocations: 4.947 MB / 0.6563 GB, free: 105.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001794/2.663, allocations: 43.47 kB / 0.6564 GB, free: 105.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.398e-05/2.663, allocations: 7.047 kB / 0.6564 GB, free: 105.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-05/2.663, allocations: 7.266 kB / 0.6564 GB, free: 105.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03872/2.702, allocations: 10.82 MB / 0.6669 GB, free: 102.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.32e-05/2.702, allocations: 11.78 kB / 0.6669 GB, free: 102.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005103/2.707, allocations: 407.3 kB / 0.6673 GB, free: 102.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007086/2.714, allocations: 0.7647 MB / 0.6681 GB, free: 102.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006352/2.715, allocations: 16.25 kB / 0.6681 GB, free: 102.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01333/2.728, allocations: 3.861 MB / 0.6719 GB, free: 100.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.476e-05/2.729, allocations: 15.75 kB / 0.6719 GB, free: 100.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03017/2.759, allocations: 8.314 MB / 0.68 GB, free: 95.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003765/2.763, allocations: 0.6731 MB / 0.6807 GB, free: 94.61 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001136/2.764, allocations: 20 kB / 0.6807 GB, free: 94.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004465/2.768, allocations: 114.5 kB / 0.6808 GB, free: 94.53 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008705/2.769, allocations: 159.5 kB / 0.6809 GB, free: 94.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005109/2.77, allocations: 72 kB / 0.681 GB, free: 94.35 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005345/2.775, allocations: 1.515 MB / 0.6825 GB, free: 93.04 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.62e-07/2.775, allocations: 0 / 0.6825 GB, free: 93.04 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01467/2.79, allocations: 0.8739 MB / 0.6833 GB, free: 92.17 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 191 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02557/2.815, allocations: 11.62 MB / 0.6947 GB, free: 81.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01575/2.831, allocations: 5.43 MB / 0.7 GB, free: 76.36 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.025e-05/2.831, allocations: 0 / 0.7 GB, free: 76.36 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00622/2.837, allocations: 2.079 MB / 0.702 GB, free: 74.48 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002961/2.84, allocations: 242.2 kB / 0.7023 GB, free: 74.27 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03954/2.88, allocations: 9.889 MB / 0.7119 GB, free: 65.54 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008091/2.888, allocations: 3.517 MB / 0.7153 GB, free: 62.84 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01083/2.899, allocations: 2.102 MB / 0.7174 GB, free: 61.49 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005502/2.905, allocations: 1.903 MB / 0.7193 GB, free: 59.74 MB / 458.7 MB Notification: Performance of SimCode: time 2.144e-06/2.905, allocations: 0 / 0.7193 GB, free: 59.74 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2633/3.168, allocations: 67.31 MB / 0.785 GB, free: 11.47 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003764/3.169, allocations: 131.8 kB / 0.7851 GB, free: 11.28 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.987/9.156, allocations: 0 / 0.7851 GB, free: 11.28 MB / 474.7 MB