Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Constraints_SphericalConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.716/1.716, allocations: 171.2 MB / 183.3 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.406e-05/4.425e-05, allocations: 4 kB / 225.1 MB, free: 2.195 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3227, allocations: 38.76 MB / 263.9 MB, free: 9.781 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1809/0.5036, allocations: 100.6 MB / 364.5 MB, free: 5.008 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/0.504, allocations: 83.95 kB / 364.6 MB, free: 4.926 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7203/1.224, allocations: 127.3 MB / 491.9 MB, free: 13.54 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.665e-06/1.224, allocations: 0 / 491.9 MB, free: 13.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005662/1.225, allocations: 151.9 kB / 492 MB, free: 13.39 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: 2366 * Number of variables: 2366 Notification: Performance of Generate backend data structure: time 0.03957/1.264, allocations: 7.047 MB / 499.1 MB, free: 6.266 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/1.265, allocations: 8.031 kB / 499.1 MB, free: 6.258 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006767/1.271, allocations: 1.202 MB / 0.4886 GB, free: 5.043 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02433/1.296, allocations: 2.908 MB / 0.4914 GB, free: 2.121 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2868/1.583, allocations: 8.117 MB / 0.4993 GB, free: 41.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007165/1.583, allocations: 0.5176 MB / 0.4998 GB, free: 41.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003831/1.587, allocations: 0.7026 MB / 0.5005 GB, free: 41.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05654/1.644, allocations: 17.21 MB / 0.5173 GB, free: 37.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005953/1.645, allocations: 82.56 kB / 0.5174 GB, free: 37.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004001/1.649, allocations: 329.6 kB / 0.5177 GB, free: 37.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003753/1.652, allocations: 1.499 MB / 0.5192 GB, free: 37.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04655/1.699, allocations: 14.37 MB / 0.5332 GB, free: 37.76 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.1244/1.823, allocations: 74.72 MB / 0.6062 GB, free: 1.438 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06327/1.887, allocations: 8.792 MB / 0.6148 GB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008543/1.895, allocations: 3.667 MB / 0.6184 GB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3114/2.207, allocations: 15.75 MB / 0.6337 GB, free: 69.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.71e-05/2.207, allocations: 68.88 kB / 0.6338 GB, free: 69.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=248): time 7.253e-06/2.207, allocations: 0 / 0.6338 GB, free: 69.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=264): time 0.1155/2.322, allocations: 23.4 MB / 0.6567 GB, free: 65.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001493/2.324, allocations: 1.608 MB / 0.6582 GB, free: 64.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01589/2.34, allocations: 5.153 MB / 0.6633 GB, free: 63.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009849/2.341, allocations: 61.11 kB / 0.6633 GB, free: 63.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006376/2.347, allocations: 4.839 MB / 0.668 GB, free: 61.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002475/2.35, allocations: 1.039 MB / 0.6691 GB, free: 60.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001936/2.352, allocations: 175.4 kB / 0.6692 GB, free: 60.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.001593/2.354, allocations: 0.6857 MB / 0.6699 GB, free: 60.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01159/2.365, allocations: 3.207 MB / 0.673 GB, free: 60.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01676/2.382, allocations: 8.591 MB / 0.6814 GB, free: 53.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01646/2.399, allocations: 5.194 MB / 0.6865 GB, free: 53.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004742/2.399, allocations: 54.41 kB / 0.6865 GB, free: 53.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.03952/2.439, allocations: 13.37 MB / 0.6996 GB, free: 50.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001651/2.439, allocations: 90.27 kB / 0.6997 GB, free: 50.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01753/2.456, allocations: 5.565 MB / 0.7051 GB, free: 48.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01018/2.467, allocations: 2.012 MB / 0.7071 GB, free: 48.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01377/2.481, allocations: 2.123 MB / 0.7092 GB, free: 48.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02054/2.501, allocations: 13.7 MB / 0.7225 GB, free: 36.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01101/2.512, allocations: 0.5702 MB / 0.7231 GB, free: 36.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002268/2.514, allocations: 0.5293 MB / 0.7236 GB, free: 35.74 MB / 378.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 (1105): * Single equations (assignments): 1091 * 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 {1} * 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.003338/2.518, allocations: 0.7922 MB / 0.7244 GB, free: 34.95 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001445/2.519, allocations: 0.5168 MB / 0.7249 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02065/2.54, allocations: 6.385 MB / 0.7311 GB, free: 29.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01761/2.558, allocations: 5.478 MB / 0.7365 GB, free: 24.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01842/2.576, allocations: 5.849 MB / 0.7422 GB, free: 19.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.9e-05/2.576, allocations: 11.39 kB / 0.7422 GB, free: 19.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05534/2.632, allocations: 17.06 MB / 0.7589 GB, free: 6.266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.556e-05/2.632, allocations: 12.22 kB / 0.7589 GB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004939/2.637, allocations: 0.4899 MB / 0.7594 GB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009719/2.646, allocations: 1.793 MB / 0.7611 GB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007875/2.647, allocations: 67.42 kB / 0.7612 GB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2982/2.945, allocations: 9.759 MB / 0.7707 GB, free: 73.65 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001328/2.947, allocations: 1.471 MB / 0.7721 GB, free: 72.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05538/3.002, allocations: 10.74 MB / 0.7826 GB, free: 69.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00247/3.005, allocations: 0.5748 MB / 0.7832 GB, free: 69.67 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002375/3.007, allocations: 59.08 kB / 0.7832 GB, free: 69.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008016/3.015, allocations: 221 kB / 0.7834 GB, free: 69.67 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001836/3.017, allocations: 188.8 kB / 0.7836 GB, free: 69.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00095/3.018, allocations: 84.84 kB / 0.7837 GB, free: 69.66 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.01403/3.032, allocations: 3.582 MB / 0.7872 GB, free: 69.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.252e-06/3.032, allocations: 0 / 0.7872 GB, free: 69.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01691/3.049, allocations: 1.672 MB / 0.7888 GB, free: 69.41 MB / 394.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.03875/3.088, allocations: 13.41 MB / 0.8019 GB, free: 64.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.02197/3.11, allocations: 8.63 MB / 0.8104 GB, free: 63.89 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.612e-05/3.11, allocations: 0 / 0.8104 GB, free: 63.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009957/3.12, allocations: 3.309 MB / 0.8136 GB, free: 63.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006808/3.127, allocations: 0.7618 MB / 0.8143 GB, free: 63.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04799/3.175, allocations: 14.74 MB / 0.8287 GB, free: 59.45 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0115/3.187, allocations: 4.965 MB / 0.8336 GB, free: 57.79 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.01405/3.201, allocations: 2.903 MB / 0.8364 GB, free: 57.72 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007593/3.208, allocations: 3.12 MB / 0.8395 GB, free: 55.16 MB / 394.7 MB Notification: Performance of SimCode: time 2.535e-06/3.208, allocations: 0 / 0.8395 GB, free: 55.16 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5832/3.792, allocations: 122.7 MB / 0.9593 GB, free: 62.5 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002765/3.792, allocations: 206.4 kB / 0.9595 GB, free: 62.28 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.586/11.38, allocations: 0 / 0.9595 GB, free: 62.28 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint_res.mat does not exist to compare? outputFormat=mat