Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Constraints_SphericalConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.946/1.946, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.723e-05/3.735e-05, allocations: 7.984 kB / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1093, allocations: 44.5 MB / 300 MB, free: 6.078 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4758/0.5853, allocations: 106.3 MB / 406.3 MB, free: 10.12 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.5856, allocations: 90.95 kB / 406.3 MB, free: 10.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8157/1.401, allocations: 127.5 MB / 0.5213 GB, free: 64.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/1.401, allocations: 0.9375 kB / 0.5213 GB, free: 64.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000662/1.402, allocations: 145.2 kB / 0.5215 GB, free: 64.52 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: 2366 * Number of variables: 2366 Notification: Performance of Generate backend data structure: time 0.03754/1.44, allocations: 7.055 MB / 0.5284 GB, free: 63.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/1.44, allocations: 10.25 kB / 0.5284 GB, free: 63.6 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00615/1.446, allocations: 1.201 MB / 0.5296 GB, free: 63.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02466/1.471, allocations: 2.901 MB / 0.5324 GB, free: 63.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03047/1.501, allocations: 8.147 MB / 0.5403 GB, free: 62.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007849/1.502, allocations: 0.524 MB / 0.5409 GB, free: 62.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004085/1.506, allocations: 0.6918 MB / 0.5415 GB, free: 62.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06971/1.576, allocations: 17.21 MB / 0.5583 GB, free: 58.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006975/1.577, allocations: 79.72 kB / 0.5584 GB, free: 58.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004404/1.581, allocations: 338.2 kB / 0.5587 GB, free: 58.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005104/1.586, allocations: 1.486 MB / 0.5602 GB, free: 58.54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05193/1.638, allocations: 14.37 MB / 0.5742 GB, free: 58.48 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.1297/1.768, allocations: 74.71 MB / 0.6472 GB, free: 22.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04063/1.809, allocations: 7.217 MB / 0.6542 GB, free: 16.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01061/1.819, allocations: 3.656 MB / 0.6578 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3565/2.176, allocations: 15.7 MB / 0.6731 GB, free: 79.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.942e-05/2.176, allocations: 67.41 kB / 0.6732 GB, free: 79.58 MB / 426.7 MB Notification: Performance of pre-optimization done (n=248): time 7.073e-06/2.176, allocations: 0 / 0.6732 GB, free: 79.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=264): time 0.1054/2.281, allocations: 23.41 MB / 0.6961 GB, free: 75.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00132/2.283, allocations: 1.616 MB / 0.6976 GB, free: 73.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01088/2.294, allocations: 5.141 MB / 0.7027 GB, free: 73.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007898/2.294, allocations: 64.89 kB / 0.7027 GB, free: 73.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004102/2.299, allocations: 4.845 MB / 0.7075 GB, free: 70.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001814/2.3, allocations: 1.036 MB / 0.7085 GB, free: 70.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001116/2.302, allocations: 181.5 kB / 0.7086 GB, free: 70.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006223/2.302, allocations: 0.6839 MB / 0.7093 GB, free: 69.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008126/2.31, allocations: 3.208 MB / 0.7124 GB, free: 69.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01203/2.322, allocations: 8.599 MB / 0.7208 GB, free: 62.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01179/2.334, allocations: 5.193 MB / 0.7259 GB, free: 62.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001979/2.334, allocations: 58.44 kB / 0.726 GB, free: 62.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.03952/2.374, allocations: 13.47 MB / 0.7391 GB, free: 61.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000176/2.374, allocations: 84.53 kB / 0.7392 GB, free: 61.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01833/2.393, allocations: 5.643 MB / 0.7447 GB, free: 60.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01116/2.404, allocations: 2.106 MB / 0.7468 GB, free: 60.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01365/2.417, allocations: 2.1 MB / 0.7488 GB, free: 59.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02214/2.44, allocations: 14.09 MB / 0.7626 GB, free: 49.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01122/2.451, allocations: 0.5603 MB / 0.7631 GB, free: 49.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002147/2.453, allocations: 0.5387 MB / 0.7637 GB, free: 49.65 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 875 * 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.sphereColor[3],joint.sphereColor[2],joint.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1102): * Single equations (assignments): 1088 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,100.0%) 3,(3,100.0%) 3,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00279/2.456, allocations: 0.7921 MB / 0.7644 GB, free: 49.01 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001424/2.457, allocations: 0.518 MB / 0.7649 GB, free: 48.72 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0209/2.478, allocations: 6.379 MB / 0.7712 GB, free: 45.78 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01785/2.496, allocations: 5.483 MB / 0.7765 GB, free: 41.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01821/2.514, allocations: 5.845 MB / 0.7822 GB, free: 36.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.613e-05/2.515, allocations: 11.53 kB / 0.7822 GB, free: 36.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05124/2.566, allocations: 17.07 MB / 0.7989 GB, free: 22.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.5e-05/2.566, allocations: 8 kB / 0.7989 GB, free: 22.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004936/2.571, allocations: 499.4 kB / 0.7994 GB, free: 22.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009712/2.581, allocations: 1.797 MB / 0.8011 GB, free: 21.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007811/2.581, allocations: 63.03 kB / 0.8012 GB, free: 21.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0183/2.6, allocations: 9.736 MB / 0.8107 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001157/2.601, allocations: 1.469 MB / 0.8122 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02429/2.625, allocations: 10.75 MB / 0.8226 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001956/2.627, allocations: 0.5658 MB / 0.8232 GB, free: 232 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001372/2.629, allocations: 61.55 kB / 0.8233 GB, free: 176 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004542/2.633, allocations: 216 kB / 0.8235 GB, free: 44 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001269/2.634, allocations: 219 kB / 0.8237 GB, free: 0 / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008948/2.635, allocations: 121.2 kB / 0.8238 GB, free: 0 / 426.7 MB Notification: Performance of sorting global known variables: time 0.3207/2.956, allocations: 3.596 MB / 0.8273 GB, free: 83.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.603e-06/2.956, allocations: 3.219 kB / 0.8273 GB, free: 83.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01251/2.969, allocations: 1.683 MB / 0.8289 GB, free: 83.41 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],joint.w_rel[1],joint.w_rel[2],joint.w_rel[3],bodyOfConstraint.body.w_a[1],bodyOfConstraint.body.w_a[2],bodyOfConstraint.body.w_a[3],freeMotionScalarInit.derd[1].u,freeMotionScalarInit.derd[2].u,freeMotionScalarInit.derd[3].u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (221): * Single equations (assignments): 211 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 3,(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0295/2.998, allocations: 13.41 MB / 0.842 GB, free: 78.77 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02178/3.02, allocations: 8.766 MB / 0.8506 GB, free: 77.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.549e-05/3.02, allocations: 3.5 kB / 0.8506 GB, free: 77.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00962/3.03, allocations: 3.311 MB / 0.8538 GB, free: 77.17 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007217/3.037, allocations: 0.7751 MB / 0.8546 GB, free: 77.15 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04776/3.085, allocations: 14.73 MB / 0.869 GB, free: 74.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01107/3.096, allocations: 4.959 MB / 0.8738 GB, free: 73.39 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01397/3.11, allocations: 2.898 MB / 0.8767 GB, free: 73.33 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007005/3.117, allocations: 3.115 MB / 0.8797 GB, free: 73.33 MB / 442.7 MB Notification: Performance of SimCode: time 1.022e-06/3.117, allocations: 0 / 0.8797 GB, free: 73.33 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6423/3.759, allocations: 123.3 MB / 1 GB, free: 62.59 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/3.76, allocations: 208.8 kB / 1 GB, free: 62.37 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.132/10.89, allocations: 0 / 1 GB, free: 62.37 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint_res.mat does not exist to compare? outputFormat=mat