Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Constraints_SphericalConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.012/2.012, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.897e-05/2.903e-05, allocations: 0 / 269.4 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09884/0.09891, allocations: 47.58 MB / 317 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4874/0.5864, allocations: 113.1 MB / 430.1 MB, free: 7.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003401/0.5868, allocations: 86.2 kB / 430.2 MB, free: 7.277 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8938/1.481, allocations: 128.9 MB / 0.546 GB, free: 89.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.384e-06/1.481, allocations: 0 / 0.546 GB, free: 89.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005287/1.481, allocations: 145.8 kB / 0.5462 GB, free: 89.42 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2401 * Number of variables: 2401 Notification: Performance of Generate backend data structure: time 0.04289/1.524, allocations: 7.124 MB / 0.5531 GB, free: 86.81 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.416e-05/1.524, allocations: 7.844 kB / 0.5531 GB, free: 86.81 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007884/1.532, allocations: 1.223 MB / 0.5543 GB, free: 86.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02388/1.556, allocations: 2.915 MB / 0.5572 GB, free: 86.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02977/1.586, allocations: 8.196 MB / 0.5652 GB, free: 85.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007208/1.587, allocations: 0.5255 MB / 0.5657 GB, free: 85.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004486/1.591, allocations: 0.7037 MB / 0.5664 GB, free: 85.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05758/1.649, allocations: 17.37 MB / 0.5833 GB, free: 78.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005333/1.649, allocations: 89.09 kB / 0.5834 GB, free: 78.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003578/1.653, allocations: 335.8 kB / 0.5838 GB, free: 77.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003698/1.657, allocations: 1.521 MB / 0.5852 GB, free: 77.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04648/1.703, allocations: 14.33 MB / 0.5992 GB, free: 68.14 MB / 426.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.4503/2.154, allocations: 75.28 MB / 0.6727 GB, free: 71.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03856/2.192, allocations: 7.416 MB / 0.68 GB, free: 70.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007545/2.2, allocations: 3.71 MB / 0.6836 GB, free: 70.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04014/2.24, allocations: 16.49 MB / 0.6997 GB, free: 67.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.419e-05/2.24, allocations: 65.05 kB / 0.6998 GB, free: 67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=262): time 6.211e-06/2.24, allocations: 0 / 0.6998 GB, free: 67 MB / 426.7 MB Notification: Performance of matching and sorting (n=278): time 0.1127/2.353, allocations: 23.84 MB / 0.7231 GB, free: 61.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001374/2.354, allocations: 1.604 MB / 0.7246 GB, free: 60.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0132/2.368, allocations: 5.18 MB / 0.7297 GB, free: 58.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008202/2.368, allocations: 67.83 kB / 0.7297 GB, free: 58.24 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004836/2.373, allocations: 4.879 MB / 0.7345 GB, free: 54.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002019/2.375, allocations: 1.082 MB / 0.7356 GB, free: 53.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001215/2.377, allocations: 178.3 kB / 0.7357 GB, free: 53.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006895/2.377, allocations: 0.684 MB / 0.7364 GB, free: 53.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008619/2.386, allocations: 3.236 MB / 0.7396 GB, free: 52.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01242/2.398, allocations: 8.605 MB / 0.748 GB, free: 43.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01222/2.411, allocations: 5.226 MB / 0.7531 GB, free: 42.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002485/2.411, allocations: 53.34 kB / 0.7531 GB, free: 42.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=1173) (initialization): time 0.04053/2.452, allocations: 13.04 MB / 0.7659 GB, free: 35.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001693/2.452, allocations: 86.03 kB / 0.7659 GB, free: 35.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01918/2.471, allocations: 5.703 MB / 0.7715 GB, free: 31.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01111/2.482, allocations: 2.102 MB / 0.7736 GB, free: 29.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01369/2.496, allocations: 2.132 MB / 0.7756 GB, free: 27.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02159/2.518, allocations: 14.07 MB / 0.7894 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01131/2.529, allocations: 0.5658 MB / 0.7899 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002279/2.531, allocations: 0.5317 MB / 0.7905 GB, free: 13.31 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 878 * Number of states: 0 () * Number of discrete variables: 60 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1119): * Single equations (assignments): 1105 * 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.002918/2.534, allocations: 0.8145 MB / 0.7913 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00147/2.536, allocations: 0.5244 MB / 0.7918 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02018/2.556, allocations: 6.446 MB / 0.7981 GB, free: 6.762 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01744/2.573, allocations: 5.529 MB / 0.8035 GB, free: 2.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01878/2.592, allocations: 5.913 MB / 0.8092 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.093e-05/2.592, allocations: 20.92 kB / 0.8093 GB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05966/2.652, allocations: 17.33 MB / 0.8262 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.298e-05/2.652, allocations: 15.94 kB / 0.8262 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005288/2.657, allocations: 0.507 MB / 0.8267 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01051/2.668, allocations: 1.792 MB / 0.8284 GB, free: 10.19 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008824/2.669, allocations: 70.84 kB / 0.8285 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3503/3.019, allocations: 9.722 MB / 0.838 GB, free: 96.27 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001235/3.02, allocations: 1.472 MB / 0.8394 GB, free: 94.92 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02734/3.048, allocations: 10.85 MB / 0.85 GB, free: 92.37 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002083/3.05, allocations: 0.5774 MB / 0.8506 GB, free: 92.27 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002154/3.052, allocations: 64.14 kB / 0.8507 GB, free: 92.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005589/3.058, allocations: 215.8 kB / 0.8509 GB, free: 92.27 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001109/3.059, allocations: 203 kB / 0.8511 GB, free: 92.26 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003531/3.059, allocations: 86.42 kB / 0.8511 GB, free: 92.26 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.009383/3.069, allocations: 3.598 MB / 0.8547 GB, free: 92.02 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.12e-07/3.069, allocations: 0 / 0.8547 GB, free: 92.02 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0119/3.081, allocations: 1.708 MB / 0.8563 GB, free: 92.02 MB / 458.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 (233): * Single equations (assignments): 223 * 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.0278/3.108, allocations: 13.52 MB / 0.8695 GB, free: 87.31 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02162/3.13, allocations: 8.53 MB / 0.8779 GB, free: 85.29 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.396e-05/3.13, allocations: 2.312 kB / 0.8779 GB, free: 85.29 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008906/3.139, allocations: 3.305 MB / 0.8811 GB, free: 83.87 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006559/3.146, allocations: 0.7828 MB / 0.8818 GB, free: 83.58 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04899/3.195, allocations: 14.89 MB / 0.8964 GB, free: 78.14 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01228/3.207, allocations: 5.02 MB / 0.9013 GB, free: 76.48 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01553/3.223, allocations: 2.915 MB / 0.9041 GB, free: 76.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008091/3.231, allocations: 3.178 MB / 0.9072 GB, free: 73.79 MB / 458.7 MB Notification: Performance of SimCode: time 1.833e-06/3.231, allocations: 0 / 0.9072 GB, free: 73.79 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6221/3.853, allocations: 124.1 MB / 1.028 GB, free: 89.61 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/3.853, allocations: 202.3 kB / 1.029 GB, free: 89.39 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.747/11.6, allocations: 2.938 kB / 1.029 GB, free: 89.39 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint_res.mat does not exist to compare? outputFormat=mat