Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Constraints_SphericalConstraint",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.373/2.373, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.909e-05/2.922e-05, allocations: 2.75 kB / 249.8 MB, free: 5.223 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1446, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5484/0.6931, allocations: 105.6 MB / 399.9 MB, free: 15.44 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003614/0.6935, allocations: 91.06 kB / 400 MB, free: 15.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9932/1.687, allocations: 124.5 MB / 0.5122 GB, free: 67.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.328e-06/1.687, allocations: 3.562 kB / 0.5122 GB, free: 67.45 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005392/1.687, allocations: 146.5 kB / 0.5124 GB, free: 67.45 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: 2366 * Number of variables: 2366 Notification: Performance of Generate backend data structure: time 0.03972/1.727, allocations: 7.051 MB / 0.5192 GB, free: 64.9 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/1.727, allocations: 7.031 kB / 0.5192 GB, free: 64.9 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02729/1.754, allocations: 2.91 MB / 0.5221 GB, free: 64.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03275/1.787, allocations: 8.135 MB / 0.53 GB, free: 63.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004971/1.788, allocations: 229.4 kB / 0.5302 GB, free: 63.6 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00392/1.792, allocations: 421.8 kB / 0.5307 GB, free: 63.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02806/1.82, allocations: 10.03 MB / 0.5404 GB, free: 63.56 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04278/1.863, allocations: 14.69 MB / 0.5548 GB, free: 58.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000523/1.863, allocations: 80.77 kB / 0.5549 GB, free: 58.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003659/1.867, allocations: 39.47 kB / 0.5549 GB, free: 58.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004175/1.871, allocations: 1.494 MB / 0.5564 GB, free: 58.54 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.142/2.013, allocations: 74.09 MB / 0.6287 GB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01177/2.025, allocations: 4.463 MB / 0.6331 GB, free: 8.996 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008749/2.034, allocations: 3.25 MB / 0.6363 GB, free: 6.004 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00193/2.036, allocations: 0.6917 MB / 0.6369 GB, free: 5.262 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001024/2.036, allocations: 67.97 kB / 0.637 GB, free: 5.191 MB / 410.7 MB Notification: Performance of pre-optimization done (n=259): time 7.564e-06/2.036, allocations: 0 / 0.637 GB, free: 5.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=278): time 0.4781/2.514, allocations: 23.63 MB / 0.6601 GB, free: 74.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.716e-05/2.514, allocations: 153.7 kB / 0.6602 GB, free: 74.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01349/2.528, allocations: 4.595 MB / 0.6647 GB, free: 73.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009879/2.529, allocations: 29.2 kB / 0.6647 GB, free: 73.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004803/2.534, allocations: 4.876 MB / 0.6695 GB, free: 71.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002176/2.536, allocations: 1.059 MB / 0.6705 GB, free: 70.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00141/2.537, allocations: 0 / 0.6705 GB, free: 70.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0009049/2.538, allocations: 0.6927 MB / 0.6712 GB, free: 70.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008742/2.547, allocations: 3.173 MB / 0.6743 GB, free: 70.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01292/2.56, allocations: 8.657 MB / 0.6828 GB, free: 63.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01313/2.573, allocations: 5.165 MB / 0.6878 GB, free: 63.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002821/2.574, allocations: 57.56 kB / 0.6879 GB, free: 63.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=1194) (initialization): time 0.04512/2.619, allocations: 12.62 MB / 0.7002 GB, free: 61.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000171/2.619, allocations: 88.34 kB / 0.7003 GB, free: 61.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02134/2.64, allocations: 5.694 MB / 0.7058 GB, free: 59.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01305/2.653, allocations: 2.141 MB / 0.7079 GB, free: 59.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01595/2.669, allocations: 2.176 MB / 0.71 GB, free: 59.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02575/2.695, allocations: 13.79 MB / 0.7235 GB, free: 49.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01361/2.709, allocations: 417.3 kB / 0.7239 GB, free: 49.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002768/2.712, allocations: 0.5504 MB / 0.7244 GB, free: 49.38 MB / 410.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 (1140): * Single equations (assignments): 1126 * 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.00398/2.716, allocations: 0.5994 MB / 0.725 GB, free: 48.89 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02568/2.741, allocations: 6.527 MB / 0.7314 GB, free: 46.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002217/2.744, allocations: 0.4949 MB / 0.7319 GB, free: 46.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02619/2.77, allocations: 6.363 MB / 0.7381 GB, free: 43.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02238/2.792, allocations: 5.514 MB / 0.7435 GB, free: 38.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02087/2.813, allocations: 5.364 MB / 0.7487 GB, free: 34.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001247/2.813, allocations: 14.12 kB / 0.7487 GB, free: 34.49 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05987/2.873, allocations: 16.28 MB / 0.7646 GB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.675e-05/2.873, allocations: 10.44 kB / 0.7646 GB, free: 21.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006008/2.879, allocations: 0.5175 MB / 0.7652 GB, free: 21.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01163/2.891, allocations: 1.786 MB / 0.7669 GB, free: 19.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000954/2.892, allocations: 39.17 kB / 0.7669 GB, free: 19.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02189/2.914, allocations: 9.441 MB / 0.7762 GB, free: 11.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00133/2.915, allocations: 1.41 MB / 0.7775 GB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03112/2.947, allocations: 11.07 MB / 0.7883 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002521/2.949, allocations: 0.5413 MB / 0.7889 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002737/2.952, allocations: 27.98 kB / 0.7889 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006729/2.959, allocations: 175.7 kB / 0.7891 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001496/2.96, allocations: 205.5 kB / 0.7893 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004909/2.961, allocations: 90.91 kB / 0.7893 GB, free: 14.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.3784/3.339, allocations: 3.078 MB / 0.7923 GB, free: 80.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.92e-07/3.339, allocations: 0 / 0.7923 GB, free: 80.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01607/3.355, allocations: 1.514 MB / 0.7938 GB, free: 80.71 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 12 ($STATESET140245092217224.x[3],$STATESET140245092217224.x[2],$STATESET140245092217224.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.03765/3.393, allocations: 13.92 MB / 0.8074 GB, free: 75.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02532/3.419, allocations: 8.514 MB / 0.8157 GB, free: 74.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.518e-05/3.419, allocations: 1.469 kB / 0.8157 GB, free: 74.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01145/3.43, allocations: 3.319 MB / 0.819 GB, free: 74.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008056/3.438, allocations: 0.6722 MB / 0.8196 GB, free: 74.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06113/3.499, allocations: 14.49 MB / 0.8338 GB, free: 71.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0145/3.514, allocations: 4.974 MB / 0.8386 GB, free: 70.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01831/3.532, allocations: 2.997 MB / 0.8416 GB, free: 70.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008906/3.541, allocations: 3.111 MB / 0.8446 GB, free: 70.21 MB / 426.7 MB Notification: Performance of SimCode: time 1.783e-06/3.541, allocations: 3.219 kB / 0.8446 GB, free: 70.21 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7123/4.254, allocations: 116.6 MB / 0.9585 GB, free: 71.91 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003187/4.254, allocations: 165.5 kB / 0.9586 GB, free: 71.73 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 9.177/13.43, allocations: 0 / 0.9586 GB, free: 71.73 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.SphericalConstraint_res.mat does not exist to compare? outputFormat=mat