Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_SphericalConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.126/2.126, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.707e-05/3.705e-05, allocations: 4 kB / 292.2 MB, free: 8.746 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1269, allocations: 50.41 MB / 342.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5027/0.6296, allocations: 114.8 MB / 457.4 MB, free: 11.44 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/0.63, allocations: 88.58 kB / 457.5 MB, free: 11.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8297/1.46, allocations: 128.2 MB / 0.5719 GB, free: 97.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.355e-06/1.46, allocations: 0 / 0.5719 GB, free: 97.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004762/1.46, allocations: 144.3 kB / 0.5721 GB, free: 97.35 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.03427/1.495, allocations: 7.025 MB / 0.5789 GB, free: 94.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/1.495, allocations: 10.78 kB / 0.5789 GB, free: 94.79 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005518/1.5, allocations: 1.194 MB / 0.5801 GB, free: 94.69 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02332/1.524, allocations: 2.895 MB / 0.5829 GB, free: 94.23 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02846/1.552, allocations: 7.826 MB / 0.5906 GB, free: 91.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006489/1.553, allocations: 0.5203 MB / 0.5911 GB, free: 91.58 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003988/1.557, allocations: 0.6941 MB / 0.5918 GB, free: 91.38 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05498/1.612, allocations: 17.1 MB / 0.6085 GB, free: 80.58 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004257/1.612, allocations: 90.52 kB / 0.6086 GB, free: 80.49 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003133/1.615, allocations: 327.2 kB / 0.6089 GB, free: 80.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003412/1.619, allocations: 1.488 MB / 0.6103 GB, free: 78.97 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04549/1.664, allocations: 14.07 MB / 0.6241 GB, free: 64.93 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.5021/2.167, allocations: 74.35 MB / 0.6967 GB, free: 44.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05301/2.22, allocations: 7.342 MB / 0.7038 GB, free: 43.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01105/2.231, allocations: 3.666 MB / 0.7074 GB, free: 43.56 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04774/2.279, allocations: 16.28 MB / 0.7233 GB, free: 40.01 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.876e-05/2.279, allocations: 59.59 kB / 0.7234 GB, free: 39.97 MB / 442.7 MB Notification: Performance of pre-optimization done (n=253): time 1.626e-05/2.279, allocations: 0 / 0.7234 GB, free: 39.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=269): time 0.1186/2.397, allocations: 23.43 MB / 0.7463 GB, free: 33.63 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001665/2.399, allocations: 1.605 MB / 0.7478 GB, free: 32.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01385/2.413, allocations: 5.071 MB / 0.7528 GB, free: 30.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000838/2.414, allocations: 65.22 kB / 0.7528 GB, free: 30.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004534/2.418, allocations: 4.635 MB / 0.7574 GB, free: 26.44 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002045/2.421, allocations: 1.05 MB / 0.7584 GB, free: 25.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00145/2.422, allocations: 179.7 kB / 0.7586 GB, free: 25.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008599/2.423, allocations: 0.6829 MB / 0.7592 GB, free: 25.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008433/2.431, allocations: 3.181 MB / 0.7623 GB, free: 24 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01228/2.444, allocations: 8.465 MB / 0.7706 GB, free: 15.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01194/2.456, allocations: 5.144 MB / 0.7756 GB, free: 14.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002682/2.456, allocations: 55.78 kB / 0.7757 GB, free: 14.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.051/2.507, allocations: 12.66 MB / 0.788 GB, free: 8.543 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000204/2.507, allocations: 87.94 kB / 0.7881 GB, free: 8.457 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02565/2.533, allocations: 5.627 MB / 0.7936 GB, free: 3.824 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01472/2.548, allocations: 2.1 MB / 0.7957 GB, free: 2.344 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01379/2.562, allocations: 2.09 MB / 0.7977 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02614/2.588, allocations: 14.06 MB / 0.8114 GB, free: 3.133 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01136/2.599, allocations: 0.5598 MB / 0.812 GB, free: 2.672 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002405/2.602, allocations: 0.5224 MB / 0.8125 GB, free: 2.16 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.003049/2.605, allocations: 0.7879 MB / 0.8133 GB, free: 1.371 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00154/2.606, allocations: 0.5206 MB / 0.8138 GB, free: 0.8438 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03069/2.637, allocations: 6.818 MB / 0.8204 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01913/2.656, allocations: 5.448 MB / 0.8258 GB, free: 8.469 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01964/2.676, allocations: 5.821 MB / 0.8314 GB, free: 2.625 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.334e-05/2.676, allocations: 11.95 kB / 0.8315 GB, free: 2.613 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05546/2.732, allocations: 16.63 MB / 0.8477 GB, free: 1.832 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-05/2.732, allocations: 8 kB / 0.8477 GB, free: 1.824 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005081/2.737, allocations: 0.4883 MB / 0.8482 GB, free: 1.336 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0103/2.747, allocations: 1.796 MB / 0.8499 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007905/2.748, allocations: 63.97 kB / 0.85 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02153/2.77, allocations: 9.712 MB / 0.8595 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00158/2.771, allocations: 1.463 MB / 0.8609 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02963/2.801, allocations: 10.29 MB / 0.871 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002122/2.803, allocations: 0.5606 MB / 0.8715 GB, free: 8.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001961/2.805, allocations: 55.98 kB / 0.8716 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005509/2.811, allocations: 211.7 kB / 0.8718 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001172/2.812, allocations: 181.5 kB / 0.8719 GB, free: 7.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003548/2.812, allocations: 87.8 kB / 0.872 GB, free: 7.848 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01087/2.823, allocations: 3.523 MB / 0.8755 GB, free: 4.316 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.102e-06/2.823, allocations: 0 / 0.8755 GB, free: 4.316 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01251/2.836, allocations: 1.681 MB / 0.8771 GB, free: 2.648 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.3824/3.218, allocations: 12.54 MB / 0.8893 GB, free: 153 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02399/3.242, allocations: 8.406 MB / 0.8976 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.34e-05/3.242, allocations: 3.938 kB / 0.8976 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009204/3.251, allocations: 3.239 MB / 0.9007 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.006945/3.258, allocations: 0.7633 MB / 0.9015 GB, free: 151.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05037/3.309, allocations: 15.34 MB / 0.9164 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01211/3.321, allocations: 4.937 MB / 0.9213 GB, free: 146.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007974/3.329, allocations: 3.174 MB / 0.9244 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.824e-06/3.329, allocations: 0 / 0.9244 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.815/10.14, allocations: 312.7 MB / 1.23 GB, free: 129.4 MB / 0.5105 GB