Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.379/2.379, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.658e-05/5.664e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1516, allocations: 61.88 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5822/0.7338, allocations: 108.8 MB / 0.507 GB, free: 11.13 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/0.7342, allocations: 83.95 kB / 0.5071 GB, free: 11.05 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9945/1.729, allocations: 129.4 MB / 0.6334 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.274e-06/1.729, allocations: 0 / 0.6334 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005775/1.729, allocations: 133.3 kB / 0.6336 GB, free: 107.2 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2149 * Number of variables: 2149 Notification: Performance of Generate backend data structure: time 0.03129/1.761, allocations: 6.714 MB / 0.6401 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/1.761, allocations: 10.47 kB / 0.6401 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005596/1.766, allocations: 1.079 MB / 0.6412 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06904/1.836, allocations: 9.374 MB / 0.6503 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03175/1.867, allocations: 8.439 MB / 0.6586 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006342/1.868, allocations: 477.6 kB / 0.659 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003844/1.872, allocations: 0.6136 MB / 0.6596 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0518/1.924, allocations: 15.72 MB / 0.675 GB, free: 99.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005492/1.924, allocations: 83.12 kB / 0.6751 GB, free: 99.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00348/1.928, allocations: 292.9 kB / 0.6754 GB, free: 98.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003681/1.932, allocations: 1.47 MB / 0.6768 GB, free: 98.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04464/1.976, allocations: 13.44 MB / 0.6899 GB, free: 94.69 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1389/2.115, allocations: 69 MB / 0.7573 GB, free: 36.78 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03187/2.147, allocations: 7.095 MB / 0.7642 GB, free: 30.06 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009234/2.156, allocations: 5.087 MB / 0.7692 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04028/2.197, allocations: 17.28 MB / 0.7861 GB, free: 7.582 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.166e-05/2.197, allocations: 76.48 kB / 0.7861 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=289): time 7.093e-06/2.197, allocations: 0 / 0.7861 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=373): time 0.6338/2.831, allocations: 48.52 MB / 0.8335 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/2.831, allocations: 327.1 kB / 0.8338 GB, free: 111 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01171/2.843, allocations: 4.796 MB / 0.8385 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001416/2.844, allocations: 82.3 kB / 0.8386 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004183/2.848, allocations: 4.294 MB / 0.8428 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00274/2.851, allocations: 1.358 MB / 0.8441 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001849/2.853, allocations: 162.6 kB / 0.8443 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006829/2.854, allocations: 0.6615 MB / 0.8449 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01141/2.865, allocations: 4.552 MB / 0.8494 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01433/2.88, allocations: 8.806 MB / 0.858 GB, free: 100 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01453/2.894, allocations: 6.292 MB / 0.8641 GB, free: 97.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001639/2.894, allocations: 44.62 kB / 0.8641 GB, free: 97.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1059) (initialization): time 0.05728/2.952, allocations: 17.16 MB / 0.8809 GB, free: 92.96 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000115/2.952, allocations: 69.16 kB / 0.881 GB, free: 92.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002252/2.952, allocations: 148.7 kB / 0.8811 GB, free: 92.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02485/2.977, allocations: 4.758 MB / 0.8857 GB, free: 92.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01868/2.996, allocations: 1.931 MB / 0.8876 GB, free: 91.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0778/3.073, allocations: 25.35 MB / 0.9124 GB, free: 79.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01259/3.086, allocations: 0.5894 MB / 0.913 GB, free: 79.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002532/3.089, allocations: 480.9 kB / 0.9134 GB, free: 79.55 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 676 * Number of states: 0 () * Number of discrete variables: 59 (torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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): 950 * 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%) 15,(14,42.9%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003833/3.093, allocations: 0.7197 MB / 0.9141 GB, free: 78.84 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002035/3.095, allocations: 0.5314 MB / 0.9146 GB, free: 78.31 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04511/3.14, allocations: 12.51 MB / 0.9269 GB, free: 68.63 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.405e-05/3.14, allocations: 36 kB / 0.9269 GB, free: 68.59 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-05/3.14, allocations: 16 kB / 0.9269 GB, free: 68.58 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.67e-05/3.14, allocations: 21.02 kB / 0.9269 GB, free: 68.58 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09455/3.235, allocations: 22.27 MB / 0.9487 GB, free: 50.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-05/3.235, allocations: 0 / 0.9487 GB, free: 50.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01198/3.247, allocations: 0.6424 MB / 0.9493 GB, free: 50.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05976/3.307, allocations: 4.529 MB / 0.9537 GB, free: 46.18 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001468/3.308, allocations: 71.17 kB / 0.9538 GB, free: 46.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05551/3.364, allocations: 24.61 MB / 0.9778 GB, free: 21.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/3.364, allocations: 3.953 kB / 0.9778 GB, free: 21.11 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05439/3.418, allocations: 18.73 MB / 0.9961 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002277/3.421, allocations: 0.5488 MB / 0.9967 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003099/3.424, allocations: 59.98 kB / 0.9967 GB, free: 1.656 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008014/3.432, allocations: 344 kB / 0.997 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002049/3.434, allocations: 235.2 kB / 0.9973 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006908/3.435, allocations: 92.48 kB / 0.9974 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.009696/3.444, allocations: 3.402 MB / 1.001 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.51e-07/3.444, allocations: 0 / 1.001 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01363/3.458, allocations: 1.835 MB / 1.002 GB, free: 11.79 MB / 0.5417 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 (283): * Single equations (assignments): 277 * 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,43.4%) 41,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.4583/3.916, allocations: 19.58 MB / 1.022 GB, free: 117.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0468/3.963, allocations: 11.81 MB / 1.033 GB, free: 117.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/3.963, allocations: 3.5 kB / 1.033 GB, free: 117.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02534/3.989, allocations: 5.728 MB / 1.039 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008822/3.997, allocations: 0.6864 MB / 1.039 GB, free: 116.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05623/4.054, allocations: 16.63 MB / 1.056 GB, free: 112.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01175/4.066, allocations: 4.941 MB / 1.06 GB, free: 111.1 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01391/4.08, allocations: 2.794 MB / 1.063 GB, free: 111.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00875/4.088, allocations: 3.094 MB / 1.066 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of SimCode: time 1.252e-06/4.088, allocations: 0 / 1.066 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3291/4.417, allocations: 144.8 MB / 1.208 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003221/4.418, allocations: 176.9 kB / 1.208 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.434/11.85, allocations: 0 / 1.208 GB, free: 13.7 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint3_res.mat does not exist to compare? outputFormat=mat