Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Constraints_RevoluteConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.965/1.965, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.456e-05/2.456e-05, allocations: 4 kB / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0959/0.09594, allocations: 44.51 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4686/0.5646, allocations: 106.8 MB / 406.8 MB, free: 9.844 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004078/0.5651, allocations: 87.14 kB / 406.9 MB, free: 9.832 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8156/1.381, allocations: 127.3 MB / 0.5217 GB, free: 64.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.164e-06/1.381, allocations: 0.5625 kB / 0.5217 GB, free: 64.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006949/1.381, allocations: 142.2 kB / 0.5218 GB, free: 64.61 MB / 410.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.0402/1.422, allocations: 7.067 MB / 0.5287 GB, free: 63.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/1.422, allocations: 13.31 kB / 0.5287 GB, free: 63.65 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006867/1.429, allocations: 1.191 MB / 0.5299 GB, free: 63.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02367/1.452, allocations: 2.766 MB / 0.5326 GB, free: 63.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02988/1.482, allocations: 7.493 MB / 0.5399 GB, free: 62.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008496/1.483, allocations: 0.5117 MB / 0.5404 GB, free: 62.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004339/1.488, allocations: 0.6894 MB / 0.5411 GB, free: 62.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05968/1.547, allocations: 17.05 MB / 0.5577 GB, free: 58.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007078/1.548, allocations: 84.59 kB / 0.5578 GB, free: 58.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004115/1.552, allocations: 327.5 kB / 0.5581 GB, free: 58.78 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003851/1.556, allocations: 1.497 MB / 0.5596 GB, free: 58.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04931/1.606, allocations: 14.08 MB / 0.5733 GB, free: 58.74 MB / 410.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.1348/1.74, allocations: 73.29 MB / 0.6449 GB, free: 24.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03814/1.779, allocations: 7.565 MB / 0.6523 GB, free: 18.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008122/1.787, allocations: 3.934 MB / 0.6561 GB, free: 15.17 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04144/1.828, allocations: 15.92 MB / 0.6717 GB, free: 1.172 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.386e-05/1.828, allocations: 67.94 kB / 0.6718 GB, free: 1.102 MB / 426.7 MB Notification: Performance of pre-optimization done (n=261): time 7.173e-06/1.828, allocations: 0 / 0.6718 GB, free: 1.102 MB / 426.7 MB Notification: Performance of matching and sorting (n=335): time 0.5208/2.349, allocations: 39.42 MB / 0.7102 GB, free: 76.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03657/2.386, allocations: 14.87 MB / 0.7248 GB, free: 73.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01359/2.4, allocations: 5.027 MB / 0.7297 GB, free: 72.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001121/2.401, allocations: 76.14 kB / 0.7298 GB, free: 72.83 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004581/2.405, allocations: 4.735 MB / 0.7344 GB, free: 70.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002564/2.408, allocations: 1.258 MB / 0.7356 GB, free: 69.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001995/2.41, allocations: 182.6 kB / 0.7358 GB, free: 69.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001153/2.411, allocations: 0.6835 MB / 0.7364 GB, free: 69.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01121/2.422, allocations: 4.028 MB / 0.7404 GB, free: 67.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01755/2.44, allocations: 9.181 MB / 0.7493 GB, free: 59.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01778/2.458, allocations: 6.044 MB / 0.7552 GB, free: 57.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002542/2.458, allocations: 53.22 kB / 0.7553 GB, free: 57.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=1181) (initialization): time 0.0658/2.524, allocations: 17.28 MB / 0.7722 GB, free: 51.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001553/2.524, allocations: 88.03 kB / 0.7723 GB, free: 51.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003039/2.525, allocations: 184 kB / 0.7724 GB, free: 51.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03035/2.555, allocations: 4.983 MB / 0.7773 GB, free: 48.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.013/2.568, allocations: 2.002 MB / 0.7793 GB, free: 46.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07964/2.648, allocations: 37.02 MB / 0.8154 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01356/2.661, allocations: 0.5461 MB / 0.8159 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002723/2.664, allocations: 0.5588 MB / 0.8165 GB, free: 12.61 MB / 426.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,(3,77.8%) 12,(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.004481/2.669, allocations: 0.7847 MB / 0.8172 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002433/2.671, allocations: 0.5284 MB / 0.8178 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.395/3.066, allocations: 10.42 MB / 0.8279 GB, free: 64.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001122/3.066, allocations: 47.33 kB / 0.828 GB, free: 64.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03904/3.105, allocations: 9.482 MB / 0.8372 GB, free: 63.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.918e-05/3.106, allocations: 19.23 kB / 0.8373 GB, free: 63.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07657/3.182, allocations: 23.45 MB / 0.8602 GB, free: 62.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.934e-05/3.182, allocations: 11.06 kB / 0.8602 GB, free: 62.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004723/3.187, allocations: 446.7 kB / 0.8606 GB, free: 62.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02363/3.211, allocations: 3.813 MB / 0.8643 GB, free: 62.44 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00103/3.212, allocations: 62.88 kB / 0.8644 GB, free: 62.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07399/3.286, allocations: 27.37 MB / 0.8911 GB, free: 52.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.03893/3.325, allocations: 12.12 MB / 0.9029 GB, free: 46.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05069/3.376, allocations: 15.01 MB / 0.9176 GB, free: 40.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004487/3.38, allocations: 1.156 MB / 0.9187 GB, free: 40.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002165/3.382, allocations: 63.28 kB / 0.9188 GB, free: 40.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007028/3.389, allocations: 216.9 kB / 0.919 GB, free: 40.06 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001657/3.391, allocations: 254.5 kB / 0.9192 GB, free: 40.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000614/3.392, allocations: 92.84 kB / 0.9193 GB, free: 40 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008963/3.401, allocations: 3.496 MB / 0.9227 GB, free: 38.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.012e-06/3.401, allocations: 0 / 0.9227 GB, free: 38.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01465/3.415, allocations: 2.041 MB / 0.9247 GB, free: 38.59 MB / 426.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.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 (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.04586/3.461, allocations: 16.83 MB / 0.9412 GB, free: 25.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02325/3.485, allocations: 10.31 MB / 0.9512 GB, free: 16.72 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.346e-05/3.485, allocations: 4 kB / 0.9512 GB, free: 16.72 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009591/3.494, allocations: 4.107 MB / 0.9553 GB, free: 12.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006829/3.501, allocations: 0.7589 MB / 0.956 GB, free: 12.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04919/3.55, allocations: 15.82 MB / 0.9714 GB, free: 14.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01314/3.564, allocations: 5.11 MB / 0.9764 GB, free: 10.81 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01377/3.577, allocations: 2.735 MB / 0.9791 GB, free: 9.227 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008405/3.586, allocations: 3.125 MB / 0.9822 GB, free: 6.32 MB / 442.7 MB Notification: Performance of SimCode: time 1.803e-06/3.586, allocations: 0 / 0.9822 GB, free: 6.32 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7086/4.294, allocations: 152.8 MB / 1.131 GB, free: 9.246 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003091/4.295, allocations: 213.2 kB / 1.132 GB, free: 9.012 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.23/12.52, allocations: 4 kB / 1.132 GB, free: 9.008 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint_res.mat does not exist to compare? outputFormat=mat