Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint3",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.408/3.408, allocations: 235.2 MB / 242.3 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.134e-05/3.155e-05, allocations: 0 / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.523/0.5231, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2594/0.7826, allocations: 100.9 MB / 455.3 MB, free: 10.17 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004621/0.7831, allocations: 87.89 kB / 455.4 MB, free: 10.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.145/1.928, allocations: 128.5 MB / 0.5702 GB, free: 9.461 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.835e-06/1.928, allocations: 0 / 0.5702 GB, free: 9.461 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007349/1.929, allocations: 140 kB / 0.5704 GB, free: 9.324 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2232 * Number of variables: 2232 Notification: Performance of Generate backend data structure: time 0.04103/1.97, allocations: 6.864 MB / 0.5771 GB, free: 2.383 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.981e-05/1.97, allocations: 12.03 kB / 0.5771 GB, free: 2.371 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00615/1.976, allocations: 0.8511 MB / 0.5779 GB, free: 1.508 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1018/2.078, allocations: 9.418 MB / 0.5871 GB, free: 8.066 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04665/2.125, allocations: 8.972 MB / 0.5959 GB, free: 15.01 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006932/2.125, allocations: 280.9 kB / 0.5961 GB, free: 14.73 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004524/2.13, allocations: 391.7 kB / 0.5965 GB, free: 14.35 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03777/2.168, allocations: 10.02 MB / 0.6063 GB, free: 4.324 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05319/2.221, allocations: 14.23 MB / 0.6202 GB, free: 4.863 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006328/2.222, allocations: 79.25 kB / 0.6203 GB, free: 4.785 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00376/2.225, allocations: 36 kB / 0.6203 GB, free: 4.75 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005998/2.231, allocations: 1.534 MB / 0.6218 GB, free: 3.211 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6043/2.836, allocations: 68.17 MB / 0.6884 GB, free: 42.61 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01453/2.85, allocations: 6.621 MB / 0.6948 GB, free: 41.8 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01124/2.862, allocations: 5.154 MB / 0.6999 GB, free: 39.62 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05543/2.917, allocations: 17.76 MB / 0.7172 GB, free: 31.54 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.339e-05/2.917, allocations: 65.23 kB / 0.7173 GB, free: 31.48 MB / 458.7 MB Notification: Performance of pre-optimization done (n=310): time 8.786e-06/2.917, allocations: 0 / 0.7173 GB, free: 31.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=384): time 0.2132/3.131, allocations: 43.06 MB / 0.7593 GB, free: 3.508 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/3.131, allocations: 325.3 kB / 0.7596 GB, free: 3.121 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01314/3.144, allocations: 4.318 MB / 0.7638 GB, free: 15.45 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001668/3.146, allocations: 29.39 kB / 0.7639 GB, free: 15.42 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006552/3.152, allocations: 4.479 MB / 0.7682 GB, free: 11.48 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003805/3.156, allocations: 1.346 MB / 0.7696 GB, free: 10.26 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002114/3.158, allocations: 4 kB / 0.7696 GB, free: 10.25 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001041/3.159, allocations: 0.6656 MB / 0.7702 GB, free: 9.684 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01561/3.175, allocations: 4.409 MB / 0.7745 GB, free: 5.742 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02831/3.203, allocations: 8.915 MB / 0.7832 GB, free: 11.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.029/3.232, allocations: 6.196 MB / 0.7893 GB, free: 6.348 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003159/3.233, allocations: 48 kB / 0.7893 GB, free: 6.301 MB / 490.7 MB Notification: Performance of matching and sorting (n=1114) (initialization): time 0.1392/3.372, allocations: 17.69 MB / 0.8066 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001887/3.372, allocations: 72 kB / 0.8067 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003539/3.373, allocations: 160 kB / 0.8068 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03363/3.406, allocations: 4.727 MB / 0.8114 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01872/3.425, allocations: 2.039 MB / 0.8134 GB, free: 2.633 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5918/4.017, allocations: 23.55 MB / 0.8364 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01506/4.032, allocations: 459 kB / 0.8369 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002929/4.035, allocations: 499.2 kB / 0.8373 GB, free: 108.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 54 (torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[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 (1011): * Single equations (assignments): 1005 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(14,42.9%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004544/4.04, allocations: 0.5207 MB / 0.8379 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002337/4.042, allocations: 0.5146 MB / 0.8384 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0561/4.098, allocations: 12.09 MB / 0.8502 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001204/4.098, allocations: 41.39 kB / 0.8502 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.067e-05/4.098, allocations: 21.11 kB / 0.8502 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001301/4.098, allocations: 17.53 kB / 0.8502 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08654/4.185, allocations: 20.76 MB / 0.8705 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.654e-05/4.185, allocations: 0 / 0.8705 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01227/4.197, allocations: 0.6694 MB / 0.8712 GB, free: 103.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0441/4.242, allocations: 4.494 MB / 0.8756 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001781/4.243, allocations: 10.72 kB / 0.8756 GB, free: 102.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07914/4.323, allocations: 23.06 MB / 0.8981 GB, free: 92 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/4.323, allocations: 6.344 kB / 0.8981 GB, free: 92 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06858/4.391, allocations: 18.21 MB / 0.9159 GB, free: 81.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0061/4.397, allocations: 1.311 MB / 0.9171 GB, free: 80.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002343/4.4, allocations: 4 kB / 0.9172 GB, free: 80.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008785/4.409, allocations: 295.9 kB / 0.9174 GB, free: 80.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002313/4.411, allocations: 234.3 kB / 0.9177 GB, free: 80.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009975/4.412, allocations: 99.55 kB / 0.9178 GB, free: 79.96 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008212/4.42, allocations: 2.954 MB / 0.9206 GB, free: 77.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.573e-06/4.42, allocations: 0 / 0.9206 GB, free: 77.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01327/4.434, allocations: 1.635 MB / 0.9222 GB, free: 75.79 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (gearConstraint.actuatedRevolute_a.phi,gearConstraint.actuatedRevolute_a.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (295): * Single equations (assignments): 289 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(14,42.9%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06368/4.497, allocations: 19.01 MB / 0.9408 GB, free: 59.91 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03566/4.533, allocations: 11.47 MB / 0.952 GB, free: 50.06 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/4.533, allocations: 2.469 kB / 0.952 GB, free: 50.06 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02127/4.554, allocations: 5.601 MB / 0.9575 GB, free: 44.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006876/4.561, allocations: 0.5637 MB / 0.958 GB, free: 44 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06345/4.625, allocations: 16.42 MB / 0.9741 GB, free: 27.83 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01423/4.639, allocations: 5.048 MB / 0.979 GB, free: 22.79 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01738/4.657, allocations: 2.854 MB / 0.9818 GB, free: 19.98 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01032/4.667, allocations: 3.155 MB / 0.9849 GB, free: 16.82 MB / 0.4948 GB Notification: Performance of SimCode: time 3.687e-06/4.667, allocations: 0 / 0.9849 GB, free: 16.82 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8371/5.504, allocations: 141.7 MB / 1.123 GB, free: 43.45 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003655/5.505, allocations: 153.1 kB / 1.123 GB, free: 43.26 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 9.682/15.19, allocations: 2.812 kB / 1.123 GB, free: 43.26 MB / 0.4948 GB