Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_GearConstraint4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.665/2.665, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.71e-05/3.724e-05, allocations: 4 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4255/0.4256, allocations: 58.84 MB / 382.3 MB, free: 10.2 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2437/0.6693, allocations: 125.6 MB / 0.496 GB, free: 14.77 MB / 442.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/0.6697, allocations: 83.94 kB / 0.496 GB, free: 14.69 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.794/2.463, allocations: 277.2 MB / 0.7667 GB, free: 39.59 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.725e-06/2.464, allocations: 3 kB / 0.7667 GB, free: 39.59 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.001425/2.465, allocations: 321.1 kB / 0.767 GB, free: 39.58 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4597 * Number of variables: 4597 Notification: Performance of Generate backend data structure: time 0.1111/2.576, allocations: 16.24 MB / 0.7829 GB, free: 34.46 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/2.576, allocations: 10.5 kB / 0.7829 GB, free: 34.46 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01469/2.591, allocations: 2.318 MB / 0.7852 GB, free: 34.31 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1326/2.724, allocations: 17.02 MB / 0.8018 GB, free: 33.31 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08347/2.807, allocations: 22.35 MB / 0.8236 GB, free: 31.29 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002094/2.809, allocations: 1.073 MB / 0.8247 GB, free: 31.25 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01013/2.819, allocations: 1.476 MB / 0.8261 GB, free: 31.22 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1254/2.945, allocations: 30.84 MB / 0.8562 GB, free: 17.81 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001368/2.946, allocations: 181.1 kB / 0.8564 GB, free: 17.7 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006761/2.953, allocations: 0.6424 MB / 0.857 GB, free: 17.11 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006608/2.96, allocations: 2.557 MB / 0.8595 GB, free: 14.98 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1307/3.091, allocations: 26.65 MB / 0.8855 GB, free: 0 / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7338/3.824, allocations: 133.8 MB / 1.016 GB, free: 32.62 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08502/3.91, allocations: 15.37 MB / 1.031 GB, free: 32.49 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.021/3.931, allocations: 10.03 MB / 1.041 GB, free: 32.44 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005157/3.936, allocations: 2.127 MB / 1.043 GB, free: 30.73 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/3.936, allocations: 96.72 kB / 1.043 GB, free: 30.68 MB / 0.573 GB Notification: Performance of pre-optimization done (n=614): time 1.089e-05/3.936, allocations: 0 / 1.043 GB, free: 30.68 MB / 0.573 GB Notification: Performance of matching and sorting (n=821): time 0.6232/4.559, allocations: 105.6 MB / 1.146 GB, free: 1.609 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002593/4.56, allocations: 343.1 kB / 1.147 GB, free: 1.215 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.468/5.028, allocations: 10.06 MB / 1.156 GB, free: 122.5 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.002699/5.03, allocations: 159.8 kB / 1.157 GB, free: 122.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.009778/5.04, allocations: 9.141 MB / 1.165 GB, free: 120 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.005636/5.046, allocations: 2.955 MB / 1.168 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00347/5.049, allocations: 310.1 kB / 1.169 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.001358/5.051, allocations: 0.948 MB / 1.17 GB, free: 117.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02349/5.074, allocations: 9.038 MB / 1.178 GB, free: 117.9 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03005/5.104, allocations: 16.19 MB / 1.194 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03094/5.135, allocations: 12.05 MB / 1.206 GB, free: 108.7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005686/5.136, allocations: 70.59 kB / 1.206 GB, free: 108.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1987) (initialization): time 0.1181/5.254, allocations: 33.82 MB / 1.239 GB, free: 103.6 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002305/5.255, allocations: 111.4 kB / 1.239 GB, free: 103.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004181/5.255, allocations: 243.7 kB / 1.239 GB, free: 103.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05207/5.307, allocations: 10.47 MB / 1.25 GB, free: 101.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02428/5.331, allocations: 3.503 MB / 1.253 GB, free: 101.3 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1306/5.462, allocations: 52.04 MB / 1.304 GB, free: 67.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02287/5.485, allocations: 1.036 MB / 1.305 GB, free: 67.05 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004596/5.49, allocations: 0.856 MB / 1.306 GB, free: 66.27 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1128 * Number of states: 0 () * Number of discrete variables: 150 (cyl4.color[3],cyl4.color[2],cyl4.color[1],cyl4.body.sphereColor[3],cyl4.body.sphereColor[2],cyl4.body.sphereColor[1],cyl3.color[3],cyl3.color[2],cyl3.color[1],cyl3.body.sphereColor[3],cyl3.body.sphereColor[2],cyl3.body.sphereColor[1],absoluteSensor_1D.arrowColor[3],absoluteSensor_1D.arrowColor[2],absoluteSensor_1D.arrowColor[1],absoluteSensor_MBS.arrowColor[3],absoluteSensor_MBS.arrowColor[2],absoluteSensor_MBS.arrowColor[1],inertia2.cylinderColor[3],inertia2.cylinderColor[2],inertia2.cylinderColor[1],inertia1.cylinderColor[3],inertia1.cylinderColor[2],inertia1.cylinderColor[1],fixedTranslation8.color[3],fixedTranslation8.color[2],fixedTranslation8.color[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],fixedTranslation7.color[3],fixedTranslation7.color[2],fixedTranslation7.color[1],bodyShape2.color[3],bodyShape2.color[2],bodyShape2.color[1],bodyShape2.body.sphereColor[3],bodyShape2.body.sphereColor[2],bodyShape2.body.sphereColor[1],bodyShape2.frameTranslation.color[3],bodyShape2.frameTranslation.color[2],bodyShape2.frameTranslation.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],fixedTranslation5.color[3],fixedTranslation5.color[2],fixedTranslation5.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],freeMotion2.arrowColor[3],freeMotion2.arrowColor[2],freeMotion2.arrowColor[1],fixedTranslation4.color[3],fixedTranslation4.color[2],fixedTranslation4.color[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],bodyShape1.color[3],bodyShape1.color[2],bodyShape1.color[1],bodyShape1.body.sphereColor[3],bodyShape1.body.sphereColor[2],bodyShape1.body.sphereColor[1],bodyShape1.frameTranslation.color[3],bodyShape1.frameTranslation.color[2],bodyShape1.frameTranslation.color[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],freeMotion1.arrowColor[3],freeMotion1.arrowColor[2],freeMotion1.arrowColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[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 (1737): * Single equations (assignments): 1729 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(10,78.0%) 102,(11,73.6%) 121} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008338/5.498, allocations: 1.232 MB / 1.307 GB, free: 65.05 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004603/5.503, allocations: 1.161 MB / 1.308 GB, free: 63.87 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1025/5.605, allocations: 28.23 MB / 1.336 GB, free: 41.75 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001357/5.605, allocations: 80 kB / 1.336 GB, free: 41.67 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000106/5.606, allocations: 46.97 kB / 1.336 GB, free: 41.63 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002116/5.606, allocations: 39.61 kB / 1.336 GB, free: 41.63 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6191/6.225, allocations: 54.17 MB / 1.389 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001195/6.225, allocations: 5.625 kB / 1.389 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01416/6.239, allocations: 1.314 MB / 1.39 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05335/6.293, allocations: 9.294 MB / 1.399 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002912/6.296, allocations: 159.6 kB / 1.399 GB, free: 102.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1311/6.427, allocations: 48.97 MB / 1.447 GB, free: 95.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/6.427, allocations: 12.12 kB / 1.447 GB, free: 95.27 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.116/6.543, allocations: 38.65 MB / 1.485 GB, free: 80.77 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01155/6.554, allocations: 2.741 MB / 1.487 GB, free: 79.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005856/6.56, allocations: 154.7 kB / 1.488 GB, free: 78.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01564/6.576, allocations: 0.582 MB / 1.488 GB, free: 78.54 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003911/6.58, allocations: 0.5403 MB / 1.489 GB, free: 78.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002018/6.582, allocations: 205.4 kB / 1.489 GB, free: 78.01 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01987/6.602, allocations: 7.199 MB / 1.496 GB, free: 71.69 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.122e-06/6.602, allocations: 4.625 kB / 1.496 GB, free: 71.69 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02782/6.63, allocations: 4.022 MB / 1.5 GB, free: 67.68 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 32 (freeMotion1.r_rel_a[1],freeMotion1.r_rel_a[2],freeMotion1.r_rel_a[3],freeMotion1.v_rel_a[1],freeMotion1.v_rel_a[2],freeMotion1.v_rel_a[3],freeMotion1.phi[1],freeMotion1.phi[2],freeMotion1.phi[3],freeMotion1.phi_d[1],freeMotion1.phi_d[2],freeMotion1.phi_d[3],revolute1.phi,revolute1.w,gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,freeMotion2.r_rel_a[1],freeMotion2.r_rel_a[2],freeMotion2.r_rel_a[3],freeMotion2.v_rel_a[1],freeMotion2.v_rel_a[2],freeMotion2.v_rel_a[3],freeMotion2.phi[1],freeMotion2.phi[2],freeMotion2.phi[3],freeMotion2.phi_d[1],freeMotion2.phi_d[2],freeMotion2.phi_d[3],revolute2.phi,revolute2.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (620): * Single equations (assignments): 614 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(9,97.5%) 111,(12,66.0%) 86} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1548/6.785, allocations: 39.87 MB / 1.539 GB, free: 33.88 MB / 0.5886 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Mechanics/MultiBody/Joints.mo:1583:5-1585:43:writable] Warning: Variable freeMotion1.phi_d[1] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Mechanics/MultiBody/Joints.mo:1583:5-1585:43:writable] Warning: Variable freeMotion1.phi_d[2] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Mechanics/MultiBody/Joints.mo:1583:5-1585:43:writable] Warning: Variable freeMotion2.phi_d[2] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Mechanics/MultiBody/Joints.mo:1583:5-1585:43:writable] Warning: Variable freeMotion2.phi_d[1] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.07257/6.857, allocations: 23.19 MB / 1.561 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.088e-05/6.857, allocations: 4 kB / 1.561 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.4742/7.332, allocations: 12.45 MB / 1.574 GB, free: 109.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01766/7.349, allocations: 1.811 MB / 1.575 GB, free: 109.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1532/7.503, allocations: 37.45 MB / 1.612 GB, free: 103.4 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02973/7.532, allocations: 10.41 MB / 1.622 GB, free: 102.3 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.02596/7.558, allocations: 4.86 MB / 1.627 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02028/7.579, allocations: 7.604 MB / 1.634 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of SimCode: time 2.124e-06/7.579, allocations: 4.844 kB / 1.634 GB, free: 101.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.138/8.717, allocations: 321.1 MB / 1.948 GB, free: 32.12 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/8.717, allocations: 185.1 kB / 1.948 GB, free: 31.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.8/25.52, allocations: 0 / 1.948 GB, free: 31.9 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.GearConstraint4_res.mat does not exist to compare? outputFormat=mat