Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_SphericalConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.915/1.915, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.744e-05/3.75e-05, allocations: 7.984 kB / 225.1 MB, free: 2.684 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2682, allocations: 38.77 MB / 263.9 MB, free: 9.762 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1803/0.4486, allocations: 100.6 MB / 364.5 MB, free: 4.98 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/0.449, allocations: 83.95 kB / 364.6 MB, free: 4.898 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7383/1.187, allocations: 127.3 MB / 491.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.435e-06/1.187, allocations: 0 / 491.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005317/1.188, allocations: 136 kB / 492 MB, free: 14.15 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.03697/1.225, allocations: 7.067 MB / 499.1 MB, free: 7.008 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/1.225, allocations: 8.031 kB / 499.1 MB, free: 7 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006171/1.231, allocations: 1.198 MB / 0.4886 GB, free: 5.789 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02398/1.255, allocations: 2.892 MB / 0.4914 GB, free: 2.883 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2966/1.552, allocations: 8.122 MB / 0.4993 GB, free: 40.85 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00143/1.553, allocations: 0.5271 MB / 0.4999 GB, free: 40.83 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005888/1.559, allocations: 0.6967 MB / 0.5005 GB, free: 40.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05974/1.619, allocations: 17.14 MB / 0.5173 GB, free: 37.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005046/1.62, allocations: 86.56 kB / 0.5174 GB, free: 37.17 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003466/1.623, allocations: 326 kB / 0.5177 GB, free: 37.17 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003677/1.627, allocations: 1.491 MB / 0.5191 GB, free: 37.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04609/1.673, allocations: 14.12 MB / 0.5329 GB, free: 37.12 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.128/1.801, allocations: 74.71 MB / 0.6059 GB, free: 1.645 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07672/1.878, allocations: 8.585 MB / 0.6143 GB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008866/1.887, allocations: 3.658 MB / 0.6178 GB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3199/2.207, allocations: 15.76 MB / 0.6332 GB, free: 69.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.134e-05/2.207, allocations: 57.03 kB / 0.6333 GB, free: 69.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=248): time 7.234e-06/2.207, allocations: 3.625 kB / 0.6333 GB, free: 69.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=264): time 0.1182/2.325, allocations: 23.39 MB / 0.6561 GB, free: 65.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001505/2.327, allocations: 1.615 MB / 0.6577 GB, free: 63.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01395/2.341, allocations: 5.149 MB / 0.6627 GB, free: 63.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007912/2.342, allocations: 63.94 kB / 0.6628 GB, free: 63.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004113/2.346, allocations: 4.684 MB / 0.6674 GB, free: 60.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001895/2.348, allocations: 1.032 MB / 0.6684 GB, free: 60.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00113/2.349, allocations: 176.9 kB / 0.6685 GB, free: 60.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0005982/2.349, allocations: 0.6935 MB / 0.6692 GB, free: 59.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008105/2.357, allocations: 3.203 MB / 0.6723 GB, free: 59.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01192/2.369, allocations: 8.543 MB / 0.6807 GB, free: 52.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01173/2.381, allocations: 5.186 MB / 0.6857 GB, free: 52.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002473/2.382, allocations: 58.44 kB / 0.6858 GB, free: 52.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.03729/2.419, allocations: 12.65 MB / 0.6982 GB, free: 50.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001523/2.419, allocations: 90.42 kB / 0.6982 GB, free: 50.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01746/2.437, allocations: 5.561 MB / 0.7037 GB, free: 48.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009933/2.447, allocations: 2.015 MB / 0.7056 GB, free: 48.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01344/2.46, allocations: 2.125 MB / 0.7077 GB, free: 48.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02018/2.48, allocations: 13.7 MB / 0.7211 GB, free: 37.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0111/2.491, allocations: 0.5656 MB / 0.7216 GB, free: 36.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002089/2.494, allocations: 0.5299 MB / 0.7222 GB, free: 36.3 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.002274/2.496, allocations: 0.7969 MB / 0.7229 GB, free: 35.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001422/2.497, allocations: 0.5128 MB / 0.7234 GB, free: 34.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02033/2.518, allocations: 6.379 MB / 0.7297 GB, free: 29.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01676/2.534, allocations: 5.478 MB / 0.735 GB, free: 25.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01738/2.552, allocations: 5.84 MB / 0.7407 GB, free: 20.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.737e-05/2.552, allocations: 9.938 kB / 0.7407 GB, free: 20.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04944/2.601, allocations: 17.04 MB / 0.7574 GB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.083e-05/2.602, allocations: 8 kB / 0.7574 GB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004875/2.606, allocations: 0.4896 MB / 0.7579 GB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009511/2.616, allocations: 1.798 MB / 0.7596 GB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007418/2.617, allocations: 73.25 kB / 0.7597 GB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3055/2.922, allocations: 9.796 MB / 0.7693 GB, free: 74.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001121/2.924, allocations: 1.472 MB / 0.7707 GB, free: 72.92 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02971/2.953, allocations: 10.74 MB / 0.7812 GB, free: 70.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002108/2.955, allocations: 0.5694 MB / 0.7817 GB, free: 70.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002201/2.958, allocations: 62.84 kB / 0.7818 GB, free: 70.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00566/2.963, allocations: 215.7 kB / 0.782 GB, free: 70.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00117/2.965, allocations: 187.4 kB / 0.7822 GB, free: 70.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000445/2.965, allocations: 90.78 kB / 0.7823 GB, free: 70.29 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0103/2.975, allocations: 3.583 MB / 0.7858 GB, free: 70.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.52e-07/2.975, allocations: 0 / 0.7858 GB, free: 70.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01251/2.988, allocations: 1.671 MB / 0.7874 GB, free: 70.04 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.02848/3.017, allocations: 13.4 MB / 0.8005 GB, free: 65.33 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.02937/3.046, allocations: 8.343 MB / 0.8086 GB, free: 64.56 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.291e-05/3.046, allocations: 3.875 kB / 0.8086 GB, free: 64.56 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01361/3.06, allocations: 3.266 MB / 0.8118 GB, free: 63.92 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009216/3.069, allocations: 0.7732 MB / 0.8126 GB, free: 63.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05912/3.128, allocations: 15.48 MB / 0.8277 GB, free: 59.9 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01853/3.147, allocations: 4.965 MB / 0.8325 GB, free: 58.24 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01139/3.158, allocations: 3.181 MB / 0.8356 GB, free: 55.69 MB / 394.7 MB Notification: Performance of SimCode: time 1.553e-06/3.158, allocations: 0 / 0.8356 GB, free: 55.69 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.646/9.804, allocations: 315.4 MB / 1.144 GB, free: 72.19 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint_res.mat does not exist to compare? outputFormat=mat