Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.341/2.341, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.606e-05/2.62e-05, allocations: 3.969 kB / 249.8 MB, free: 5.258 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1094, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5997/0.7092, allocations: 106.1 MB / 400.4 MB, free: 15.47 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003493/0.7096, allocations: 89.31 kB / 400.5 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9595/1.669, allocations: 124.3 MB / 0.5125 GB, free: 67.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.635e-06/1.669, allocations: 0 / 0.5125 GB, free: 67.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005221/1.67, allocations: 141.3 kB / 0.5126 GB, free: 67.82 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2355 * Number of variables: 2355 Notification: Performance of Generate backend data structure: time 0.03853/1.708, allocations: 7.07 MB / 0.5196 GB, free: 65.29 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/1.708, allocations: 12.09 kB / 0.5196 GB, free: 65.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03093/1.739, allocations: 2.765 MB / 0.5223 GB, free: 64.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03288/1.772, allocations: 7.482 MB / 0.5296 GB, free: 64.01 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005083/1.773, allocations: 225.3 kB / 0.5298 GB, free: 64.01 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003964/1.777, allocations: 416.7 kB / 0.5302 GB, free: 64 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02952/1.806, allocations: 10.08 MB / 0.54 GB, free: 63.97 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04411/1.85, allocations: 14.59 MB / 0.5543 GB, free: 59.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005048/1.851, allocations: 84.81 kB / 0.5543 GB, free: 59.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003441/1.855, allocations: 38.91 kB / 0.5544 GB, free: 59.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004318/1.859, allocations: 1.502 MB / 0.5559 GB, free: 59.09 MB / 394.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.1391/1.998, allocations: 72.74 MB / 0.6269 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01177/2.01, allocations: 4.82 MB / 0.6316 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008762/2.019, allocations: 3.525 MB / 0.635 GB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001869/2.021, allocations: 0.7116 MB / 0.6357 GB, free: 7.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.027e-05/2.021, allocations: 64.03 kB / 0.6358 GB, free: 7.004 MB / 410.7 MB Notification: Performance of pre-optimization done (n=270): time 8.045e-06/2.021, allocations: 0 / 0.6358 GB, free: 7.004 MB / 410.7 MB Notification: Performance of matching and sorting (n=353): time 0.5615/2.582, allocations: 41.8 MB / 0.6766 GB, free: 74.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.662e-05/2.582, allocations: 163 kB / 0.6768 GB, free: 74.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01598/2.598, allocations: 4.438 MB / 0.6811 GB, free: 73.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001521/2.6, allocations: 25.7 kB / 0.6811 GB, free: 73.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006453/2.606, allocations: 4.767 MB / 0.6858 GB, free: 71.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003557/2.61, allocations: 1.276 MB / 0.687 GB, free: 70.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002015/2.612, allocations: 0 / 0.687 GB, free: 70.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.001208/2.613, allocations: 0.7033 MB / 0.6877 GB, free: 69.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01603/2.629, allocations: 4.026 MB / 0.6916 GB, free: 69.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02179/2.651, allocations: 9.318 MB / 0.7007 GB, free: 62.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02027/2.672, allocations: 6.057 MB / 0.7067 GB, free: 60.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002503/2.672, allocations: 54.5 kB / 0.7067 GB, free: 60.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=1223) (initialization): time 0.08408/2.756, allocations: 17.4 MB / 0.7237 GB, free: 55.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001692/2.756, allocations: 90.94 kB / 0.7238 GB, free: 55.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003483/2.757, allocations: 189.4 kB / 0.724 GB, free: 55.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04633/2.803, allocations: 5.393 MB / 0.7292 GB, free: 54.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01612/2.819, allocations: 2.081 MB / 0.7313 GB, free: 54.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0873/2.907, allocations: 35.47 MB / 0.7659 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01582/2.922, allocations: 416 kB / 0.7663 GB, free: 23.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00296/2.925, allocations: 0.5901 MB / 0.7669 GB, free: 23.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 862 * 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 (1089): * Single equations (assignments): 1078 * 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.003564/2.929, allocations: 0.5841 MB / 0.7675 GB, free: 22.47 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.06465/2.994, allocations: 11.76 MB / 0.7789 GB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002526/2.996, allocations: 0.5014 MB / 0.7794 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04937/3.046, allocations: 10.43 MB / 0.7896 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001476/3.046, allocations: 48 kB / 0.7897 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.4099/3.456, allocations: 8.986 MB / 0.7984 GB, free: 79.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001688/3.456, allocations: 20.89 kB / 0.7985 GB, free: 79.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09135/3.547, allocations: 22.72 MB / 0.8206 GB, free: 78.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-05/3.548, allocations: 3.812 kB / 0.8206 GB, free: 78.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006059/3.554, allocations: 479.7 kB / 0.8211 GB, free: 78.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02912/3.583, allocations: 3.79 MB / 0.8248 GB, free: 78.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001135/3.584, allocations: 23.52 kB / 0.8248 GB, free: 78.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07019/3.654, allocations: 25.95 MB / 0.8502 GB, free: 68.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.03199/3.686, allocations: 11.66 MB / 0.8616 GB, free: 62.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05577/3.742, allocations: 15.35 MB / 0.8766 GB, free: 56.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005649/3.748, allocations: 1.133 MB / 0.8777 GB, free: 55.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003028/3.751, allocations: 12.66 kB / 0.8777 GB, free: 55.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008606/3.759, allocations: 170 kB / 0.8778 GB, free: 55.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002195/3.762, allocations: 254.6 kB / 0.8781 GB, free: 55.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001056/3.763, allocations: 100.5 kB / 0.8782 GB, free: 55.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.009325/3.772, allocations: 2.983 MB / 0.8811 GB, free: 54.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.503e-06/3.772, allocations: 0 / 0.8811 GB, free: 54.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01697/3.789, allocations: 1.834 MB / 0.8829 GB, free: 54.62 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 ($STATESET139654409707913.x,$STATESET139654409707912.x,joint.R_rel.w[2],joint.constantTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (221): * Single equations (assignments): 213 * 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.05807/3.847, allocations: 17.31 MB / 0.8998 GB, free: 41.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02904/3.876, allocations: 10.41 MB / 0.9099 GB, free: 32.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.789e-05/3.876, allocations: 4 kB / 0.9099 GB, free: 32.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0123/3.889, allocations: 4.157 MB / 0.914 GB, free: 28.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008233/3.897, allocations: 0.6404 MB / 0.9146 GB, free: 27.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06213/3.959, allocations: 15.53 MB / 0.9298 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01808/3.977, allocations: 5.134 MB / 0.9348 GB, free: 10.62 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01977/3.997, allocations: 2.838 MB / 0.9376 GB, free: 8.059 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01141/4.009, allocations: 3.116 MB / 0.9406 GB, free: 4.941 MB / 426.7 MB Notification: Performance of SimCode: time 2.414e-06/4.009, allocations: 4 kB / 0.9406 GB, free: 4.938 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7822/4.791, allocations: 147.4 MB / 1.085 GB, free: 11.16 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003962/4.792, allocations: 168.8 kB / 1.085 GB, free: 10.96 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 9.577/14.37, allocations: 0 / 1.085 GB, free: 10.96 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat does not exist to compare? outputFormat=mat