Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.862/1.862, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.92e-05/2.937e-05, allocations: 0 / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2652, allocations: 38.77 MB / 263.8 MB, free: 9.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1797/0.4449, allocations: 101 MB / 364.9 MB, free: 4.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/0.4453, allocations: 87.95 kB / 364.9 MB, free: 4.594 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7632/1.209, allocations: 127.3 MB / 492.2 MB, free: 14.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.174e-06/1.209, allocations: 0 / 492.2 MB, free: 14.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005257/1.209, allocations: 140 kB / 492.4 MB, free: 14.09 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.04104/1.25, allocations: 7.078 MB / 499.4 MB, free: 6.938 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.317e-05/1.25, allocations: 8.031 kB / 499.4 MB, free: 6.93 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01531/1.266, allocations: 1.194 MB / 0.4889 GB, free: 5.723 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05599/1.322, allocations: 2.768 MB / 0.4916 GB, free: 2.941 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2906/1.612, allocations: 7.472 MB / 0.4989 GB, free: 41.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001148/1.614, allocations: 0.5189 MB / 0.4994 GB, free: 41.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005896/1.62, allocations: 0.6859 MB / 0.5001 GB, free: 41.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05667/1.676, allocations: 17.13 MB / 0.5168 GB, free: 37.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005425/1.677, allocations: 77.59 kB / 0.5169 GB, free: 37.69 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003626/1.68, allocations: 329 kB / 0.5172 GB, free: 37.69 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003919/1.684, allocations: 1.495 MB / 0.5187 GB, free: 37.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04712/1.732, allocations: 14.33 MB / 0.5327 GB, free: 37.61 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.124/1.856, allocations: 73.21 MB / 0.6041 GB, free: 3.844 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0481/1.904, allocations: 8.104 MB / 0.6121 GB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009312/1.913, allocations: 3.945 MB / 0.6159 GB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3196/2.233, allocations: 15.96 MB / 0.6315 GB, free: 70.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.515e-05/2.233, allocations: 61.78 kB / 0.6316 GB, free: 70.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=261): time 6.682e-06/2.233, allocations: 3.5 kB / 0.6316 GB, free: 70.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=335): time 0.2012/2.434, allocations: 39.92 MB / 0.6705 GB, free: 65.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03537/2.47, allocations: 15.3 MB / 0.6855 GB, free: 62.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01326/2.483, allocations: 5.019 MB / 0.6904 GB, free: 60.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001119/2.484, allocations: 76.48 kB / 0.6905 GB, free: 60.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004174/2.488, allocations: 4.577 MB / 0.6949 GB, free: 57.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002915/2.491, allocations: 1.257 MB / 0.6962 GB, free: 56.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002031/2.493, allocations: 184.2 kB / 0.6963 GB, free: 56.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.001078/2.495, allocations: 0.6988 MB / 0.697 GB, free: 55.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01577/2.51, allocations: 4.272 MB / 0.7012 GB, free: 54.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0199/2.53, allocations: 9.473 MB / 0.7104 GB, free: 45.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01968/2.55, allocations: 6.281 MB / 0.7166 GB, free: 42.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002642/2.55, allocations: 52 kB / 0.7166 GB, free: 42.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=1181) (initialization): time 0.07036/2.621, allocations: 18.1 MB / 0.7343 GB, free: 27.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001481/2.621, allocations: 84 kB / 0.7344 GB, free: 27.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002608/2.621, allocations: 184 kB / 0.7346 GB, free: 27.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03002/2.651, allocations: 4.976 MB / 0.7394 GB, free: 24.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01332/2.665, allocations: 2.032 MB / 0.7414 GB, free: 22.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3651/3.03, allocations: 37.06 MB / 0.7776 GB, free: 55.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01574/3.046, allocations: 0.6302 MB / 0.7782 GB, free: 55.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002693/3.048, allocations: 0.5668 MB / 0.7788 GB, free: 55.23 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.004204/3.053, allocations: 0.7908 MB / 0.7795 GB, free: 55.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00196/3.055, allocations: 0.5254 MB / 0.78 GB, free: 55.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0427/3.097, allocations: 11.1 MB / 0.7909 GB, free: 54.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001162/3.097, allocations: 49.62 kB / 0.7909 GB, free: 54.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03774/3.135, allocations: 10.15 MB / 0.8008 GB, free: 53.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.454e-05/3.135, allocations: 12.8 kB / 0.8008 GB, free: 53.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08313/3.219, allocations: 25.24 MB / 0.8255 GB, free: 46.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.189e-05/3.219, allocations: 7.312 kB / 0.8255 GB, free: 46.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004974/3.224, allocations: 458 kB / 0.8259 GB, free: 46.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02526/3.249, allocations: 4.251 MB / 0.8301 GB, free: 45.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001127/3.25, allocations: 69.59 kB / 0.8302 GB, free: 45.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06825/3.318, allocations: 29.36 MB / 0.8588 GB, free: 28.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02728/3.346, allocations: 12.59 MB / 0.8711 GB, free: 16.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06047/3.406, allocations: 15.94 MB / 0.8867 GB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006433/3.413, allocations: 1.208 MB / 0.8879 GB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002414/3.415, allocations: 60 kB / 0.8879 GB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01117/3.426, allocations: 269.4 kB / 0.8882 GB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002264/3.429, allocations: 263.8 kB / 0.8884 GB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007971/3.43, allocations: 98.84 kB / 0.8885 GB, free: 1.879 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.01361/3.443, allocations: 3.535 MB / 0.892 GB, free: 14.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.253e-06/3.443, allocations: 0 / 0.892 GB, free: 14.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01989/3.463, allocations: 2.377 MB / 0.8943 GB, free: 12.35 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.3464/3.81, allocations: 18.01 MB / 0.9119 GB, free: 67.01 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.02763/3.837, allocations: 11.1 MB / 0.9227 GB, free: 66.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/3.837, allocations: 0 / 0.9227 GB, free: 66.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0121/3.85, allocations: 4.601 MB / 0.9272 GB, free: 65.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007473/3.857, allocations: 0.7661 MB / 0.928 GB, free: 65.5 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.05381/3.911, allocations: 17.04 MB / 0.9446 GB, free: 62.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01165/3.923, allocations: 5.137 MB / 0.9496 GB, free: 61.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007959/3.931, allocations: 3.229 MB / 0.9528 GB, free: 61.63 MB / 394.7 MB Notification: Performance of SimCode: time 1.303e-06/3.931, allocations: 0 / 0.9528 GB, free: 61.63 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.619/10.55, allocations: 288.8 MB / 1.235 GB, free: 100.3 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat does not exist to compare? outputFormat=mat