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.85/1.85, allocations: 171.3 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.416e-05/2.427e-05, allocations: 4 kB / 219.6 MB, free: 6.953 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2838/0.2838, allocations: 38.77 MB / 258.3 MB, free: 12.21 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1837/0.4677, allocations: 99.94 MB / 358.3 MB, free: 9.793 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003374/0.4681, allocations: 87.95 kB / 358.4 MB, free: 9.707 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6913/1.159, allocations: 124.3 MB / 482.7 MB, free: 9.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.765e-06/1.159, allocations: 0 / 482.7 MB, free: 9.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005193/1.16, allocations: 144 kB / 482.9 MB, free: 9.359 MB / 330.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.03675/1.197, allocations: 7.051 MB / 489.9 MB, free: 2.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/1.197, allocations: 8.031 kB / 489.9 MB, free: 2.223 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3008/1.498, allocations: 2.894 MB / 492.8 MB, free: 35.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03076/1.528, allocations: 8.118 MB / 0.4892 GB, free: 34.65 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004433/1.529, allocations: 226.5 kB / 0.4894 GB, free: 34.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003782/1.533, allocations: 420.4 kB / 0.4898 GB, free: 34.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02617/1.559, allocations: 10.03 MB / 0.4996 GB, free: 34.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03932/1.598, allocations: 14.69 MB / 0.5139 GB, free: 30.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000453/1.599, allocations: 85.36 kB / 0.514 GB, free: 30.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003166/1.602, allocations: 42.59 kB / 0.5141 GB, free: 30.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003629/1.606, allocations: 1.488 MB / 0.5155 GB, free: 30.95 MB / 330.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.1201/1.726, allocations: 74.1 MB / 0.5879 GB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009079/1.735, allocations: 4.458 MB / 0.5922 GB, free: 9.086 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007065/1.742, allocations: 3.257 MB / 0.5954 GB, free: 6.086 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001496/1.744, allocations: 0.6866 MB / 0.5961 GB, free: 5.352 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.221e-05/1.744, allocations: 56.56 kB / 0.5961 GB, free: 5.289 MB / 362.7 MB Notification: Performance of pre-optimization done (n=259): time 6.442e-06/1.744, allocations: 0 / 0.5961 GB, free: 5.289 MB / 362.7 MB Notification: Performance of matching and sorting (n=278): time 0.09417/1.838, allocations: 23.62 MB / 0.6192 GB, free: 0.9102 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/1.838, allocations: 162.2 kB / 0.6194 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2803/2.118, allocations: 4.59 MB / 0.6238 GB, free: 78.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008446/2.119, allocations: 26.95 kB / 0.6239 GB, free: 78.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004606/2.124, allocations: 4.871 MB / 0.6286 GB, free: 76.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002043/2.126, allocations: 1.057 MB / 0.6297 GB, free: 76.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00118/2.127, allocations: 3.875 kB / 0.6297 GB, free: 76.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0006786/2.128, allocations: 0.6908 MB / 0.6303 GB, free: 75.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007355/2.135, allocations: 3.168 MB / 0.6334 GB, free: 75.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01125/2.147, allocations: 8.654 MB / 0.6419 GB, free: 68.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01156/2.158, allocations: 5.163 MB / 0.6469 GB, free: 68.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000245/2.159, allocations: 57.41 kB / 0.647 GB, free: 68.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=1194) (initialization): time 0.03766/2.196, allocations: 12.52 MB / 0.6592 GB, free: 67.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001627/2.196, allocations: 90.94 kB / 0.6593 GB, free: 67.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01713/2.214, allocations: 5.611 MB / 0.6648 GB, free: 67.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01026/2.224, allocations: 2.05 MB / 0.6668 GB, free: 67.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01446/2.238, allocations: 2.198 MB / 0.6689 GB, free: 66.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02088/2.259, allocations: 13.43 MB / 0.682 GB, free: 58.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01194/2.271, allocations: 423.9 kB / 0.6824 GB, free: 58.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00267/2.274, allocations: 0.5446 MB / 0.683 GB, free: 58.83 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 899 * 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 (1143): * Single equations (assignments): 1129 * 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.004329/2.278, allocations: 0.5952 MB / 0.6836 GB, free: 58.34 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02183/2.3, allocations: 6.52 MB / 0.6899 GB, free: 56.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002312/2.303, allocations: 0.4945 MB / 0.6904 GB, free: 55.74 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02195/2.325, allocations: 6.359 MB / 0.6966 GB, free: 53.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01819/2.343, allocations: 5.509 MB / 0.702 GB, free: 51.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01647/2.359, allocations: 5.381 MB / 0.7073 GB, free: 47.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001039/2.36, allocations: 15.02 kB / 0.7073 GB, free: 47.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04854/2.408, allocations: 16.27 MB / 0.7232 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.255e-05/2.408, allocations: 14.95 kB / 0.7232 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004999/2.413, allocations: 0.5125 MB / 0.7237 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009486/2.423, allocations: 1.785 MB / 0.7254 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008318/2.424, allocations: 38.78 kB / 0.7255 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01789/2.442, allocations: 9.446 MB / 0.7347 GB, free: 24.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001141/2.443, allocations: 1.427 MB / 0.7361 GB, free: 22.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03169/2.475, allocations: 11.05 MB / 0.7469 GB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001938/2.477, allocations: 0.5318 MB / 0.7474 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002259/2.479, allocations: 25.89 kB / 0.7474 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005579/2.484, allocations: 181.1 kB / 0.7476 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001151/2.486, allocations: 208.9 kB / 0.7478 GB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003874/2.486, allocations: 84.05 kB / 0.7479 GB, free: 11.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.008/2.494, allocations: 3.088 MB / 0.7509 GB, free: 9.234 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.02e-07/2.494, allocations: 0 / 0.7509 GB, free: 9.234 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01233/2.506, allocations: 1.511 MB / 0.7524 GB, free: 7.734 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 12 ($STATESET7340347784.x[3],$STATESET7340347784.x[2],$STATESET7340347784.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 (235): * Single equations (assignments): 225 * 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.3245/2.831, allocations: 13.91 MB / 0.7659 GB, free: 62.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02105/2.852, allocations: 8.383 MB / 0.7741 GB, free: 62.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-05/2.852, allocations: 3.219 kB / 0.7741 GB, free: 62.06 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009388/2.862, allocations: 3.322 MB / 0.7774 GB, free: 61.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006905/2.869, allocations: 0.66 MB / 0.778 GB, free: 61.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04971/2.918, allocations: 14.5 MB / 0.7922 GB, free: 58.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0123/2.931, allocations: 4.971 MB / 0.797 GB, free: 57.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.01558/2.946, allocations: 3.001 MB / 0.8 GB, free: 57.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007621/2.954, allocations: 3.124 MB / 0.803 GB, free: 57.55 MB / 378.7 MB Notification: Performance of SimCode: time 1.904e-06/2.954, allocations: 0 / 0.803 GB, free: 57.55 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5814/3.535, allocations: 115.9 MB / 0.9162 GB, free: 70.95 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000295/3.536, allocations: 164.4 kB / 0.9164 GB, free: 70.76 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.102/10.64, allocations: 1.641 kB / 0.9164 GB, free: 70.76 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