Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Constraints_SphericalConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.257/2.257, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.071e-05/3.089e-05, allocations: 5.562 kB / 292.7 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.119, allocations: 50.41 MB / 343.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5103/0.6294, allocations: 114.7 MB / 457.9 MB, free: 11.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/0.6298, allocations: 89.83 kB / 458 MB, free: 11.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8548/1.485, allocations: 128.2 MB / 0.5724 GB, free: 97.77 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.016e-06/1.485, allocations: 3.5 kB / 0.5724 GB, free: 97.77 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006222/1.485, allocations: 145.3 kB / 0.5725 GB, free: 97.77 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2352 * Number of variables: 2352 Notification: Performance of Generate backend data structure: time 0.041/1.526, allocations: 7.023 MB / 0.5794 GB, free: 95.21 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/1.526, allocations: 11.84 kB / 0.5794 GB, free: 95.21 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005952/1.532, allocations: 1.192 MB / 0.5806 GB, free: 95.11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02338/1.556, allocations: 2.899 MB / 0.5834 GB, free: 94.64 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02804/1.584, allocations: 7.813 MB / 0.591 GB, free: 92.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006309/1.585, allocations: 0.5264 MB / 0.5916 GB, free: 91.81 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004074/1.589, allocations: 0.6941 MB / 0.5922 GB, free: 91.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05578/1.645, allocations: 17.11 MB / 0.6089 GB, free: 80.6 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004428/1.645, allocations: 83.19 kB / 0.609 GB, free: 80.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002671/1.648, allocations: 328.4 kB / 0.6093 GB, free: 80.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003428/1.651, allocations: 1.486 MB / 0.6108 GB, free: 78.84 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04622/1.697, allocations: 14.07 MB / 0.6245 GB, free: 64.76 MB / 442.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.4977/2.195, allocations: 74.34 MB / 0.6971 GB, free: 44.48 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03929/2.235, allocations: 7.341 MB / 0.7043 GB, free: 43.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008035/2.243, allocations: 3.665 MB / 0.7079 GB, free: 43.76 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03986/2.283, allocations: 16.28 MB / 0.7238 GB, free: 40.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.544e-05/2.283, allocations: 62.53 kB / 0.7238 GB, free: 40.17 MB / 442.7 MB Notification: Performance of pre-optimization done (n=253): time 8.375e-06/2.283, allocations: 1.781 kB / 0.7238 GB, free: 40.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=269): time 0.1113/2.394, allocations: 23.42 MB / 0.7467 GB, free: 33.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001451/2.395, allocations: 1.61 MB / 0.7483 GB, free: 32.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0128/2.408, allocations: 5.075 MB / 0.7532 GB, free: 30.28 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008507/2.409, allocations: 61.81 kB / 0.7533 GB, free: 30.22 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004581/2.414, allocations: 4.794 MB / 0.758 GB, free: 26.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001892/2.416, allocations: 1.058 MB / 0.759 GB, free: 25.78 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001186/2.417, allocations: 172.3 kB / 0.7592 GB, free: 25.65 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006008/2.418, allocations: 0.6811 MB / 0.7598 GB, free: 25.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0103/2.428, allocations: 3.184 MB / 0.7629 GB, free: 24.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01663/2.445, allocations: 8.468 MB / 0.7712 GB, free: 15.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01625/2.461, allocations: 5.148 MB / 0.7762 GB, free: 14.36 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002559/2.461, allocations: 53.47 kB / 0.7763 GB, free: 14.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.0488/2.51, allocations: 12.85 MB / 0.7888 GB, free: 8.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/2.51, allocations: 90.67 kB / 0.7889 GB, free: 8.145 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01701/2.527, allocations: 5.619 MB / 0.7944 GB, free: 3.516 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01079/2.538, allocations: 2.098 MB / 0.7965 GB, free: 2.035 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01343/2.552, allocations: 2.094 MB / 0.7985 GB, free: 232 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02567/2.577, allocations: 14.05 MB / 0.8122 GB, free: 2.824 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01151/2.589, allocations: 0.5597 MB / 0.8128 GB, free: 2.363 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002367/2.591, allocations: 0.5313 MB / 0.8133 GB, free: 1.844 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 865 * Number of states: 0 () * Number of discrete variables: 62 (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.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,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 (1097): * Single equations (assignments): 1083 * 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.002641/2.594, allocations: 0.7958 MB / 0.8141 GB, free: 1.051 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001544/2.595, allocations: 0.5168 MB / 0.8146 GB, free: 0.5273 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0223/2.618, allocations: 6.377 MB / 0.8208 GB, free: 11.58 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01848/2.636, allocations: 5.452 MB / 0.8261 GB, free: 7.117 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01929/2.656, allocations: 5.82 MB / 0.8318 GB, free: 2.23 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.559e-05/2.656, allocations: 11.95 kB / 0.8318 GB, free: 2.219 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05599/2.712, allocations: 16.63 MB / 0.8481 GB, free: 1.438 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.796e-05/2.712, allocations: 8 kB / 0.8481 GB, free: 1.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006516/2.718, allocations: 499.2 kB / 0.8486 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01448/2.733, allocations: 1.792 MB / 0.8503 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009451/2.734, allocations: 63.97 kB / 0.8504 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03409/2.768, allocations: 9.722 MB / 0.8599 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001997/2.77, allocations: 1.459 MB / 0.8613 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0387/2.809, allocations: 10.29 MB / 0.8713 GB, free: 8.562 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002893/2.812, allocations: 0.5605 MB / 0.8719 GB, free: 7.977 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002825/2.815, allocations: 55.98 kB / 0.8719 GB, free: 7.922 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007305/2.822, allocations: 214.1 kB / 0.8721 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001497/2.824, allocations: 183.2 kB / 0.8723 GB, free: 7.535 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005102/2.824, allocations: 83.97 kB / 0.8724 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01466/2.839, allocations: 3.523 MB / 0.8758 GB, free: 3.922 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.412e-06/2.839, allocations: 0 / 0.8758 GB, free: 3.922 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01893/2.858, allocations: 1.674 MB / 0.8775 GB, free: 2.262 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (223): * Single equations (assignments): 213 * 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.471/3.329, allocations: 12.55 MB / 0.8897 GB, free: 153 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02299/3.352, allocations: 8.4 MB / 0.8979 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.221e-05/3.352, allocations: 0 / 0.8979 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009137/3.361, allocations: 3.232 MB / 0.9011 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006994/3.368, allocations: 0.769 MB / 0.9018 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04964/3.418, allocations: 14.57 MB / 0.9161 GB, free: 148.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0124/3.43, allocations: 4.934 MB / 0.9209 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01379/3.444, allocations: 2.874 MB / 0.9237 GB, free: 146.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007456/3.452, allocations: 3.102 MB / 0.9267 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.054e-06/3.452, allocations: 0 / 0.9267 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3447/3.796, allocations: 121.9 MB / 1.046 GB, free: 52.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/3.797, allocations: 206.6 kB / 1.046 GB, free: 52.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.665/11.46, allocations: 64 / 1.046 GB, free: 52.57 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint_res.mat does not exist to compare? outputFormat=mat