Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Constraints_SphericalConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.321/2.321, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.885e-05/2.894e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3534, allocations: 44.49 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1954/0.5489, allocations: 105.6 MB / 399.9 MB, free: 8.125 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004612/0.5494, allocations: 87.95 kB / 400 MB, free: 8.039 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7642/1.314, allocations: 124.5 MB / 0.5121 GB, free: 26.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.324e-06/1.314, allocations: 4 kB / 0.5122 GB, free: 26.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004774/1.314, allocations: 140 kB / 0.5123 GB, free: 26.3 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.03533/1.35, allocations: 7.047 MB / 0.5192 GB, free: 19.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.253e-05/1.35, allocations: 8.031 kB / 0.5192 GB, free: 19.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02327/1.373, allocations: 2.92 MB / 0.522 GB, free: 16.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02861/1.402, allocations: 8.137 MB / 0.53 GB, free: 8.012 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004307/1.402, allocations: 228 kB / 0.5302 GB, free: 7.789 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003749/1.406, allocations: 423.8 kB / 0.5306 GB, free: 7.375 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02659/1.433, allocations: 10.02 MB / 0.5404 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6397/2.072, allocations: 14.68 MB / 0.5547 GB, free: 45.81 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007596/2.073, allocations: 84.98 kB / 0.5548 GB, free: 45.81 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003689/2.077, allocations: 40.94 kB / 0.5548 GB, free: 45.81 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004314/2.081, allocations: 1.491 MB / 0.5563 GB, free: 45.79 MB / 378.8 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.1251/2.206, allocations: 74.11 MB / 0.6287 GB, free: 20.13 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008413/2.215, allocations: 4.456 MB / 0.633 GB, free: 17.89 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006522/2.221, allocations: 3.256 MB / 0.6362 GB, free: 16.51 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001452/2.223, allocations: 0.6882 MB / 0.6369 GB, free: 15.91 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.013e-05/2.223, allocations: 66.31 kB / 0.6369 GB, free: 15.86 MB / 394.8 MB Notification: Performance of pre-optimization done (n=259): time 7.684e-06/2.223, allocations: 0 / 0.6369 GB, free: 15.86 MB / 394.8 MB Notification: Performance of matching and sorting (n=278): time 0.09366/2.317, allocations: 23.59 MB / 0.66 GB, free: 6.918 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/2.317, allocations: 154.2 kB / 0.6601 GB, free: 6.758 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0119/2.329, allocations: 4.6 MB / 0.6646 GB, free: 5.051 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008368/2.33, allocations: 29.08 kB / 0.6646 GB, free: 5.02 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006002/2.336, allocations: 4.871 MB / 0.6694 GB, free: 1.211 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003109/2.339, allocations: 1.053 MB / 0.6704 GB, free: 452 kB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002146/2.341, allocations: 0 / 0.6704 GB, free: 452 kB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.002037/2.343, allocations: 0.6984 MB / 0.6711 GB, free: 15.97 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01334/2.357, allocations: 3.169 MB / 0.6742 GB, free: 14.82 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01991/2.377, allocations: 8.658 MB / 0.6827 GB, free: 6.066 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01424/2.391, allocations: 5.177 MB / 0.6877 GB, free: 1.652 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003085/2.391, allocations: 60 kB / 0.6878 GB, free: 1.594 MB / 410.8 MB Notification: Performance of matching and sorting (n=1194) (initialization): time 0.04765/2.439, allocations: 12.63 MB / 0.7001 GB, free: 6.816 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002854/2.439, allocations: 88.97 kB / 0.7002 GB, free: 6.73 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02995/2.469, allocations: 5.694 MB / 0.7058 GB, free: 2.051 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01667/2.486, allocations: 2.138 MB / 0.7078 GB, free: 0.543 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4085/2.895, allocations: 2.185 MB / 0.71 GB, free: 90.48 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0291/2.924, allocations: 13.78 MB / 0.7234 GB, free: 83.32 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02878/2.953, allocations: 424.7 kB / 0.7238 GB, free: 83.32 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01106/2.964, allocations: 0.5467 MB / 0.7244 GB, free: 83.32 MB / 426.8 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.009278/2.973, allocations: 0.6005 MB / 0.725 GB, free: 83.21 MB / 426.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02978/3.003, allocations: 6.515 MB / 0.7313 GB, free: 82.78 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001984/3.005, allocations: 0.4917 MB / 0.7318 GB, free: 82.77 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01998/3.025, allocations: 6.373 MB / 0.738 GB, free: 82.26 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01742/3.043, allocations: 5.503 MB / 0.7434 GB, free: 81.81 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01661/3.059, allocations: 5.377 MB / 0.7486 GB, free: 81.34 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001018/3.059, allocations: 12.98 kB / 0.7487 GB, free: 81.34 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04967/3.109, allocations: 16.28 MB / 0.7646 GB, free: 78.34 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.365e-05/3.109, allocations: 15 kB / 0.7646 GB, free: 78.34 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00499/3.114, allocations: 0.5106 MB / 0.7651 GB, free: 78.33 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009526/3.124, allocations: 1.792 MB / 0.7668 GB, free: 78.02 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008217/3.125, allocations: 35.95 kB / 0.7669 GB, free: 78.02 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0177/3.142, allocations: 9.447 MB / 0.7761 GB, free: 72.62 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001076/3.143, allocations: 1.41 MB / 0.7775 GB, free: 71.28 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02521/3.169, allocations: 11.06 MB / 0.7883 GB, free: 65.71 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001863/3.171, allocations: 0.5366 MB / 0.7888 GB, free: 65.32 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002209/3.173, allocations: 24.08 kB / 0.7888 GB, free: 65.32 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005494/3.178, allocations: 187.9 kB / 0.789 GB, free: 65.31 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001227/3.18, allocations: 198.2 kB / 0.7892 GB, free: 65.28 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003515/3.18, allocations: 87.62 kB / 0.7893 GB, free: 65.26 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.008381/3.188, allocations: 3.087 MB / 0.7923 GB, free: 64.15 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.243e-06/3.188, allocations: 0 / 0.7923 GB, free: 64.15 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.01291/3.201, allocations: 1.512 MB / 0.7938 GB, free: 63.07 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 12 ($STATESET140661913067912.x[3],$STATESET140661913067912.x[2],$STATESET140661913067912.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.02668/3.228, allocations: 13.91 MB / 0.8073 GB, free: 50.34 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.02053/3.249, allocations: 8.527 MB / 0.8157 GB, free: 42.92 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.627e-05/3.249, allocations: 0 / 0.8157 GB, free: 42.92 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.009035/3.258, allocations: 3.312 MB / 0.8189 GB, free: 39.94 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006499/3.264, allocations: 0.6741 MB / 0.8196 GB, free: 39.4 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04624/3.311, allocations: 14.5 MB / 0.8337 GB, free: 26.95 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01129/3.322, allocations: 4.979 MB / 0.8386 GB, free: 23.24 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.01465/3.337, allocations: 2.995 MB / 0.8415 GB, free: 20.31 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007458/3.344, allocations: 3.104 MB / 0.8445 GB, free: 17.2 MB / 426.8 MB Notification: Performance of SimCode: time 1.593e-06/3.344, allocations: 0 / 0.8445 GB, free: 17.2 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6119/3.956, allocations: 116.5 MB / 0.9583 GB, free: 56.73 MB / 442.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/3.956, allocations: 163.2 kB / 0.9585 GB, free: 56.54 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.24/11.2, allocations: 4 kB / 0.9585 GB, free: 56.54 MB / 442.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint_res.mat does not exist to compare? outputFormat=mat