Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Constraints_UniversalConstraint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.052/2.052, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.229e-05/2.25e-05, allocations: 4 kB / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3114, allocations: 44.49 MB / 294.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1949/0.5064, allocations: 106.6 MB / 400.8 MB, free: 7.191 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003276/0.5068, allocations: 83.95 kB / 400.9 MB, free: 7.109 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7994/1.306, allocations: 136.6 MB / 0.5249 GB, free: 13.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.545e-06/1.306, allocations: 0 / 0.5249 GB, free: 13.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0006226/1.307, allocations: 156 kB / 0.5251 GB, free: 13.25 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: 2641 * Number of variables: 2641 Notification: Performance of Generate backend data structure: time 0.04913/1.356, allocations: 7.88 MB / 0.5328 GB, free: 5.293 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/1.356, allocations: 8.031 kB / 0.5328 GB, free: 5.285 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02783/1.384, allocations: 2.899 MB / 0.5356 GB, free: 2.371 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03037/1.414, allocations: 8.023 MB / 0.5435 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005919/1.415, allocations: 252 kB / 0.5437 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004126/1.419, allocations: 471.8 kB / 0.5441 GB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.5823/2.001, allocations: 11.38 MB / 0.5553 GB, free: 44.37 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04484/2.046, allocations: 16.33 MB / 0.5712 GB, free: 40.68 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005566/2.047, allocations: 83.3 kB / 0.5713 GB, free: 40.68 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003623/2.051, allocations: 40.44 kB / 0.5713 GB, free: 40.68 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004122/2.055, allocations: 1.687 MB / 0.573 GB, free: 40.67 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.1334/2.188, allocations: 79.81 MB / 0.6509 GB, free: 9.105 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01189/2.2, allocations: 6.006 MB / 0.6568 GB, free: 6.227 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009017/2.209, allocations: 4.462 MB / 0.6611 GB, free: 4.309 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002462/2.212, allocations: 1.146 MB / 0.6623 GB, free: 3.32 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.779e-05/2.212, allocations: 72.88 kB / 0.6623 GB, free: 3.258 MB / 394.8 MB Notification: Performance of pre-optimization done (n=318): time 7.755e-06/2.212, allocations: 0 / 0.6623 GB, free: 3.258 MB / 394.8 MB Notification: Performance of matching and sorting (n=388): time 0.173/2.385, allocations: 40.5 MB / 0.7019 GB, free: 8.281 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/2.385, allocations: 169.2 kB / 0.702 GB, free: 8.086 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01375/2.399, allocations: 4.665 MB / 0.7066 GB, free: 4.051 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001266/2.4, allocations: 31.52 kB / 0.7066 GB, free: 4.016 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.3333/2.734, allocations: 5.028 MB / 0.7115 GB, free: 89.21 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002986/2.737, allocations: 1.399 MB / 0.7129 GB, free: 89.15 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001411/2.738, allocations: 0.5 kB / 0.7129 GB, free: 89.15 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0009299/2.739, allocations: 0.7314 MB / 0.7136 GB, free: 88.82 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01154/2.751, allocations: 4.316 MB / 0.7178 GB, free: 88.79 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01521/2.766, allocations: 9.805 MB / 0.7274 GB, free: 81.73 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0143/2.78, allocations: 6.442 MB / 0.7337 GB, free: 81.67 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002374/2.78, allocations: 56.84 kB / 0.7338 GB, free: 81.67 MB / 426.8 MB Notification: Performance of matching and sorting (n=1292) (initialization): time 0.05453/2.835, allocations: 16.54 MB / 0.7499 GB, free: 80.73 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001473/2.835, allocations: 90.56 kB / 0.75 GB, free: 80.73 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002712/2.835, allocations: 194 kB / 0.7502 GB, free: 80.73 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02014/2.856, allocations: 3.785 MB / 0.7539 GB, free: 80.66 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0157/2.871, allocations: 2.332 MB / 0.7561 GB, free: 80.47 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04747/2.919, allocations: 25.76 MB / 0.7813 GB, free: 67.92 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01323/2.932, allocations: 479.1 kB / 0.7818 GB, free: 67.91 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002702/2.935, allocations: 0.6024 MB / 0.7823 GB, free: 67.83 MB / 426.8 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.002764/2.938, allocations: 0.609 MB / 0.7829 GB, free: 67.45 MB / 426.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03828/2.976, allocations: 10.9 MB / 0.7936 GB, free: 63.8 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002189/2.978, allocations: 0.5366 MB / 0.7941 GB, free: 63.51 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03498/3.013, allocations: 10.31 MB / 0.8042 GB, free: 58.14 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02972/3.043, allocations: 9.015 MB / 0.813 GB, free: 50.82 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02829/3.071, allocations: 8.905 MB / 0.8217 GB, free: 43.58 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001361/3.072, allocations: 21.34 kB / 0.8217 GB, free: 43.57 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08695/3.158, allocations: 23.75 MB / 0.8449 GB, free: 23.53 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-05/3.159, allocations: 7.812 kB / 0.8449 GB, free: 23.52 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009316/3.168, allocations: 0.6552 MB / 0.8455 GB, free: 22.87 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01978/3.188, allocations: 2.971 MB / 0.8484 GB, free: 19.88 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001051/3.189, allocations: 23.97 kB / 0.8485 GB, free: 19.86 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3556/3.544, allocations: 19.77 MB / 0.8678 GB, free: 74.6 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01028/3.555, allocations: 5.516 MB / 0.8732 GB, free: 71.98 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04148/3.596, allocations: 15.97 MB / 0.8888 GB, free: 70.05 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004721/3.601, allocations: 1.236 MB / 0.89 GB, free: 69.95 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002227/3.603, allocations: 17.56 kB / 0.89 GB, free: 69.95 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007644/3.611, allocations: 223.8 kB / 0.8902 GB, free: 69.95 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001994/3.613, allocations: 256.5 kB / 0.8904 GB, free: 69.95 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008346/3.614, allocations: 113.2 kB / 0.8905 GB, free: 69.95 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.007931/3.622, allocations: 3.135 MB / 0.8936 GB, free: 69.77 MB / 426.8 MB Notification: Performance of sort global known variables: time 9.22e-07/3.622, allocations: 2.438 kB / 0.8936 GB, free: 69.77 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.01394/3.636, allocations: 1.889 MB / 0.8955 GB, free: 69.77 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 8 ($STATESET8149741961.x[2],$STATESET8149741961.x[1],$STATESET8149741960.x[2],$STATESET8149741960.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.04209/3.678, allocations: 17.91 MB / 0.9129 GB, free: 66.15 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.026/3.704, allocations: 11.27 MB / 0.9239 GB, free: 62.25 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/3.704, allocations: 3.094 kB / 0.9239 GB, free: 62.25 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01217/3.716, allocations: 4.719 MB / 0.9286 GB, free: 60.31 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006407/3.723, allocations: 0.668 MB / 0.9292 GB, free: 60.07 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05457/3.777, allocations: 18.01 MB / 0.9468 GB, free: 53.25 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01282/3.79, allocations: 5.581 MB / 0.9522 GB, free: 49.65 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009159/3.8, allocations: 3.63 MB / 0.9558 GB, free: 46.3 MB / 426.8 MB Notification: Performance of SimCode: time 2.094e-06/3.8, allocations: 0 / 0.9558 GB, free: 46.3 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.778/10.58, allocations: 314.5 MB / 1.263 GB, free: 97.87 MB / 474.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint_res.mat does not exist to compare? outputFormat=mat