Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_SphericalSpherical2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.518/3.518, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.102e-05/3.119e-05, allocations: 4 kB / 299.6 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4451/0.4452, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2551/0.7003, allocations: 110.3 MB / 464.7 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003251/0.7007, allocations: 75.95 kB / 464.7 MB, free: 0.6875 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.12/2.821, allocations: 224.1 MB / 0.6727 GB, free: 42.04 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.284e-06/2.821, allocations: 0 / 0.6727 GB, free: 42.04 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.00102/2.822, allocations: 281.4 kB / 0.673 GB, free: 42.02 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4609 * Number of variables: 4609 Notification: Performance of Generate backend data structure: time 0.106/2.928, allocations: 13.78 MB / 0.6865 GB, free: 37.63 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.665e-05/2.928, allocations: 10.75 kB / 0.6865 GB, free: 37.63 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01616/2.944, allocations: 2.212 MB / 0.6886 GB, free: 37.44 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1077/3.052, allocations: 10.93 MB / 0.6993 GB, free: 36.58 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07075/3.122, allocations: 15.51 MB / 0.7145 GB, free: 35.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00127/3.124, allocations: 0.6114 MB / 0.7151 GB, free: 35.12 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008244/3.132, allocations: 0.8644 MB / 0.7159 GB, free: 35.11 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06214/3.194, allocations: 18.13 MB / 0.7336 GB, free: 31.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09059/3.285, allocations: 26.83 MB / 0.7598 GB, free: 5.82 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0013/3.286, allocations: 152 kB / 0.76 GB, free: 5.742 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007654/3.294, allocations: 68 kB / 0.76 GB, free: 5.676 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006829/3.301, allocations: 2.338 MB / 0.7623 GB, free: 3.711 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8332/4.134, allocations: 125.3 MB / 0.8847 GB, free: 29.16 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01745/4.152, allocations: 7.25 MB / 0.8918 GB, free: 28.49 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01339/4.165, allocations: 5.626 MB / 0.8972 GB, free: 28.44 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00768/4.173, allocations: 4.844 MB / 0.902 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001176/4.173, allocations: 87.41 kB / 0.9021 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=435): time 1.151e-05/4.173, allocations: 0 / 0.9021 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=569): time 0.5629/4.736, allocations: 98.8 MB / 0.9985 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002824/4.736, allocations: 348.9 kB / 0.9989 GB, free: 7.855 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02699/4.763, allocations: 7.489 MB / 1.006 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002218/4.766, allocations: 29.7 kB / 1.006 GB, free: 1.492 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.01305/4.779, allocations: 8.939 MB / 1.015 GB, free: 9.781 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.006157/4.785, allocations: 2.123 MB / 1.017 GB, free: 7.867 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003676/4.789, allocations: 4 kB / 1.017 GB, free: 7.863 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.002299/4.791, allocations: 1.007 MB / 1.018 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04226/4.833, allocations: 9.379 MB / 1.027 GB, free: 0 / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.51/5.343, allocations: 18.35 MB / 1.045 GB, free: 112.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03473/5.378, allocations: 12.5 MB / 1.057 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006371/5.379, allocations: 93.44 kB / 1.057 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2145) (initialization): time 0.188/5.567, allocations: 34.41 MB / 1.091 GB, free: 110.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006598/5.568, allocations: 147.1 kB / 1.091 GB, free: 110.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1559/5.723, allocations: 22.95 MB / 1.114 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08614/5.81, allocations: 10.85 MB / 1.124 GB, free: 101.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03095/5.841, allocations: 3.935 MB / 1.128 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.136/5.977, allocations: 47.2 MB / 1.174 GB, free: 65.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0395/6.016, allocations: 1.501 MB / 1.176 GB, free: 64.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01075/6.027, allocations: 0.9959 MB / 1.177 GB, free: 63.55 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1520 * Number of states: 0 () * Number of discrete variables: 75 (freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrowColor[3],rs2.arrowColor[2],rs2.arrowColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],sphericalSpherical1.massColor[3],sphericalSpherical1.massColor[2],sphericalSpherical1.massColor[1],sphericalSpherical1.sphereColor[3],sphericalSpherical1.sphereColor[2],sphericalSpherical1.sphereColor[1],sphericalSpherical1.rodColor[3],sphericalSpherical1.rodColor[2],sphericalSpherical1.rodColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],rs1.arrowColor[3],rs1.arrowColor[2],rs1.arrowColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (1969): * Single equations (assignments): 1940 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 6 {1,1,4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,82.8%) 32,(1,100.0%) 3,(4,93.8%) 20,(7,63.3%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01418/6.041, allocations: 0.9406 MB / 1.177 GB, free: 62.82 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01712/6.058, allocations: 0.8376 MB / 1.178 GB, free: 62.44 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1629/6.221, allocations: 28.38 MB / 1.206 GB, free: 39.05 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.6428/6.864, allocations: 26.76 MB / 1.232 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001198/6.864, allocations: 23.94 kB / 1.232 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002269/6.865, allocations: 27.53 kB / 1.232 GB, free: 102.1 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2901/7.155, allocations: 60.29 MB / 1.291 GB, free: 94.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000117/7.155, allocations: 3.594 kB / 1.291 GB, free: 94.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0213/7.176, allocations: 1.013 MB / 1.292 GB, free: 94.15 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1643/7.341, allocations: 15.59 MB / 1.307 GB, free: 91.89 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00243/7.343, allocations: 101.2 kB / 1.307 GB, free: 91.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1768/7.52, allocations: 61.49 MB / 1.367 GB, free: 54.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.06457/7.585, allocations: 23.45 MB / 1.39 GB, free: 31.1 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6983/8.283, allocations: 40.5 MB / 1.43 GB, free: 93.09 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004049/8.287, allocations: 0.8929 MB / 1.431 GB, free: 92.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005042/8.292, allocations: 43.8 kB / 1.431 GB, free: 92.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02024/8.312, allocations: 0.8194 MB / 1.432 GB, free: 92.99 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004196/8.317, allocations: 457.5 kB / 1.432 GB, free: 92.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002397/8.319, allocations: 181.2 kB / 1.432 GB, free: 92.99 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01689/8.336, allocations: 4.987 MB / 1.437 GB, free: 92.74 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.353e-06/8.336, allocations: 0 / 1.437 GB, free: 92.74 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.03367/8.37, allocations: 4.272 MB / 1.441 GB, free: 92.74 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 32 ($STATESET140358229107085.x[2],$STATESET140358229107085.x[1],$STATESET140358229107084.x[5],$STATESET140358229107084.x[4],$STATESET140358229107084.x[3],$STATESET140358229107084.x[2],$STATESET140358229107084.x[1],$STATESET140358229107083.x[6],$STATESET140358229107083.x[5],$STATESET140358229107083.x[4],$STATESET140358229107083.x[3],$STATESET140358229107083.x[2],$STATESET140358229107083.x[1],$STATESET140358229107082.x[3],$STATESET140358229107082.x[2],$STATESET140358229107082.x[1],$STATESET140358229107081.x[2],$STATESET140358229107081.x[1],$STATESET140358229107080.x[5],$STATESET140358229107080.x[4],$STATESET140358229107080.x[3],$STATESET140358229107080.x[2],$STATESET140358229107080.x[1],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyBox1.body.w_a[1],bodyBox1.body.w_a[2],bodyBox1.body.w_a[3],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (412): * Single equations (assignments): 397 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {3,8,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(4,93.8%) 17,(3,100.0%) 3,(8,82.8%) 29,(7,93.9%) 12,(7,63.3%) 20} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.179/8.549, allocations: 41.79 MB / 1.482 GB, free: 89.62 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.06594/8.615, allocations: 22.78 MB / 1.504 GB, free: 81.63 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.407e-05/8.615, allocations: 3.562 kB / 1.504 GB, free: 81.63 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0408/8.656, allocations: 11.35 MB / 1.515 GB, free: 76.71 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01427/8.67, allocations: 1.116 MB / 1.516 GB, free: 76.33 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1954/8.866, allocations: 35.55 MB / 1.551 GB, free: 54.96 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0287/8.894, allocations: 9.439 MB / 1.56 GB, free: 48.16 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.03164/8.926, allocations: 5.108 MB / 1.565 GB, free: 44.96 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.028/8.954, allocations: 6.417 MB / 1.572 GB, free: 39.07 MB / 0.5417 GB Notification: Performance of SimCode: time 2.975e-06/8.954, allocations: 4 kB / 1.572 GB, free: 39.06 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.917/10.87, allocations: 291.3 MB / 1.856 GB, free: 84.35 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003206/10.87, allocations: 145.8 kB / 1.856 GB, free: 84.16 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 15.84/26.72, allocations: 0 / 1.856 GB, free: 84.16 MB / 0.573 GB