Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Constraints_SphericalConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.124/2.124, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.596e-05/4.611e-05, allocations: 4 kB / 292.2 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1256, allocations: 50.41 MB / 342.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5435/0.6692, allocations: 114.7 MB / 457.3 MB, free: 11.94 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/0.6696, allocations: 86.2 kB / 457.4 MB, free: 11.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8545/1.524, allocations: 128.2 MB / 0.5719 GB, free: 98.03 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.605e-06/1.524, allocations: 0 / 0.5719 GB, free: 98.03 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005091/1.525, allocations: 144.4 kB / 0.572 GB, free: 98.02 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.03515/1.56, allocations: 7.032 MB / 0.5789 GB, free: 95.46 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/1.56, allocations: 8.031 kB / 0.5789 GB, free: 95.46 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005907/1.566, allocations: 1.192 MB / 0.5801 GB, free: 95.36 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02301/1.589, allocations: 2.894 MB / 0.5829 GB, free: 94.9 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02957/1.619, allocations: 7.821 MB / 0.5905 GB, free: 92.07 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006733/1.619, allocations: 0.5257 MB / 0.591 GB, free: 91.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003987/1.623, allocations: 0.693 MB / 0.5917 GB, free: 91.65 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05619/1.68, allocations: 17.11 MB / 0.6084 GB, free: 80.71 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004807/1.68, allocations: 86.08 kB / 0.6085 GB, free: 80.63 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003618/1.684, allocations: 337.7 kB / 0.6088 GB, free: 80.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003762/1.688, allocations: 1.478 MB / 0.6103 GB, free: 78.99 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05203/1.74, allocations: 14.08 MB / 0.624 GB, free: 64.9 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.5203/2.26, allocations: 74.34 MB / 0.6966 GB, free: 44.76 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0393/2.299, allocations: 7.341 MB / 0.7038 GB, free: 44.08 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007942/2.307, allocations: 3.659 MB / 0.7073 GB, free: 44.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04646/2.354, allocations: 16.28 MB / 0.7232 GB, free: 40.49 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.465e-05/2.354, allocations: 63.33 kB / 0.7233 GB, free: 40.45 MB / 442.7 MB Notification: Performance of pre-optimization done (n=253): time 1.013e-05/2.354, allocations: 3.375 kB / 0.7233 GB, free: 40.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=269): time 0.1205/2.475, allocations: 23.43 MB / 0.7462 GB, free: 33.85 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001387/2.476, allocations: 1.604 MB / 0.7478 GB, free: 32.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01279/2.489, allocations: 5.071 MB / 0.7527 GB, free: 30.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007978/2.49, allocations: 61.36 kB / 0.7528 GB, free: 30.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004407/2.494, allocations: 4.797 MB / 0.7575 GB, free: 26.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001863/2.496, allocations: 1.057 MB / 0.7585 GB, free: 25.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001166/2.497, allocations: 179.3 kB / 0.7587 GB, free: 25.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007326/2.498, allocations: 0.677 MB / 0.7593 GB, free: 25.28 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008402/2.506, allocations: 3.181 MB / 0.7624 GB, free: 24.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01205/2.519, allocations: 8.467 MB / 0.7707 GB, free: 15.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01199/2.531, allocations: 5.149 MB / 0.7757 GB, free: 14.47 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002489/2.531, allocations: 57.06 kB / 0.7758 GB, free: 14.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=1151) (initialization): time 0.0389/2.57, allocations: 12.84 MB / 0.7883 GB, free: 8.383 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001425/2.57, allocations: 84 kB / 0.7884 GB, free: 8.301 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01837/2.588, allocations: 5.626 MB / 0.7939 GB, free: 3.664 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0111/2.6, allocations: 2.1 MB / 0.7959 GB, free: 2.184 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01371/2.613, allocations: 2.085 MB / 0.798 GB, free: 392 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02648/2.64, allocations: 14.06 MB / 0.8117 GB, free: 2.977 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01146/2.651, allocations: 0.5625 MB / 0.8123 GB, free: 2.512 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002402/2.654, allocations: 0.5271 MB / 0.8128 GB, free: 1.996 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.003135/2.657, allocations: 0.7983 MB / 0.8136 GB, free: 1.203 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001824/2.659, allocations: 0.5167 MB / 0.8141 GB, free: 0.6797 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02555/2.684, allocations: 6.35 MB / 0.8203 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01973/2.704, allocations: 5.444 MB / 0.8256 GB, free: 7.152 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02057/2.725, allocations: 5.826 MB / 0.8313 GB, free: 2.289 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-05/2.725, allocations: 15.95 kB / 0.8313 GB, free: 2.273 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07276/2.798, allocations: 16.63 MB / 0.8475 GB, free: 1.496 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.761e-05/2.798, allocations: 8 kB / 0.8475 GB, free: 1.488 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007042/2.805, allocations: 0.4914 MB / 0.848 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01477/2.82, allocations: 1.791 MB / 0.8498 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001008/2.821, allocations: 63.97 kB / 0.8498 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02252/2.843, allocations: 9.716 MB / 0.8593 GB, free: 5.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001569/2.845, allocations: 1.461 MB / 0.8607 GB, free: 3.422 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03032/2.875, allocations: 10.29 MB / 0.8708 GB, free: 8.617 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002322/2.878, allocations: 0.5605 MB / 0.8713 GB, free: 8.031 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002219/2.88, allocations: 59.98 kB / 0.8714 GB, free: 7.973 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005745/2.886, allocations: 209.5 kB / 0.8716 GB, free: 7.773 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001202/2.887, allocations: 185.6 kB / 0.8718 GB, free: 7.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004195/2.888, allocations: 79.98 kB / 0.8718 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0113/2.899, allocations: 3.523 MB / 0.8753 GB, free: 3.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.162e-06/2.899, allocations: 4 kB / 0.8753 GB, free: 3.977 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01283/2.912, allocations: 1.673 MB / 0.8769 GB, free: 2.316 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.3997/3.312, allocations: 12.54 MB / 0.8892 GB, free: 153.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02354/3.335, allocations: 8.406 MB / 0.8974 GB, free: 152.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/3.335, allocations: 0 / 0.8974 GB, free: 152.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008896/3.344, allocations: 3.228 MB / 0.9005 GB, free: 152 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006612/3.351, allocations: 0.7759 MB / 0.9013 GB, free: 152 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04856/3.399, allocations: 14.58 MB / 0.9155 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01201/3.411, allocations: 4.931 MB / 0.9203 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01479/3.426, allocations: 2.876 MB / 0.9231 GB, free: 147 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007552/3.434, allocations: 3.1 MB / 0.9262 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.693e-06/3.434, allocations: 0 / 0.9262 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2759/3.71, allocations: 121.9 MB / 1.045 GB, free: 53.01 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/3.71, allocations: 218.6 kB / 1.045 GB, free: 52.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.463/11.17, allocations: 0 / 1.045 GB, free: 52.77 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint_res.mat does not exist to compare? outputFormat=mat