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.707/1.707, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.193e-05/3.195e-05, allocations: 4 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.306, allocations: 38.77 MB / 263.9 MB, free: 9.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1766/0.4826, allocations: 100.6 MB / 364.5 MB, free: 5.035 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003522/0.483, allocations: 95.88 kB / 364.6 MB, free: 4.941 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7034/1.186, allocations: 127.3 MB / 491.9 MB, free: 14.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.154e-06/1.186, allocations: 0 / 491.9 MB, free: 14.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005168/1.187, allocations: 136 kB / 492.1 MB, free: 14.3 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.03701/1.224, allocations: 7.055 MB / 499.1 MB, free: 7.168 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.276e-05/1.224, allocations: 12.03 kB / 499.1 MB, free: 7.156 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006401/1.231, allocations: 1.202 MB / 0.4886 GB, free: 5.941 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02446/1.255, allocations: 2.888 MB / 0.4914 GB, free: 3.039 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3103/1.565, allocations: 8.129 MB / 0.4994 GB, free: 41.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000698/1.566, allocations: 0.5165 MB / 0.4999 GB, free: 41.21 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003784/1.57, allocations: 0.7022 MB / 0.5006 GB, free: 41.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05577/1.626, allocations: 17.14 MB / 0.5173 GB, free: 37.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008512/1.627, allocations: 81.25 kB / 0.5174 GB, free: 37.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004946/1.632, allocations: 336.3 kB / 0.5177 GB, free: 37.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005082/1.637, allocations: 1.492 MB / 0.5191 GB, free: 37.53 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04616/1.683, allocations: 14.11 MB / 0.5329 GB, free: 37.5 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.123/1.806, allocations: 74.71 MB / 0.6059 GB, free: 2.059 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05911/1.865, allocations: 8.441 MB / 0.6141 GB, free: 15.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008729/1.874, allocations: 3.659 MB / 0.6177 GB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3122/2.186, allocations: 15.76 MB / 0.6331 GB, free: 70.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/2.186, allocations: 57.56 kB / 0.6332 GB, free: 70.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=248): time 7.164e-06/2.186, allocations: 0 / 0.6332 GB, free: 70.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=264): time 0.1111/2.297, allocations: 23.39 MB / 0.656 GB, free: 65.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00138/2.299, allocations: 1.607 MB / 0.6576 GB, free: 64.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0125/2.311, allocations: 5.147 MB / 0.6626 GB, free: 63.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008013/2.312, allocations: 67.27 kB / 0.6627 GB, free: 63.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004714/2.317, allocations: 4.849 MB / 0.6674 GB, free: 61.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00193/2.319, allocations: 1.036 MB / 0.6684 GB, free: 60.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001277/2.32, allocations: 176.6 kB / 0.6686 GB, free: 60.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0006985/2.321, allocations: 0.6797 MB / 0.6692 GB, free: 60.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008306/2.329, allocations: 3.208 MB / 0.6724 GB, free: 60.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01242/2.342, allocations: 8.546 MB / 0.6807 GB, free: 53.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01191/2.354, allocations: 5.188 MB / 0.6858 GB, free: 53.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002435/2.354, allocations: 52.62 kB / 0.6858 GB, free: 53.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.03897/2.393, allocations: 12.85 MB / 0.6984 GB, free: 51.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001578/2.393, allocations: 92.2 kB / 0.6985 GB, free: 51.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01828/2.412, allocations: 5.564 MB / 0.7039 GB, free: 49.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01041/2.422, allocations: 2.017 MB / 0.7059 GB, free: 49.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01457/2.437, allocations: 2.119 MB / 0.7079 GB, free: 48.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0211/2.458, allocations: 13.7 MB / 0.7213 GB, free: 37.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01185/2.47, allocations: 0.5643 MB / 0.7219 GB, free: 36.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002312/2.472, allocations: 0.5395 MB / 0.7224 GB, free: 36.2 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.003373/2.475, allocations: 0.7934 MB / 0.7232 GB, free: 35.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001405/2.477, allocations: 0.5128 MB / 0.7237 GB, free: 34.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02117/2.498, allocations: 6.376 MB / 0.7299 GB, free: 29.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01763/2.516, allocations: 5.474 MB / 0.7352 GB, free: 25.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01863/2.534, allocations: 5.851 MB / 0.741 GB, free: 20.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.919e-05/2.535, allocations: 10.31 kB / 0.741 GB, free: 20.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05097/2.586, allocations: 17.03 MB / 0.7576 GB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-05/2.586, allocations: 8 kB / 0.7576 GB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005049/2.591, allocations: 0.4939 MB / 0.7581 GB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009774/2.601, allocations: 1.801 MB / 0.7598 GB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000793/2.601, allocations: 66.19 kB / 0.7599 GB, free: 5.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3078/2.909, allocations: 9.771 MB / 0.7694 GB, free: 74.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001235/2.911, allocations: 1.474 MB / 0.7709 GB, free: 73.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02663/2.937, allocations: 10.73 MB / 0.7814 GB, free: 70.89 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001979/2.939, allocations: 0.5721 MB / 0.7819 GB, free: 70.79 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002162/2.941, allocations: 62.3 kB / 0.782 GB, free: 70.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005671/2.947, allocations: 212.6 kB / 0.7822 GB, free: 70.79 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001073/2.948, allocations: 186.8 kB / 0.7824 GB, free: 70.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003227/2.949, allocations: 86.22 kB / 0.7825 GB, free: 70.78 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.009322/2.958, allocations: 3.58 MB / 0.7859 GB, free: 70.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.342e-06/2.958, allocations: 3.812 kB / 0.786 GB, free: 70.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01226/2.97, allocations: 1.674 MB / 0.7876 GB, free: 70.54 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.02882/2.999, allocations: 13.41 MB / 0.8007 GB, free: 65.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.02176/3.021, allocations: 8.321 MB / 0.8088 GB, free: 65.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/3.021, allocations: 0 / 0.8088 GB, free: 65.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009639/3.031, allocations: 3.266 MB / 0.812 GB, free: 64.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007255/3.038, allocations: 0.7771 MB / 0.8128 GB, free: 64.38 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05234/3.09, allocations: 14.71 MB / 0.8271 GB, free: 60.73 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01325/3.104, allocations: 4.961 MB / 0.832 GB, free: 59.07 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.01545/3.119, allocations: 2.902 MB / 0.8348 GB, free: 59.01 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008161/3.127, allocations: 3.113 MB / 0.8378 GB, free: 56.46 MB / 394.7 MB Notification: Performance of SimCode: time 1.533e-06/3.127, allocations: 0 / 0.8378 GB, free: 56.46 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5765/3.704, allocations: 122 MB / 0.9569 GB, free: 60.89 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003063/3.704, allocations: 209 kB / 0.9571 GB, free: 60.66 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.086/10.79, allocations: 0 / 0.9571 GB, free: 60.66 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