Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|joint.phi_a|joint.phi_b|joint.w_a|joint.w_b",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|joint.phi_a|joint.phi_b|joint.w_a|joint.w_b",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002132/0.002132, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.188/2.188, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 91.45 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.384e-05/2.382e-05, allocations: 0 / 314.8 MB, free: 9.148 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3365, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1878/0.5243, allocations: 113.4 MB / 475.8 MB, free: 4.793 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003607/0.5248, allocations: 91.05 kB / 475.9 MB, free: 4.711 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.8147/1.339, allocations: 138 MB / 0.5994 GB, free: 43.75 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.314e-06/1.339, allocations: 0 / 0.5994 GB, free: 43.75 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0005374/1.34, allocations: 160 kB / 0.5996 GB, free: 43.59 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2676 * Number of variables: 2676 Notification: Performance of Generate backend data structure: time 0.03932/1.379, allocations: 7.943 MB / 0.6074 GB, free: 35.56 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/1.379, allocations: 12.03 kB / 0.6074 GB, free: 35.55 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02303/1.403, allocations: 2.911 MB / 0.6102 GB, free: 32.62 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03032/1.433, allocations: 8.054 MB / 0.6181 GB, free: 24.48 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005019/1.433, allocations: 260 kB / 0.6183 GB, free: 24.23 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004449/1.438, allocations: 479.8 kB / 0.6188 GB, free: 23.76 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02984/1.468, allocations: 11.54 MB / 0.6301 GB, free: 12.21 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04903/1.517, allocations: 16.51 MB / 0.6462 GB, free: 10.31 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005676/1.518, allocations: 79.28 kB / 0.6463 GB, free: 10.23 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004031/1.522, allocations: 47.95 kB / 0.6463 GB, free: 10.19 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004973/1.527, allocations: 1.716 MB / 0.648 GB, free: 8.469 MB / 411.1 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.4484/1.975, allocations: 80.34 MB / 0.7264 GB, free: 24.8 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01251/1.988, allocations: 6.119 MB / 0.7324 GB, free: 22.84 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0085/1.996, allocations: 4.518 MB / 0.7368 GB, free: 20.92 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002826/1.999, allocations: 1.792 MB / 0.7386 GB, free: 19.34 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.314e-05/1.999, allocations: 69.55 kB / 0.7386 GB, free: 19.28 MB / 411.1 MB Notification: Performance of pre-optimization done (n=332): time 8.185e-06/1.999, allocations: 0 / 0.7386 GB, free: 19.28 MB / 411.1 MB Notification: Performance of matching and sorting (n=402): time 0.1602/2.159, allocations: 40.77 MB / 0.7785 GB, free: 72 kB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/2.16, allocations: 171.2 kB / 0.7786 GB, free: 15.87 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0134/2.173, allocations: 4.702 MB / 0.7832 GB, free: 11.89 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001228/2.174, allocations: 25.7 kB / 0.7832 GB, free: 11.86 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005852/2.18, allocations: 5.069 MB / 0.7882 GB, free: 7.414 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003143/2.183, allocations: 1.441 MB / 0.7896 GB, free: 6.113 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001575/2.185, allocations: 2.25 kB / 0.7896 GB, free: 6.113 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 0.0009717/2.186, allocations: 0.7347 MB / 0.7903 GB, free: 5.488 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01186/2.198, allocations: 4.347 MB / 0.7946 GB, free: 1.609 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03258/2.231, allocations: 10.74 MB / 0.805 GB, free: 8.148 MB / 443.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01683/2.248, allocations: 6.468 MB / 0.8114 GB, free: 2.746 MB / 443.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000246/2.248, allocations: 56 kB / 0.8114 GB, free: 2.691 MB / 443.1 MB Notification: Performance of matching and sorting (n=1309) (initialization): time 0.06174/2.31, allocations: 16.63 MB / 0.8277 GB, free: 4.91 MB / 459.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001844/2.31, allocations: 88 kB / 0.8277 GB, free: 4.824 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003805/2.31, allocations: 196 kB / 0.8279 GB, free: 4.633 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02201/2.332, allocations: 3.776 MB / 0.8316 GB, free: 1.629 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3294/2.662, allocations: 2.355 MB / 0.8339 GB, free: 103.1 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04924/2.711, allocations: 25.77 MB / 0.8591 GB, free: 94.56 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01334/2.724, allocations: 479.1 kB / 0.8595 GB, free: 94.56 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003227/2.728, allocations: 0.6107 MB / 0.8601 GB, free: 94.56 MB / 459.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 893 * Number of states: 0 () * Number of discrete variables: 66 (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.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.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 (1215): * Single equations (assignments): 1200 * 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.004577/2.732, allocations: 0.6117 MB / 0.8607 GB, free: 94.45 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002229/2.734, allocations: 0.542 MB / 0.8613 GB, free: 94.45 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03957/2.774, allocations: 10.38 MB / 0.8714 GB, free: 93.87 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03424/2.808, allocations: 9.062 MB / 0.8802 GB, free: 93.27 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03126/2.84, allocations: 8.972 MB / 0.889 GB, free: 90.24 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001522/2.84, allocations: 21.28 kB / 0.889 GB, free: 90.24 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08028/2.92, allocations: 23.98 MB / 0.9124 GB, free: 81.34 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.78e-05/2.92, allocations: 8.906 kB / 0.9125 GB, free: 81.34 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007185/2.928, allocations: 0.6734 MB / 0.9131 GB, free: 81.32 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01685/2.944, allocations: 2.976 MB / 0.916 GB, free: 80.76 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001323/2.946, allocations: 27.05 kB / 0.916 GB, free: 80.75 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04225/2.988, allocations: 19.79 MB / 0.9354 GB, free: 67.1 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.009677/2.998, allocations: 5.522 MB / 0.9408 GB, free: 61.91 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04446/3.042, allocations: 16.08 MB / 0.9565 GB, free: 47.96 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005389/3.048, allocations: 1.245 MB / 0.9577 GB, free: 46.82 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002448/3.05, allocations: 19.42 kB / 0.9577 GB, free: 46.8 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007592/3.058, allocations: 225.9 kB / 0.9579 GB, free: 46.69 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001851/3.06, allocations: 258.9 kB / 0.9582 GB, free: 46.53 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001113/3.061, allocations: 108.8 kB / 0.9583 GB, free: 46.43 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.008595/3.07, allocations: 3.154 MB / 0.9613 GB, free: 43.61 MB / 459.1 MB Notification: Performance of sort global known variables: time 1.142e-06/3.07, allocations: 0 / 0.9613 GB, free: 43.61 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.01539/3.085, allocations: 1.912 MB / 0.9632 GB, free: 41.71 MB / 459.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 8 ($STATESET6694138249.x[2],$STATESET6694138249.x[1],$STATESET6694138248.x[2],$STATESET6694138248.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 (314): * Single equations (assignments): 306 * 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.001971/3.087, allocations: 231.8 kB / 0.9634 GB, free: 41.54 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.02799/3.115, allocations: 11.36 MB / 0.9745 GB, free: 30.52 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/3.115, allocations: 0 / 0.9745 GB, free: 30.52 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01323/3.128, allocations: 4.771 MB / 0.9792 GB, free: 25.73 MB / 459.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006964/3.135, allocations: 0.6706 MB / 0.9798 GB, free: 25.1 MB / 459.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04517/3.181, allocations: 15.93 MB / 0.9954 GB, free: 9.176 MB / 459.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3369/3.518, allocations: 5.641 MB / 1.001 GB, free: 93.2 MB / 459.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004055/3.522, allocations: 478.2 kB / 1.001 GB, free: 93.2 MB / 459.1 MB Notification: Performance of SimCode: time 1.443e-06/3.522, allocations: 1.406 kB / 1.001 GB, free: 93.2 MB / 459.1 MB Notification: Performance of Templates: time 0.7988/4.321, allocations: 272.2 MB / 1.267 GB, free: 64.09 MB / 475.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1)