Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.722/1.722, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.975e-05/2.997e-05, allocations: 0 / 225.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2672, allocations: 38.77 MB / 263.9 MB, free: 9.809 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1848/0.4521, allocations: 101 MB / 364.9 MB, free: 4.605 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003358/0.4525, allocations: 91.95 kB / 365 MB, free: 4.516 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8347/1.287, allocations: 127.3 MB / 492.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.974e-06/1.287, allocations: 0 / 492.3 MB, free: 14.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005257/1.288, allocations: 136 kB / 492.4 MB, free: 13.98 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2354 * Number of variables: 2354 Notification: Performance of Generate backend data structure: time 0.04888/1.337, allocations: 7.074 MB / 499.5 MB, free: 6.832 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.231e-05/1.337, allocations: 12.03 kB / 499.5 MB, free: 6.82 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007434/1.344, allocations: 1.198 MB / 0.4889 GB, free: 5.609 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02286/1.367, allocations: 2.767 MB / 0.4916 GB, free: 2.828 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3086/1.676, allocations: 7.474 MB / 0.4989 GB, free: 41.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009255/1.677, allocations: 0.5173 MB / 0.4994 GB, free: 41.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004953/1.682, allocations: 0.6821 MB / 0.5001 GB, free: 41.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06443/1.746, allocations: 17.13 MB / 0.5168 GB, free: 37.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005386/1.747, allocations: 91.47 kB / 0.5169 GB, free: 37.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003607/1.751, allocations: 325.7 kB / 0.5172 GB, free: 37.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003941/1.755, allocations: 1.492 MB / 0.5187 GB, free: 37.53 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0503/1.805, allocations: 14.32 MB / 0.5327 GB, free: 37.46 MB / 346.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1496/1.955, allocations: 73.21 MB / 0.6042 GB, free: 3.695 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04972/2.004, allocations: 8.166 MB / 0.6121 GB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009289/2.014, allocations: 3.942 MB / 0.616 GB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3486/2.362, allocations: 15.96 MB / 0.6316 GB, free: 70.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.706e-05/2.362, allocations: 62.16 kB / 0.6316 GB, free: 70.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=261): time 7.755e-06/2.363, allocations: 0 / 0.6316 GB, free: 70.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=335): time 0.2037/2.566, allocations: 39.92 MB / 0.6706 GB, free: 65.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03442/2.601, allocations: 15.3 MB / 0.6856 GB, free: 62.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01384/2.615, allocations: 5.019 MB / 0.6905 GB, free: 60.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001335/2.616, allocations: 75.31 kB / 0.6905 GB, free: 60.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005827/2.622, allocations: 4.742 MB / 0.6952 GB, free: 57.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003088/2.625, allocations: 1.263 MB / 0.6964 GB, free: 56.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001372/2.626, allocations: 179.2 kB / 0.6966 GB, free: 56.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0006616/2.627, allocations: 0.6908 MB / 0.6972 GB, free: 55.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01063/2.638, allocations: 4.267 MB / 0.7014 GB, free: 54.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01433/2.652, allocations: 9.475 MB / 0.7107 GB, free: 45.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0142/2.666, allocations: 6.284 MB / 0.7168 GB, free: 42.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001769/2.667, allocations: 52 kB / 0.7169 GB, free: 42.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=1181) (initialization): time 0.06453/2.731, allocations: 18.29 MB / 0.7347 GB, free: 27.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001505/2.731, allocations: 84 kB / 0.7348 GB, free: 27.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003067/2.732, allocations: 188.1 kB / 0.735 GB, free: 27.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03002/2.762, allocations: 4.985 MB / 0.7398 GB, free: 23.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01344/2.775, allocations: 2.028 MB / 0.7418 GB, free: 22.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3611/3.136, allocations: 37.06 MB / 0.778 GB, free: 55.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01563/3.152, allocations: 0.6291 MB / 0.7786 GB, free: 55.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002507/3.155, allocations: 0.5694 MB / 0.7792 GB, free: 55.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 838 * Number of states: 0 () * Number of discrete variables: 57 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],joint.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1047): * Single equations (assignments): 1036 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 38,(2,100.0%) 23,(2,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.003819/3.158, allocations: 0.7962 MB / 0.78 GB, free: 54.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001758/3.16, allocations: 0.5251 MB / 0.7805 GB, free: 54.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04157/3.202, allocations: 11.1 MB / 0.7913 GB, free: 54.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001203/3.202, allocations: 46.78 kB / 0.7914 GB, free: 54.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03784/3.24, allocations: 10.15 MB / 0.8013 GB, free: 53.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.81e-05/3.24, allocations: 18.52 kB / 0.8013 GB, free: 53.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08336/3.323, allocations: 25.25 MB / 0.8259 GB, free: 46.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.495e-05/3.323, allocations: 7.844 kB / 0.8259 GB, free: 46.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004948/3.328, allocations: 451.8 kB / 0.8264 GB, free: 46.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02821/3.357, allocations: 4.259 MB / 0.8305 GB, free: 45.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001071/3.358, allocations: 72.19 kB / 0.8306 GB, free: 45.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07225/3.43, allocations: 29.35 MB / 0.8593 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02721/3.457, allocations: 12.59 MB / 0.8716 GB, free: 16.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04686/3.504, allocations: 15.95 MB / 0.8871 GB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004963/3.509, allocations: 1.208 MB / 0.8883 GB, free: 2.156 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002035/3.511, allocations: 64.56 kB / 0.8884 GB, free: 2.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008354/3.52, allocations: 268.3 kB / 0.8886 GB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001693/3.522, allocations: 259.1 kB / 0.8889 GB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005153/3.522, allocations: 98.44 kB / 0.889 GB, free: 1.711 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.01006/3.532, allocations: 3.535 MB / 0.8924 GB, free: 14.53 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.002e-06/3.532, allocations: 0 / 0.8924 GB, free: 14.53 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01592/3.548, allocations: 2.382 MB / 0.8947 GB, free: 12.17 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.phi,joint.R_rel.w[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (203): * Single equations (assignments): 195 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 12,(3,100.0%) 35,(3,100.0%) 25} * Non-linear torn systems: 1 {3 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.3413/3.889, allocations: 18 MB / 0.9123 GB, free: 67.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.02606/3.916, allocations: 11.1 MB / 0.9232 GB, free: 66.12 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/3.916, allocations: 2.406 kB / 0.9232 GB, free: 66.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01185/3.927, allocations: 4.606 MB / 0.9277 GB, free: 65.56 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007211/3.935, allocations: 0.7524 MB / 0.9284 GB, free: 65.54 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Joints.mo:260:5-270:3:writable] Warning: Variable joint.phi has attribute stateSelect=StateSelect.never, but was selected as a state Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0537/3.989, allocations: 16.27 MB / 0.9443 GB, free: 62.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01327/4.002, allocations: 5.135 MB / 0.9493 GB, free: 61.71 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.01464/4.017, allocations: 2.756 MB / 0.952 GB, free: 61.65 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008216/4.025, allocations: 3.167 MB / 0.9551 GB, free: 61.64 MB / 394.7 MB Notification: Performance of SimCode: time 2.304e-06/4.025, allocations: 0 / 0.9551 GB, free: 61.64 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7355/4.76, allocations: 158 MB / 1.109 GB, free: 65.17 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/4.761, allocations: 206.3 kB / 1.11 GB, free: 64.94 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.271/13.03, allocations: 0 / 1.11 GB, free: 64.94 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat does not exist to compare? outputFormat=mat