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.81/1.81, allocations: 171.2 MB / 183.8 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.977e-05/2.983e-05, allocations: 0 / 225.1 MB, free: 2.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2608, allocations: 38.78 MB / 263.9 MB, free: 9.766 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1792/0.44, allocations: 101 MB / 364.9 MB, free: 4.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003342/0.4404, allocations: 91.94 kB / 365 MB, free: 4.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8194/1.26, allocations: 127.3 MB / 492.2 MB, free: 14 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.445e-06/1.26, allocations: 4 kB / 492.3 MB, free: 14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005781/1.26, allocations: 143.9 kB / 492.4 MB, free: 13.86 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.03841/1.299, allocations: 7.071 MB / 499.5 MB, free: 6.711 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.199e-05/1.299, allocations: 12.02 kB / 499.5 MB, free: 6.699 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006515/1.306, allocations: 1.194 MB / 0.4889 GB, free: 5.492 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02321/1.329, allocations: 2.764 MB / 0.4916 GB, free: 2.715 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5342/1.863, allocations: 7.476 MB / 0.4989 GB, free: 39.75 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006998/1.864, allocations: 0.5117 MB / 0.4994 GB, free: 39.73 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003844/1.868, allocations: 0.687 MB / 0.5001 GB, free: 39.73 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05801/1.926, allocations: 17.05 MB / 0.5168 GB, free: 36.23 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006268/1.926, allocations: 82.88 kB / 0.5168 GB, free: 36.23 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004233/1.931, allocations: 329.1 kB / 0.5171 GB, free: 36.23 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005088/1.936, allocations: 1.495 MB / 0.5186 GB, free: 36.22 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07123/2.007, allocations: 14.08 MB / 0.5324 GB, free: 36.19 MB / 346.8 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.1231/2.13, allocations: 73.21 MB / 0.6038 GB, free: 2.539 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05878/2.189, allocations: 8.716 MB / 0.6124 GB, free: 15.04 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009424/2.199, allocations: 3.936 MB / 0.6162 GB, free: 11.41 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3164/2.515, allocations: 15.96 MB / 0.6318 GB, free: 68.6 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.958e-05/2.515, allocations: 58.41 kB / 0.6318 GB, free: 68.56 MB / 378.8 MB Notification: Performance of pre-optimization done (n=261): time 8.155e-06/2.515, allocations: 0 / 0.6318 GB, free: 68.56 MB / 378.8 MB Notification: Performance of matching and sorting (n=335): time 0.225/2.74, allocations: 39.92 MB / 0.6708 GB, free: 64.1 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03501/2.775, allocations: 15.29 MB / 0.6858 GB, free: 60.97 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01363/2.789, allocations: 5.022 MB / 0.6907 GB, free: 59.29 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001097/2.79, allocations: 81.73 kB / 0.6907 GB, free: 59.22 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004198/2.794, allocations: 4.581 MB / 0.6952 GB, free: 55.91 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002497/2.797, allocations: 1.257 MB / 0.6964 GB, free: 55 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001825/2.799, allocations: 181.5 kB / 0.6966 GB, free: 54.86 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0008714/2.8, allocations: 0.7013 MB / 0.6973 GB, free: 54.38 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01074/2.81, allocations: 4.265 MB / 0.7015 GB, free: 52.85 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01461/2.825, allocations: 9.423 MB / 0.7107 GB, free: 44.39 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01407/2.839, allocations: 6.277 MB / 0.7168 GB, free: 40.73 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001866/2.839, allocations: 55.16 kB / 0.7168 GB, free: 40.68 MB / 378.8 MB Notification: Performance of matching and sorting (n=1181) (initialization): time 0.06344/2.903, allocations: 17.6 MB / 0.734 GB, free: 26.82 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001407/2.903, allocations: 84 kB / 0.7341 GB, free: 26.74 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002809/2.903, allocations: 184 kB / 0.7343 GB, free: 26.56 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02972/2.933, allocations: 4.975 MB / 0.7391 GB, free: 23.21 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01318/2.946, allocations: 2.033 MB / 0.7411 GB, free: 21.47 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3945/3.341, allocations: 37.22 MB / 0.7775 GB, free: 69.7 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01689/3.358, allocations: 0.6293 MB / 0.7781 GB, free: 69.7 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002641/3.361, allocations: 0.5736 MB / 0.7787 GB, free: 69.7 MB / 394.8 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.004199/3.365, allocations: 0.7908 MB / 0.7794 GB, free: 69.59 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002174/3.367, allocations: 0.5297 MB / 0.7799 GB, free: 69.59 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04222/3.409, allocations: 11.1 MB / 0.7908 GB, free: 69.01 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001032/3.409, allocations: 45.58 kB / 0.7908 GB, free: 69.01 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03633/3.446, allocations: 10.14 MB / 0.8007 GB, free: 68.44 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-05/3.446, allocations: 21.55 kB / 0.8008 GB, free: 68.44 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08045/3.526, allocations: 25.22 MB / 0.8254 GB, free: 61.52 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.616e-05/3.526, allocations: 6.25 kB / 0.8254 GB, free: 61.52 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004771/3.531, allocations: 456.4 kB / 0.8258 GB, free: 61.5 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02476/3.556, allocations: 4.255 MB / 0.83 GB, free: 60.73 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001094/3.557, allocations: 69.17 kB / 0.83 GB, free: 60.7 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06582/3.623, allocations: 29.36 MB / 0.8587 GB, free: 44.09 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02699/3.65, allocations: 12.59 MB / 0.871 GB, free: 32.88 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04709/3.697, allocations: 15.95 MB / 0.8866 GB, free: 19.38 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004778/3.702, allocations: 1.206 MB / 0.8878 GB, free: 18.27 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00233/3.704, allocations: 56 kB / 0.8878 GB, free: 18.22 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008476/3.713, allocations: 267.4 kB / 0.8881 GB, free: 18.07 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00179/3.715, allocations: 256 kB / 0.8883 GB, free: 17.92 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008608/3.716, allocations: 99.39 kB / 0.8884 GB, free: 17.84 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.00996/3.726, allocations: 3.502 MB / 0.8918 GB, free: 14.77 MB / 394.8 MB Notification: Performance of sort global known variables: time 1.363e-06/3.726, allocations: 2.75 kB / 0.8918 GB, free: 14.77 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.01727/3.743, allocations: 2.386 MB / 0.8942 GB, free: 12.41 MB / 394.8 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.3647/4.108, allocations: 18.01 MB / 0.9118 GB, free: 64.66 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.02607/4.134, allocations: 10.75 MB / 0.9223 GB, free: 63.79 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/4.134, allocations: 0 / 0.9223 GB, free: 63.79 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01195/4.146, allocations: 4.517 MB / 0.9267 GB, free: 63.28 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007497/4.154, allocations: 0.7498 MB / 0.9274 GB, free: 63.26 MB / 394.8 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.06601/4.22, allocations: 17 MB / 0.944 GB, free: 60.28 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0176/4.237, allocations: 5.137 MB / 0.949 GB, free: 59.42 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01127/4.249, allocations: 3.23 MB / 0.9522 GB, free: 59.41 MB / 394.8 MB Notification: Performance of SimCode: time 2.545e-06/4.249, allocations: 0 / 0.9522 GB, free: 59.41 MB / 394.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.85/11.1, allocations: 287.4 MB / 1.233 GB, free: 98.35 MB / 426.8 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