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.999/1.999, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.293e-05/2.29e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3009, allocations: 44.5 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1848/0.4857, allocations: 105.6 MB / 399.8 MB, free: 8.289 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/0.4861, allocations: 83.95 kB / 399.9 MB, free: 8.207 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7691/1.255, allocations: 124.5 MB / 0.5121 GB, free: 26.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.138e-06/1.255, allocations: 4 kB / 0.5121 GB, free: 26.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004866/1.256, allocations: 140 kB / 0.5123 GB, free: 26.56 MB / 362.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.03381/1.29, allocations: 7.044 MB / 0.5191 GB, free: 19.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/1.29, allocations: 15.97 kB / 0.5192 GB, free: 19.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0226/1.312, allocations: 2.908 MB / 0.522 GB, free: 16.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02722/1.34, allocations: 8.125 MB / 0.5299 GB, free: 8.289 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000407/1.34, allocations: 228 kB / 0.5302 GB, free: 8.066 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003363/1.343, allocations: 415.9 kB / 0.5306 GB, free: 7.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02545/1.369, allocations: 10.03 MB / 0.5404 GB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3298/1.699, allocations: 14.68 MB / 0.5547 GB, free: 47.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006113/1.699, allocations: 84.09 kB / 0.5548 GB, free: 47.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003256/1.703, allocations: 49.34 kB / 0.5548 GB, free: 47.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004257/1.707, allocations: 1.493 MB / 0.5563 GB, free: 47.23 MB / 378.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.1186/1.826, allocations: 74.1 MB / 0.6286 GB, free: 21.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00779/1.834, allocations: 4.455 MB / 0.633 GB, free: 19.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005896/1.839, allocations: 3.261 MB / 0.6362 GB, free: 17.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00129/1.841, allocations: 0.6915 MB / 0.6368 GB, free: 17.35 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/1.841, allocations: 59.56 kB / 0.6369 GB, free: 17.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=259): time 7.474e-06/1.841, allocations: 0 / 0.6369 GB, free: 17.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=278): time 0.08578/1.927, allocations: 23.6 MB / 0.6599 GB, free: 8.359 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/1.927, allocations: 156 kB / 0.6601 GB, free: 8.199 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01224/1.939, allocations: 4.601 MB / 0.6646 GB, free: 6.492 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008292/1.94, allocations: 25.7 kB / 0.6646 GB, free: 6.461 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005457/1.945, allocations: 4.758 MB / 0.6693 GB, free: 2.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002191/1.948, allocations: 1.05 MB / 0.6703 GB, free: 1.891 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001249/1.949, allocations: 0 / 0.6703 GB, free: 1.891 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.001025/1.95, allocations: 0.7013 MB / 0.671 GB, free: 1.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008165/1.958, allocations: 3.167 MB / 0.6741 GB, free: 272 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0174/1.976, allocations: 8.881 MB / 0.6827 GB, free: 8.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01303/1.989, allocations: 5.173 MB / 0.6878 GB, free: 4.199 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002365/1.989, allocations: 56 kB / 0.6878 GB, free: 4.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=1194) (initialization): time 0.04164/2.031, allocations: 12.47 MB / 0.7 GB, free: 9.496 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001734/2.031, allocations: 88 kB / 0.7001 GB, free: 9.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01928/2.05, allocations: 5.697 MB / 0.7057 GB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01152/2.062, allocations: 2.136 MB / 0.7078 GB, free: 3.223 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01477/2.077, allocations: 2.181 MB / 0.7099 GB, free: 1.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3163/2.393, allocations: 13.78 MB / 0.7233 GB, free: 83.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01113/2.404, allocations: 415.6 kB / 0.7237 GB, free: 83.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002388/2.407, allocations: 0.548 MB / 0.7243 GB, free: 83.94 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 899 * 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 (1140): * Single equations (assignments): 1126 * 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.002634/2.409, allocations: 0.6038 MB / 0.7249 GB, free: 83.83 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02729/2.437, allocations: 6.521 MB / 0.7312 GB, free: 83.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002215/2.439, allocations: 0.4897 MB / 0.7317 GB, free: 83.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04935/2.488, allocations: 6.371 MB / 0.7379 GB, free: 82.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02076/2.509, allocations: 5.51 MB / 0.7433 GB, free: 82.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01612/2.525, allocations: 5.372 MB / 0.7486 GB, free: 81.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001109/2.525, allocations: 12.84 kB / 0.7486 GB, free: 81.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05771/2.583, allocations: 16.28 MB / 0.7645 GB, free: 79.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.295e-05/2.583, allocations: 15.19 kB / 0.7645 GB, free: 79.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006566/2.59, allocations: 0.5144 MB / 0.765 GB, free: 79.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01301/2.603, allocations: 1.784 MB / 0.7667 GB, free: 78.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008429/2.604, allocations: 39.06 kB / 0.7668 GB, free: 78.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02388/2.628, allocations: 9.442 MB / 0.776 GB, free: 73.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001088/2.629, allocations: 1.414 MB / 0.7774 GB, free: 71.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02395/2.653, allocations: 11.06 MB / 0.7882 GB, free: 66.42 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001752/2.655, allocations: 0.5408 MB / 0.7887 GB, free: 66.03 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002095/2.657, allocations: 27.06 kB / 0.7887 GB, free: 66.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005311/2.662, allocations: 180.7 kB / 0.7889 GB, free: 66.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001136/2.663, allocations: 197.6 kB / 0.7891 GB, free: 65.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003266/2.664, allocations: 88.75 kB / 0.7892 GB, free: 65.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007514/2.671, allocations: 3.077 MB / 0.7922 GB, free: 64.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.733e-06/2.671, allocations: 0 / 0.7922 GB, free: 64.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01167/2.683, allocations: 1.53 MB / 0.7937 GB, free: 64.86 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 12 ($STATESET140074830090632.x[3],$STATESET140074830090632.x[2],$STATESET140074830090632.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 (235): * Single equations (assignments): 225 * 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.02596/2.709, allocations: 13.91 MB / 0.8073 GB, free: 53.44 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02/2.729, allocations: 8.521 MB / 0.8156 GB, free: 46.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.636e-05/2.729, allocations: 4 kB / 0.8156 GB, free: 46.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008917/2.738, allocations: 3.324 MB / 0.8188 GB, free: 43.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006375/2.744, allocations: 0.6551 MB / 0.8195 GB, free: 42.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04823/2.793, allocations: 15.28 MB / 0.8344 GB, free: 29.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01154/2.804, allocations: 4.968 MB / 0.8392 GB, free: 25.99 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007539/2.812, allocations: 3.185 MB / 0.8423 GB, free: 22.86 MB / 426.7 MB Notification: Performance of SimCode: time 1.483e-06/2.812, allocations: 0 / 0.8423 GB, free: 22.86 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.42/9.232, allocations: 314.8 MB / 1.15 GB, free: 41.88 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