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.87/1.87, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.176e-05/3.185e-05, allocations: 4 kB / 255.5 MB, free: 3.078 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09342/0.09349, allocations: 44.5 MB / 300 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4694/0.5629, allocations: 106.3 MB / 406.3 MB, free: 10.32 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.5633, allocations: 89.27 kB / 406.3 MB, free: 10.31 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8706/1.434, allocations: 127.5 MB / 0.5213 GB, free: 63.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.414e-06/1.434, allocations: 0 / 0.5213 GB, free: 63.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006259/1.435, allocations: 144.5 kB / 0.5215 GB, free: 63.98 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.03819/1.473, allocations: 7.057 MB / 0.5284 GB, free: 63.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/1.473, allocations: 10.19 kB / 0.5284 GB, free: 63.12 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006619/1.479, allocations: 1.201 MB / 0.5296 GB, free: 63.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02497/1.504, allocations: 2.907 MB / 0.5324 GB, free: 62.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0308/1.535, allocations: 8.139 MB / 0.5403 GB, free: 61.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008352/1.536, allocations: 0.515 MB / 0.5408 GB, free: 61.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004224/1.54, allocations: 0.6944 MB / 0.5415 GB, free: 61.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05722/1.598, allocations: 17.13 MB / 0.5583 GB, free: 58.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005926/1.598, allocations: 84.52 kB / 0.5583 GB, free: 58.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003913/1.602, allocations: 330.2 kB / 0.5587 GB, free: 58.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0038/1.606, allocations: 1.492 MB / 0.5601 GB, free: 58.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04728/1.654, allocations: 14.12 MB / 0.5739 GB, free: 58.06 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.1292/1.783, allocations: 74.71 MB / 0.6469 GB, free: 22.36 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03571/1.819, allocations: 7.191 MB / 0.6539 GB, free: 16.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007488/1.826, allocations: 3.668 MB / 0.6575 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3434/2.17, allocations: 15.85 MB / 0.6729 GB, free: 79.31 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.511e-05/2.17, allocations: 62.44 kB / 0.673 GB, free: 79.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=248): time 7.364e-06/2.17, allocations: 0 / 0.673 GB, free: 79.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=264): time 0.1148/2.285, allocations: 23.4 MB / 0.6959 GB, free: 75.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001369/2.286, allocations: 1.607 MB / 0.6974 GB, free: 73.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01303/2.299, allocations: 5.151 MB / 0.7025 GB, free: 73.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008626/2.3, allocations: 63.55 kB / 0.7025 GB, free: 73.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00422/2.304, allocations: 4.685 MB / 0.7071 GB, free: 70.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00194/2.306, allocations: 1.039 MB / 0.7081 GB, free: 69.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001489/2.308, allocations: 175.9 kB / 0.7083 GB, free: 69.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009059/2.309, allocations: 0.6835 MB / 0.7089 GB, free: 69.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008232/2.317, allocations: 3.211 MB / 0.7121 GB, free: 69.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01205/2.329, allocations: 8.55 MB / 0.7204 GB, free: 62.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01155/2.341, allocations: 5.2 MB / 0.7255 GB, free: 62.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002237/2.341, allocations: 53.22 kB / 0.7256 GB, free: 62.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.03867/2.38, allocations: 12.75 MB / 0.738 GB, free: 61.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000171/2.38, allocations: 87.22 kB / 0.7381 GB, free: 61.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01821/2.398, allocations: 5.645 MB / 0.7436 GB, free: 61.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01108/2.409, allocations: 2.107 MB / 0.7457 GB, free: 60.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01388/2.423, allocations: 2.107 MB / 0.7477 GB, free: 60.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02306/2.446, allocations: 14.08 MB / 0.7615 GB, free: 50.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01177/2.458, allocations: 0.5631 MB / 0.762 GB, free: 50.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002468/2.461, allocations: 0.5362 MB / 0.7625 GB, free: 50.27 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.004101/2.465, allocations: 0.7919 MB / 0.7633 GB, free: 49.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001505/2.466, allocations: 0.5236 MB / 0.7638 GB, free: 49.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02134/2.488, allocations: 6.372 MB / 0.77 GB, free: 46.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01849/2.506, allocations: 5.477 MB / 0.7754 GB, free: 42.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01965/2.526, allocations: 5.84 MB / 0.7811 GB, free: 37.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.503e-05/2.526, allocations: 18.58 kB / 0.7811 GB, free: 37.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05315/2.579, allocations: 17.04 MB / 0.7977 GB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.886e-05/2.579, allocations: 15.95 kB / 0.7978 GB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005039/2.584, allocations: 0.4901 MB / 0.7982 GB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009796/2.594, allocations: 1.794 MB / 0.8 GB, free: 22.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008876/2.595, allocations: 70.94 kB / 0.8001 GB, free: 22.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01866/2.614, allocations: 9.728 MB / 0.8096 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00121/2.615, allocations: 1.464 MB / 0.811 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02623/2.641, allocations: 10.75 MB / 0.8215 GB, free: 2.238 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002189/2.644, allocations: 0.572 MB / 0.822 GB, free: 1.664 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002443/2.646, allocations: 61.53 kB / 0.8221 GB, free: 1.609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005952/2.652, allocations: 209.5 kB / 0.8223 GB, free: 1.484 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001201/2.653, allocations: 194.9 kB / 0.8225 GB, free: 1.359 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004296/2.654, allocations: 84.89 kB / 0.8226 GB, free: 1.281 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.3395/2.993, allocations: 4.043 MB / 0.8265 GB, free: 66.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.052e-06/2.993, allocations: 0 / 0.8265 GB, free: 66.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01309/3.007, allocations: 1.686 MB / 0.8282 GB, free: 66.55 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.02986/3.036, allocations: 13.4 MB / 0.8413 GB, free: 61.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02148/3.058, allocations: 8.457 MB / 0.8495 GB, free: 61.03 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.48e-05/3.058, allocations: 3.906 kB / 0.8495 GB, free: 61.03 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009583/3.068, allocations: 3.272 MB / 0.8527 GB, free: 60.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007031/3.075, allocations: 0.767 MB / 0.8535 GB, free: 60.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0502/3.125, allocations: 15.47 MB / 0.8686 GB, free: 57.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01112/3.136, allocations: 4.977 MB / 0.8734 GB, free: 56.58 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007418/3.144, allocations: 3.179 MB / 0.8765 GB, free: 56.58 MB / 426.7 MB Notification: Performance of SimCode: time 1.292e-06/3.144, allocations: 0 / 0.8765 GB, free: 56.58 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.792/9.936, allocations: 315.6 MB / 1.185 GB, free: 97.81 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