Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_SphericalConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.926/1.926, allocations: 194.9 MB / 208.4 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.609e-05/3.625e-05, allocations: 4 kB / 255.4 MB, free: 3.094 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09441/0.09449, allocations: 44.5 MB / 299.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4538/0.5483, allocations: 106.3 MB / 406.2 MB, free: 10.56 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/0.5487, allocations: 90.03 kB / 406.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8097/1.358, allocations: 127.5 MB / 0.5213 GB, free: 64.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.524e-06/1.358, allocations: 0.6875 kB / 0.5213 GB, free: 64.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007719/1.359, allocations: 143.7 kB / 0.5214 GB, free: 64.5 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.03944/1.399, allocations: 7.056 MB / 0.5283 GB, free: 63.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/1.399, allocations: 9.625 kB / 0.5283 GB, free: 63.65 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006361/1.405, allocations: 1.201 MB / 0.5295 GB, free: 63.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02446/1.43, allocations: 2.908 MB / 0.5324 GB, free: 63.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03042/1.46, allocations: 8.143 MB / 0.5403 GB, free: 62.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006941/1.461, allocations: 0.5234 MB / 0.5408 GB, free: 62.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003936/1.465, allocations: 0.6896 MB / 0.5415 GB, free: 62.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05465/1.52, allocations: 17.21 MB / 0.5583 GB, free: 58.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005278/1.52, allocations: 88.41 kB / 0.5584 GB, free: 58.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003537/1.524, allocations: 330.4 kB / 0.5587 GB, free: 58.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003613/1.527, allocations: 1.485 MB / 0.5602 GB, free: 58.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04704/1.574, allocations: 14.38 MB / 0.5742 GB, free: 58.54 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.1337/1.708, allocations: 74.71 MB / 0.6472 GB, free: 22.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03456/1.743, allocations: 7.223 MB / 0.6542 GB, free: 16.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007043/1.75, allocations: 3.656 MB / 0.6578 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3239/2.074, allocations: 15.7 MB / 0.6731 GB, free: 80 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.594e-05/2.074, allocations: 63.08 kB / 0.6732 GB, free: 79.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=248): time 6.613e-06/2.074, allocations: 0 / 0.6732 GB, free: 79.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=264): time 0.1101/2.184, allocations: 23.41 MB / 0.696 GB, free: 75.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001317/2.186, allocations: 1.612 MB / 0.6976 GB, free: 74.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01209/2.198, allocations: 5.147 MB / 0.7026 GB, free: 73.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008183/2.199, allocations: 65.42 kB / 0.7027 GB, free: 73.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003851/2.202, allocations: 4.686 MB / 0.7073 GB, free: 71.01 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001876/2.204, allocations: 1.036 MB / 0.7083 GB, free: 70.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001311/2.206, allocations: 178.6 kB / 0.7084 GB, free: 70.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007342/2.206, allocations: 0.6929 MB / 0.7091 GB, free: 70.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008275/2.215, allocations: 3.208 MB / 0.7123 GB, free: 70.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01194/2.227, allocations: 8.601 MB / 0.7207 GB, free: 63.11 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01177/2.239, allocations: 5.191 MB / 0.7257 GB, free: 63.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002116/2.239, allocations: 52.91 kB / 0.7258 GB, free: 63.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.03869/2.278, allocations: 13.29 MB / 0.7388 GB, free: 61.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000155/2.278, allocations: 86.59 kB / 0.7388 GB, free: 61.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01861/2.296, allocations: 5.643 MB / 0.7444 GB, free: 60.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01082/2.307, allocations: 2.106 MB / 0.7464 GB, free: 60.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01324/2.321, allocations: 2.1 MB / 0.7485 GB, free: 59.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02175/2.342, allocations: 14.09 MB / 0.7622 GB, free: 49.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01096/2.353, allocations: 0.5627 MB / 0.7628 GB, free: 49.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002291/2.356, allocations: 0.5275 MB / 0.7633 GB, free: 49.68 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.003222/2.359, allocations: 0.8086 MB / 0.7641 GB, free: 49.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001369/2.36, allocations: 0.5148 MB / 0.7646 GB, free: 48.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0207/2.381, allocations: 6.374 MB / 0.7708 GB, free: 46.15 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01746/2.399, allocations: 5.476 MB / 0.7762 GB, free: 41.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0182/2.417, allocations: 5.848 MB / 0.7819 GB, free: 36.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-05/2.417, allocations: 9.75 kB / 0.7819 GB, free: 36.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04875/2.466, allocations: 17.07 MB / 0.7985 GB, free: 23.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.963e-05/2.466, allocations: 8 kB / 0.7985 GB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004819/2.471, allocations: 0.4928 MB / 0.799 GB, free: 22.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009271/2.48, allocations: 1.797 MB / 0.8008 GB, free: 21.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007824/2.481, allocations: 63.61 kB / 0.8008 GB, free: 21.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0177/2.499, allocations: 9.739 MB / 0.8104 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00108/2.5, allocations: 1.46 MB / 0.8118 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02465/2.524, allocations: 10.76 MB / 0.8223 GB, free: 1.164 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00202/2.526, allocations: 0.5703 MB / 0.8228 GB, free: 0.5898 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001932/2.528, allocations: 63.28 kB / 0.8229 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005206/2.534, allocations: 211.4 kB / 0.8231 GB, free: 420 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001032/2.535, allocations: 193.2 kB / 0.8233 GB, free: 292 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003476/2.535, allocations: 87.73 kB / 0.8234 GB, free: 212 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.3162/2.851, allocations: 4.486 MB / 0.8278 GB, free: 67.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.383e-06/2.851, allocations: 0 / 0.8278 GB, free: 67.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01199/2.863, allocations: 1.678 MB / 0.8294 GB, free: 67.84 MB / 426.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.893, allocations: 13.4 MB / 0.8425 GB, free: 63.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02116/2.914, allocations: 8.771 MB / 0.851 GB, free: 62.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.306e-05/2.914, allocations: 0 / 0.851 GB, free: 62.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009219/2.923, allocations: 3.325 MB / 0.8543 GB, free: 61.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007926/2.931, allocations: 0.7577 MB / 0.855 GB, free: 61.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07221/3.004, allocations: 15.52 MB / 0.8702 GB, free: 58.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01107/3.015, allocations: 4.967 MB / 0.875 GB, free: 57.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009188/3.024, allocations: 3.171 MB / 0.8781 GB, free: 57.77 MB / 426.7 MB Notification: Performance of SimCode: time 2.725e-06/3.024, allocations: 3.469 kB / 0.8781 GB, free: 57.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.722/9.746, allocations: 317 MB / 1.188 GB, free: 97.09 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint_res.mat does not exist to compare? outputFormat=mat