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.723/1.723, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.001e-05/3.005e-05, allocations: 4 kB / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2557, allocations: 38.77 MB / 263.9 MB, free: 9.719 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1806/0.4364, allocations: 101 MB / 364.9 MB, free: 4.516 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/0.4368, allocations: 91.95 kB / 365 MB, free: 4.426 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7681/1.205, allocations: 127.3 MB / 492.3 MB, free: 13.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.434e-06/1.205, allocations: 0 / 492.3 MB, free: 13.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005445/1.205, allocations: 147.9 kB / 492.4 MB, free: 13.83 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.03734/1.243, allocations: 7.067 MB / 499.5 MB, free: 6.691 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/1.243, allocations: 12.03 kB / 499.5 MB, free: 6.68 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005662/1.249, allocations: 1.194 MB / 0.489 GB, free: 5.473 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02264/1.271, allocations: 2.764 MB / 0.4917 GB, free: 2.695 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3095/1.581, allocations: 7.477 MB / 0.499 GB, free: 41.03 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006589/1.582, allocations: 0.516 MB / 0.4995 GB, free: 41.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003562/1.585, allocations: 0.6869 MB / 0.5001 GB, free: 41.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05381/1.639, allocations: 17.05 MB / 0.5168 GB, free: 37.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004466/1.639, allocations: 85.06 kB / 0.5169 GB, free: 37.51 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002919/1.642, allocations: 327.2 kB / 0.5172 GB, free: 37.51 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003572/1.646, allocations: 1.494 MB / 0.5186 GB, free: 37.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04669/1.693, allocations: 14.08 MB / 0.5324 GB, free: 37.47 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.1232/1.816, allocations: 73.2 MB / 0.6039 GB, free: 3.809 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04798/1.864, allocations: 8.083 MB / 0.6118 GB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009068/1.873, allocations: 3.946 MB / 0.6156 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.317/2.19, allocations: 15.91 MB / 0.6312 GB, free: 70.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.02e-05/2.19, allocations: 68.08 kB / 0.6312 GB, free: 70.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=261): time 7.253e-06/2.19, allocations: 4.172 kB / 0.6312 GB, free: 70.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=335): time 0.1976/2.388, allocations: 39.92 MB / 0.6702 GB, free: 65.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03449/2.423, allocations: 15.29 MB / 0.6851 GB, free: 62.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01185/2.434, allocations: 5.021 MB / 0.6901 GB, free: 60.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001039/2.436, allocations: 73.02 kB / 0.6901 GB, free: 60.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004375/2.44, allocations: 4.737 MB / 0.6947 GB, free: 57.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00237/2.442, allocations: 1.26 MB / 0.696 GB, free: 56.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001369/2.444, allocations: 182.1 kB / 0.6962 GB, free: 56.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0006596/2.444, allocations: 0.6937 MB / 0.6968 GB, free: 55.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01056/2.455, allocations: 4.267 MB / 0.701 GB, free: 54.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01442/2.469, allocations: 9.424 MB / 0.7102 GB, free: 45.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01386/2.483, allocations: 6.279 MB / 0.7163 GB, free: 42.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001755/2.484, allocations: 52 kB / 0.7164 GB, free: 41.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=1181) (initialization): time 0.06284/2.546, allocations: 17.78 MB / 0.7337 GB, free: 27.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001322/2.547, allocations: 84 kB / 0.7338 GB, free: 27.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002543/2.547, allocations: 180.1 kB / 0.734 GB, free: 27.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02928/2.576, allocations: 4.987 MB / 0.7389 GB, free: 24.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0131/2.589, allocations: 2.026 MB / 0.7408 GB, free: 22.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.362/2.951, allocations: 37.27 MB / 0.7772 GB, free: 55.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01601/2.967, allocations: 0.6311 MB / 0.7779 GB, free: 55.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002464/2.97, allocations: 0.5694 MB / 0.7784 GB, free: 55.04 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.003366/2.973, allocations: 0.7925 MB / 0.7792 GB, free: 54.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001755/2.975, allocations: 0.5328 MB / 0.7797 GB, free: 54.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04074/3.016, allocations: 11.09 MB / 0.7905 GB, free: 54.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001146/3.016, allocations: 49.08 kB / 0.7906 GB, free: 54.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03793/3.054, allocations: 10.15 MB / 0.8005 GB, free: 53.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001068/3.054, allocations: 17.86 kB / 0.8005 GB, free: 53.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08357/3.138, allocations: 25.22 MB / 0.8251 GB, free: 46.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.755e-05/3.138, allocations: 9.359 kB / 0.8251 GB, free: 46.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004877/3.143, allocations: 458.8 kB / 0.8256 GB, free: 46.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02569/3.169, allocations: 4.25 MB / 0.8297 GB, free: 45.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001065/3.17, allocations: 70.64 kB / 0.8298 GB, free: 45.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06727/3.237, allocations: 29.36 MB / 0.8585 GB, free: 28.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0273/3.264, allocations: 12.59 MB / 0.8708 GB, free: 17.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04792/3.312, allocations: 15.96 MB / 0.8864 GB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004674/3.317, allocations: 1.201 MB / 0.8875 GB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002227/3.319, allocations: 65.41 kB / 0.8876 GB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008639/3.328, allocations: 262.4 kB / 0.8878 GB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001775/3.33, allocations: 255.3 kB / 0.8881 GB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006847/3.33, allocations: 99.42 kB / 0.8882 GB, free: 2.445 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0096/3.34, allocations: 3.497 MB / 0.8916 GB, free: 15.38 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.192e-06/3.34, allocations: 3.281 kB / 0.8916 GB, free: 15.38 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01644/3.357, allocations: 2.39 MB / 0.8939 GB, free: 13.02 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.3534/3.71, allocations: 18 MB / 0.9115 GB, free: 66.56 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.02649/3.737, allocations: 10.76 MB / 0.922 GB, free: 65.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/3.737, allocations: 0 / 0.922 GB, free: 65.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01253/3.749, allocations: 4.519 MB / 0.9264 GB, free: 65.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007312/3.757, allocations: 0.7498 MB / 0.9272 GB, free: 65.16 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.05314/3.81, allocations: 16.21 MB / 0.943 GB, free: 62.21 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01207/3.822, allocations: 5.133 MB / 0.948 GB, free: 61.36 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.01345/3.835, allocations: 2.759 MB / 0.9507 GB, free: 61.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007718/3.843, allocations: 3.164 MB / 0.9538 GB, free: 61.29 MB / 394.7 MB Notification: Performance of SimCode: time 1.473e-06/3.843, allocations: 0 / 0.9538 GB, free: 61.29 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6207/4.464, allocations: 156.9 MB / 1.107 GB, free: 65.2 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000374/4.464, allocations: 199.1 kB / 1.107 GB, free: 64.98 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.008/12.47, allocations: 0 / 1.107 GB, free: 64.98 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