Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.753/1.753, allocations: 171.3 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.621e-05/2.62e-05, allocations: 8 kB / 219.6 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2887, allocations: 38.76 MB / 258.3 MB, free: 12.16 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1798/0.4686, allocations: 100.9 MB / 359.2 MB, free: 8.988 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/0.4689, allocations: 83.95 kB / 359.3 MB, free: 8.906 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.078/1.547, allocations: 136.5 MB / 495.8 MB, free: 27.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.385e-06/1.547, allocations: 3.438 kB / 495.8 MB, free: 27.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005851/1.548, allocations: 156 kB / 495.9 MB, free: 27.32 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2639 * Number of variables: 2639 Notification: Performance of Generate backend data structure: time 0.04037/1.588, allocations: 7.866 MB / 0.492 GB, free: 25.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/1.588, allocations: 10.75 kB / 0.492 GB, free: 25.82 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02337/1.612, allocations: 2.894 MB / 0.4948 GB, free: 25.31 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02905/1.641, allocations: 8.025 MB / 0.5027 GB, free: 24.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005126/1.641, allocations: 252.4 kB / 0.5029 GB, free: 24.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004157/1.646, allocations: 464 kB / 0.5033 GB, free: 24.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.028/1.674, allocations: 11.38 MB / 0.5144 GB, free: 24.38 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04245/1.716, allocations: 16.32 MB / 0.5304 GB, free: 20.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003968/1.717, allocations: 88.12 kB / 0.5305 GB, free: 20.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00245/1.719, allocations: 39.94 kB / 0.5305 GB, free: 20.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003799/1.723, allocations: 1.698 MB / 0.5322 GB, free: 20.66 MB / 330.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.1416/1.865, allocations: 79.79 MB / 0.6101 GB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01453/1.879, allocations: 5.999 MB / 0.6159 GB, free: 2.484 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3281/2.207, allocations: 4.993 MB / 0.6208 GB, free: 72.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002466/2.21, allocations: 1.142 MB / 0.6219 GB, free: 71.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.887e-05/2.21, allocations: 62.67 kB / 0.622 GB, free: 71.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=318): time 8.396e-06/2.21, allocations: 3.094 kB / 0.622 GB, free: 71.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=388): time 0.1607/2.371, allocations: 40.42 MB / 0.6615 GB, free: 66.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.003e-05/2.371, allocations: 165.9 kB / 0.6616 GB, free: 66.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01184/2.383, allocations: 4.667 MB / 0.6662 GB, free: 65.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001255/2.384, allocations: 29.67 kB / 0.6662 GB, free: 65.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004479/2.388, allocations: 5.032 MB / 0.6711 GB, free: 62.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002706/2.391, allocations: 1.4 MB / 0.6725 GB, free: 62.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001473/2.393, allocations: 0 / 0.6725 GB, free: 62.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0008144/2.394, allocations: 0.7337 MB / 0.6732 GB, free: 61.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01013/2.404, allocations: 4.31 MB / 0.6774 GB, free: 61.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0141/2.418, allocations: 9.808 MB / 0.687 GB, free: 53.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01797/2.436, allocations: 6.44 MB / 0.6933 GB, free: 50.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003102/2.436, allocations: 58.06 kB / 0.6933 GB, free: 50.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=1292) (initialization): time 0.06644/2.503, allocations: 16.54 MB / 0.7095 GB, free: 43.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001452/2.503, allocations: 88 kB / 0.7096 GB, free: 43.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003011/2.503, allocations: 196 kB / 0.7098 GB, free: 43.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02067/2.524, allocations: 3.779 MB / 0.7135 GB, free: 40.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01619/2.54, allocations: 2.331 MB / 0.7157 GB, free: 38.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04859/2.589, allocations: 25.76 MB / 0.7409 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01364/2.603, allocations: 475.4 kB / 0.7414 GB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002981/2.606, allocations: 0.6023 MB / 0.7419 GB, free: 14.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 890 * Number of states: 0 () * Number of discrete variables: 63 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslationOfConstraint.color[3],fixedTranslationOfConstraint.color[2],fixedTranslationOfConstraint.color[1],fixedTranslationOfJoint.color[3],fixedTranslationOfJoint.color[2],fixedTranslationOfJoint.color[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.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1198): * Single equations (assignments): 1183 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 19,(1,100.0%) 6,(4,75.0%) 22,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.004552/2.61, allocations: 0.6045 MB / 0.7425 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0464/2.657, allocations: 10.91 MB / 0.7532 GB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003379/2.66, allocations: 0.5361 MB / 0.7537 GB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3444/3.005, allocations: 10.5 MB / 0.764 GB, free: 57.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03108/3.036, allocations: 9.01 MB / 0.7728 GB, free: 57.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02988/3.066, allocations: 8.906 MB / 0.7815 GB, free: 56.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001547/3.066, allocations: 21.16 kB / 0.7815 GB, free: 56.8 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07555/3.141, allocations: 23.74 MB / 0.8047 GB, free: 54.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.86e-05/3.141, allocations: 7.094 kB / 0.8047 GB, free: 54.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007194/3.149, allocations: 0.6552 MB / 0.8053 GB, free: 54.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01686/3.166, allocations: 2.973 MB / 0.8082 GB, free: 54.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001237/3.167, allocations: 30.17 kB / 0.8082 GB, free: 54.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04239/3.209, allocations: 19.78 MB / 0.8276 GB, free: 43.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.009808/3.219, allocations: 5.512 MB / 0.8329 GB, free: 39.85 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04392/3.263, allocations: 15.97 MB / 0.8485 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005355/3.269, allocations: 1.241 MB / 0.8497 GB, free: 31.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003049/3.272, allocations: 11.62 kB / 0.8498 GB, free: 31.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007927/3.28, allocations: 227.8 kB / 0.85 GB, free: 31.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001975/3.282, allocations: 255.5 kB / 0.8502 GB, free: 31.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009619/3.283, allocations: 105.3 kB / 0.8503 GB, free: 30.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.008597/3.291, allocations: 3.136 MB / 0.8534 GB, free: 28.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.152e-06/3.291, allocations: 0 / 0.8534 GB, free: 28.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01536/3.307, allocations: 1.888 MB / 0.8552 GB, free: 26.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 8 ($STATESET140673044373897.x[2],$STATESET140673044373897.x[1],$STATESET140673044373896.x[2],$STATESET140673044373896.x[1],joint.phi_a,joint.phi_b,joint.w_a,joint.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (302): * Single equations (assignments): 294 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 19,(3,100.0%) 16,(3,100.0%) 7} * Non-linear torn systems: 1 {3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.04539/3.352, allocations: 17.91 MB / 0.8727 GB, free: 10.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02711/3.379, allocations: 11.26 MB / 0.8837 GB, free: 1.074 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.476e-05/3.379, allocations: 4 kB / 0.8837 GB, free: 1.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02206/3.401, allocations: 5.211 MB / 0.8888 GB, free: 13.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007562/3.409, allocations: 0.6642 MB / 0.8895 GB, free: 13.26 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3339/3.743, allocations: 18 MB / 0.907 GB, free: 70.72 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01452/3.758, allocations: 5.584 MB / 0.9125 GB, free: 69.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009803/3.768, allocations: 3.628 MB / 0.916 GB, free: 69.84 MB / 394.7 MB Notification: Performance of SimCode: time 1.533e-06/3.768, allocations: 0 / 0.916 GB, free: 69.84 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.852/10.62, allocations: 314.4 MB / 1.223 GB, free: 97.53 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat does not exist to compare? outputFormat=mat