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.001703/0.001708, allocations: 184.8 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.897/1.897, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 95.34 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005643/0.0005645, allocations: 8 kB / 327 MB, free: 204 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3318, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1843/0.5161, allocations: 114.2 MB / 488.7 MB, free: 14.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/0.5165, allocations: 91.95 kB / 488.8 MB, free: 14.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8745/1.391, allocations: 141.6 MB / 0.6156 GB, free: 15.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.016e-06/1.391, allocations: 0 / 0.6156 GB, free: 15.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006726/1.392, allocations: 160 kB / 0.6158 GB, free: 15.17 MB / 394.7 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.04654/1.438, allocations: 8.419 MB / 0.624 GB, free: 6.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/1.438, allocations: 8.031 kB / 0.624 GB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02406/1.462, allocations: 2.911 MB / 0.6269 GB, free: 3.727 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03222/1.495, allocations: 8.112 MB / 0.6348 GB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008765/1.496, allocations: 0.5859 MB / 0.6354 GB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004358/1.5, allocations: 0.7926 MB / 0.6361 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6683/2.168, allocations: 19.52 MB / 0.6552 GB, free: 47.56 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008029/2.169, allocations: 88.3 kB / 0.6553 GB, free: 47.56 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005221/2.174, allocations: 373.3 kB / 0.6556 GB, free: 47.56 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006027/2.181, allocations: 1.722 MB / 0.6573 GB, free: 47.55 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06518/2.246, allocations: 16.56 MB / 0.6735 GB, free: 47.49 MB / 410.8 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.1351/2.381, allocations: 81.16 MB / 0.7527 GB, free: 14.33 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04537/2.426, allocations: 9.172 MB / 0.7617 GB, free: 11.66 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05264/2.479, allocations: 20.46 MB / 0.7817 GB, free: 14.62 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.588e-05/2.479, allocations: 64.66 kB / 0.7817 GB, free: 14.55 MB / 442.8 MB Notification: Performance of pre-optimization done (n=322): time 7.274e-06/2.479, allocations: 0 / 0.7817 GB, free: 14.55 MB / 442.8 MB Notification: Performance of matching and sorting (n=380): time 0.5562/3.035, allocations: 46.17 MB / 0.8268 GB, free: 95.86 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02311/3.059, allocations: 12.92 MB / 0.8394 GB, free: 89.27 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01379/3.072, allocations: 5.417 MB / 0.8447 GB, free: 88.79 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001149/3.074, allocations: 82.19 kB / 0.8448 GB, free: 88.75 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004741/3.078, allocations: 4.98 MB / 0.8497 GB, free: 86.28 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002747/3.081, allocations: 1.417 MB / 0.8511 GB, free: 85.45 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002027/3.083, allocations: 191.5 kB / 0.8512 GB, free: 85.45 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0009168/3.084, allocations: 0.7166 MB / 0.8519 GB, free: 85.12 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01187/3.096, allocations: 4.382 MB / 0.8562 GB, free: 85.1 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01728/3.113, allocations: 9.795 MB / 0.8658 GB, free: 78.17 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01601/3.13, allocations: 6.437 MB / 0.8721 GB, free: 78.11 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003509/3.13, allocations: 54.09 kB / 0.8721 GB, free: 78.11 MB / 458.8 MB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.0559/3.186, allocations: 17.27 MB / 0.889 GB, free: 73.09 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001718/3.186, allocations: 95.53 kB / 0.8891 GB, free: 73.09 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003287/3.186, allocations: 187.8 kB / 0.8893 GB, free: 73.09 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01913/3.206, allocations: 3.592 MB / 0.8928 GB, free: 72.42 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01512/3.221, allocations: 2.248 MB / 0.895 GB, free: 72.16 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05224/3.273, allocations: 27.65 MB / 0.922 GB, free: 55.8 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01327/3.286, allocations: 0.6252 MB / 0.9226 GB, free: 55.63 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00284/3.289, allocations: 0.5763 MB / 0.9231 GB, free: 55.56 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 869 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1166): * Single equations (assignments): 1151 * 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%) 20,(1,100.0%) 7,(2,100.0%) 24,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.01123/3.301, allocations: 3.574 MB / 0.9266 GB, free: 53.66 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00186/3.302, allocations: 0.5707 MB / 0.9272 GB, free: 53.09 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03981/3.342, allocations: 10.36 MB / 0.9373 GB, free: 44.82 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03318/3.376, allocations: 9.055 MB / 0.9462 GB, free: 37.45 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03237/3.408, allocations: 9.472 MB / 0.9554 GB, free: 29.68 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001129/3.408, allocations: 21.48 kB / 0.9554 GB, free: 29.68 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07701/3.485, allocations: 24.65 MB / 0.9795 GB, free: 8.719 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.38e-05/3.485, allocations: 11.98 kB / 0.9795 GB, free: 8.707 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006567/3.492, allocations: 0.6363 MB / 0.9801 GB, free: 8.07 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3492/3.841, allocations: 2.999 MB / 0.9831 GB, free: 84.09 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001151/3.842, allocations: 77.36 kB / 0.9831 GB, free: 84.09 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04687/3.889, allocations: 21.57 MB / 1.004 GB, free: 78.96 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0115/3.901, allocations: 6.038 MB / 1.01 GB, free: 76.2 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04557/3.946, allocations: 15.68 MB / 1.025 GB, free: 74.52 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005145/3.952, allocations: 1.257 MB / 1.027 GB, free: 74.42 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00227/3.954, allocations: 68.84 kB / 1.027 GB, free: 74.42 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007206/3.961, allocations: 273.3 kB / 1.027 GB, free: 74.42 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001898/3.963, allocations: 249.9 kB / 1.027 GB, free: 74.41 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008054/3.964, allocations: 106.4 kB / 1.027 GB, free: 74.41 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.01066/3.975, allocations: 3.804 MB / 1.031 GB, free: 74.2 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.224e-06/3.975, allocations: 0 / 1.031 GB, free: 74.2 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01447/3.989, allocations: 2.104 MB / 1.033 GB, free: 74.1 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 8 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],joint.phi_a,joint.phi_b,joint.w_a,joint.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (290): * Single equations (assignments): 282 * 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%) 17,(3,100.0%) 8} * Non-linear torn systems: 1 {3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001993/3.991, allocations: 289.9 kB / 1.033 GB, free: 73.96 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.02744/4.019, allocations: 11.38 MB / 1.044 GB, free: 69.92 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.336e-05/4.019, allocations: 3.375 kB / 1.044 GB, free: 69.92 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01379/4.032, allocations: 4.787 MB / 1.049 GB, free: 67.98 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007374/4.04, allocations: 0.8027 MB / 1.05 GB, free: 67.68 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05225/4.092, allocations: 21.87 MB / 1.071 GB, free: 56.56 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01374/4.106, allocations: 5.604 MB / 1.077 GB, free: 54.19 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003468/4.109, allocations: 480.3 kB / 1.077 GB, free: 53.74 MB / 458.8 MB Notification: Performance of SimCode: time 1.423e-06/4.11, allocations: 0 / 1.077 GB, free: 53.74 MB / 458.8 MB Notification: Performance of Templates: time 1.157/5.267, allocations: 273 MB / 1.344 GB, free: 125.6 MB / 0.4949 GB 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)