Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_FreeMotion2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.306/3.306, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.413e-05/3.429e-05, allocations: 4 kB / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5045/0.5046, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2389/0.7435, allocations: 102.1 MB / 456.6 MB, free: 8.891 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003433/0.7439, allocations: 71.97 kB / 456.6 MB, free: 8.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.055/1.799, allocations: 116.2 MB / 0.5594 GB, free: 4.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.695e-06/1.799, allocations: 0 / 0.5594 GB, free: 4.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004927/1.8, allocations: 127.9 kB / 0.5595 GB, free: 4.605 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: 2027 * Number of variables: 2027 Notification: Performance of Generate backend data structure: time 0.03152/1.831, allocations: 5.934 MB / 0.5653 GB, free: 14.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.539e-05/1.831, allocations: 12.03 kB / 0.5653 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005563/1.837, allocations: 0.7833 MB / 0.5661 GB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0743/1.911, allocations: 7 MB / 0.5729 GB, free: 6.777 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0411/1.952, allocations: 7.791 MB / 0.5806 GB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006684/1.953, allocations: 247.7 kB / 0.5808 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003867/1.957, allocations: 343.8 kB / 0.5811 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0307/1.988, allocations: 8.207 MB / 0.5891 GB, free: 6.113 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04642/2.034, allocations: 12.41 MB / 0.6012 GB, free: 8.527 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006134/2.035, allocations: 87.23 kB / 0.6013 GB, free: 8.441 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003126/2.038, allocations: 39.98 kB / 0.6014 GB, free: 8.402 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004591/2.043, allocations: 1.314 MB / 0.6027 GB, free: 7.082 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6308/2.674, allocations: 59.41 MB / 0.6607 GB, free: 52.73 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01335/2.687, allocations: 4.883 MB / 0.6654 GB, free: 52.06 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008538/2.696, allocations: 3.218 MB / 0.6686 GB, free: 52.02 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001435/2.697, allocations: 0.6956 MB / 0.6693 GB, free: 51.45 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.033e-05/2.697, allocations: 60.19 kB / 0.6693 GB, free: 51.41 MB / 458.7 MB Notification: Performance of pre-optimization done (n=254): time 1.069e-05/2.697, allocations: 0 / 0.6693 GB, free: 51.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=321): time 0.1662/2.863, allocations: 29.91 MB / 0.6985 GB, free: 46.05 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/2.864, allocations: 268.2 kB / 0.6988 GB, free: 45.77 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01234/2.876, allocations: 3.921 MB / 0.7026 GB, free: 44.36 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00108/2.877, allocations: 32.45 kB / 0.7027 GB, free: 44.32 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004835/2.882, allocations: 4.1 MB / 0.7067 GB, free: 41.55 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00246/2.884, allocations: 1.157 MB / 0.7078 GB, free: 40.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001324/2.886, allocations: 3.531 kB / 0.7078 GB, free: 40.68 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007486/2.887, allocations: 0.6447 MB / 0.7084 GB, free: 40.22 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01075/2.897, allocations: 3.146 MB / 0.7115 GB, free: 39.03 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.014/2.911, allocations: 7.499 MB / 0.7188 GB, free: 31.98 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01477/2.926, allocations: 4.82 MB / 0.7235 GB, free: 30.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002112/2.927, allocations: 42 kB / 0.7236 GB, free: 30.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=1032) (initialization): time 0.04676/2.973, allocations: 11.6 MB / 0.7349 GB, free: 23.29 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001594/2.974, allocations: 72 kB / 0.735 GB, free: 23.22 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002884/2.974, allocations: 155.5 kB / 0.7351 GB, free: 23.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01311/2.987, allocations: 2.171 MB / 0.7372 GB, free: 21.44 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01639/3.003, allocations: 1.808 MB / 0.739 GB, free: 19.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03975/3.043, allocations: 13.59 MB / 0.7523 GB, free: 7.906 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01173/3.055, allocations: 302.7 kB / 0.7526 GB, free: 7.676 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002357/3.057, allocations: 473.4 kB / 0.753 GB, free: 7.23 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 700 * Number of states: 0 () * Number of discrete variables: 39 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (956): * Single equations (assignments): 951 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,46.9%) 20,(7,46.9%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0031/3.061, allocations: 0.497 MB / 0.7535 GB, free: 6.734 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001774/3.062, allocations: 458.1 kB / 0.7539 GB, free: 6.281 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02604/3.088, allocations: 6.757 MB / 0.7605 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001033/3.089, allocations: 32.78 kB / 0.7606 GB, free: 0.7578 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.648e-05/3.089, allocations: 12 kB / 0.7606 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001137/3.089, allocations: 18.44 kB / 0.7606 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06209/3.151, allocations: 14.73 MB / 0.775 GB, free: 4.836 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-05/3.151, allocations: 8.125 kB / 0.775 GB, free: 4.828 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007063/3.158, allocations: 0.5095 MB / 0.7755 GB, free: 4.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01183/3.17, allocations: 1.854 MB / 0.7773 GB, free: 3.062 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009966/3.171, allocations: 16 kB / 0.7773 GB, free: 3.047 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03852/3.21, allocations: 11.96 MB / 0.789 GB, free: 8.551 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-05/3.21, allocations: 11.94 kB / 0.789 GB, free: 8.539 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04878/3.258, allocations: 12.18 MB / 0.8009 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005061/3.264, allocations: 0.9871 MB / 0.8019 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001936/3.266, allocations: 15.98 kB / 0.8019 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006628/3.272, allocations: 167.7 kB / 0.802 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001595/3.274, allocations: 205.6 kB / 0.8022 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005971/3.274, allocations: 84 kB / 0.8023 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009905/3.284, allocations: 2.659 MB / 0.8049 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.573e-06/3.284, allocations: 0 / 0.8049 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01347/3.298, allocations: 1.285 MB / 0.8062 GB, free: 9.566 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (260): * Single equations (assignments): 255 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,46.9%) 17,(7,46.9%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.5336/3.832, allocations: 13.76 MB / 0.8196 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03224/3.864, allocations: 8.485 MB / 0.8279 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.45e-05/3.864, allocations: 3.812 kB / 0.8279 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0166/3.881, allocations: 3.783 MB / 0.8316 GB, free: 121 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006405/3.887, allocations: 0.4992 MB / 0.8321 GB, free: 121 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05654/3.944, allocations: 13.8 MB / 0.8455 GB, free: 118.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01309/3.957, allocations: 4.52 MB / 0.85 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01599/3.973, allocations: 2.512 MB / 0.8524 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009492/3.982, allocations: 2.782 MB / 0.8551 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of SimCode: time 2.325e-06/3.982, allocations: 0 / 0.8551 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4242/4.407, allocations: 112.3 MB / 0.9648 GB, free: 39.38 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002758/4.407, allocations: 139.7 kB / 0.965 GB, free: 39.19 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.477/12.88, allocations: 0 / 0.965 GB, free: 39.19 MB / 0.4948 GB