Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005309/0.005309, allocations: 165.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.218/1.218, allocations: 170.8 MB / 186.6 MB, free: 1.027 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00164/0.00164, allocations: 107.3 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003346, allocations: 11.98 kB / 274.1 MB, free: 10.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2311, allocations: 38.76 MB / 312.9 MB, free: 38.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1257/0.3568, allocations: 101.1 MB / 414 MB, free: 5.332 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000346/0.3573, allocations: 91.95 kB / 414.1 MB, free: 5.242 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4455/0.8028, allocations: 127.2 MB / 0.5287 GB, free: 15.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.8028, allocations: 0 / 0.5287 GB, free: 15.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004675/0.8033, allocations: 148 kB / 0.5288 GB, free: 15 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2354 * Number of variables: 2354 Notification: Performance of Generate backend data structure: time 0.03064/0.834, allocations: 7.516 MB / 0.5361 GB, free: 7.395 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.834, allocations: 8.031 kB / 0.5361 GB, free: 7.387 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01317/0.8472, allocations: 2.771 MB / 0.5389 GB, free: 4.602 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2024/1.05, allocations: 7.514 MB / 0.5462 GB, free: 40.83 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000483/1.05, allocations: 0.5138 MB / 0.5467 GB, free: 40.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002918/1.053, allocations: 0.6906 MB / 0.5474 GB, free: 40.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03707/1.09, allocations: 17.26 MB / 0.5642 GB, free: 37.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006033/1.091, allocations: 78.12 kB / 0.5643 GB, free: 37.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003184/1.094, allocations: 330.3 kB / 0.5646 GB, free: 37.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002873/1.097, allocations: 1.502 MB / 0.5661 GB, free: 37.28 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03031/1.127, allocations: 14.53 MB / 0.5803 GB, free: 37.23 MB / 346.7 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.08845/1.216, allocations: 73.2 MB / 0.6517 GB, free: 3.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02176/1.238, allocations: 7.644 MB / 0.6592 GB, free: 320 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03002/1.268, allocations: 15.9 MB / 0.6747 GB, free: 2.516 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.844e-05/1.268, allocations: 62.72 kB / 0.6748 GB, free: 2.449 MB / 378.7 MB Notification: Performance of pre-optimization done (n=261): time 5.561e-06/1.268, allocations: 3.719 kB / 0.6748 GB, free: 2.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=335): time 0.3289/1.597, allocations: 45.83 MB / 0.7196 GB, free: 66.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02136/1.618, allocations: 16.1 MB / 0.7353 GB, free: 61.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008152/1.626, allocations: 5.071 MB / 0.7402 GB, free: 60.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001029/1.627, allocations: 79.98 kB / 0.7403 GB, free: 60.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003491/1.631, allocations: 4.743 MB / 0.7449 GB, free: 56.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002157/1.633, allocations: 1.252 MB / 0.7462 GB, free: 56.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005097/1.633, allocations: 179.3 kB / 0.7463 GB, free: 55.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003964/1.634, allocations: 0.6863 MB / 0.747 GB, free: 55.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005194/1.639, allocations: 4.11 MB / 0.751 GB, free: 53.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007633/1.647, allocations: 9.309 MB / 0.7601 GB, free: 45.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008149/1.655, allocations: 6.055 MB / 0.766 GB, free: 43.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001006/1.655, allocations: 52 kB / 0.7661 GB, free: 43.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=1181) (initialization): time 0.03592/1.691, allocations: 17.94 MB / 0.7836 GB, free: 29.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001591/1.691, allocations: 84 kB / 0.7837 GB, free: 28.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003192/1.692, allocations: 184 kB / 0.7839 GB, free: 28.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0162/1.708, allocations: 4.998 MB / 0.7887 GB, free: 25.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007074/1.715, allocations: 2.002 MB / 0.7907 GB, free: 23.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2464/1.961, allocations: 38.34 MB / 0.8281 GB, free: 54.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009101/1.97, allocations: 0.5482 MB / 0.8287 GB, free: 54.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002052/1.973, allocations: 0.561 MB / 0.8292 GB, free: 54.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 838 * Number of states: 0 () * Number of discrete variables: 57 (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.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 (1047): * Single equations (assignments): 1036 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 38,(2,100.0%) 23,(3,77.8%) 12,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.007462/1.98, allocations: 3.247 MB / 0.8324 GB, free: 54.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001447/1.981, allocations: 0.5273 MB / 0.8329 GB, free: 54.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02202/2.003, allocations: 10.48 MB / 0.8431 GB, free: 53.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001138/2.004, allocations: 48.59 kB / 0.8432 GB, free: 53.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01944/2.023, allocations: 9.562 MB / 0.8525 GB, free: 53.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.909e-05/2.023, allocations: 17.94 kB / 0.8525 GB, free: 53.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0447/2.068, allocations: 23.51 MB / 0.8755 GB, free: 44.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-05/2.068, allocations: 6.375 kB / 0.8755 GB, free: 44.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002519/2.071, allocations: 458.3 kB / 0.8759 GB, free: 44.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01183/2.082, allocations: 3.693 MB / 0.8795 GB, free: 44.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008115/2.083, allocations: 66.3 kB / 0.8796 GB, free: 44.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03404/2.117, allocations: 28.23 MB / 0.9072 GB, free: 29.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01559/2.133, allocations: 12.66 MB / 0.9195 GB, free: 17.81 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02534/2.158, allocations: 15.15 MB / 0.9343 GB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004432/2.163, allocations: 1.146 MB / 0.9354 GB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001492/2.164, allocations: 54.97 kB / 0.9355 GB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003898/2.168, allocations: 225.9 kB / 0.9357 GB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009206/2.169, allocations: 254.1 kB / 0.936 GB, free: 3.746 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002918/2.17, allocations: 91.61 kB / 0.936 GB, free: 3.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.006484/2.176, allocations: 3.552 MB / 0.9395 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.4e-07/2.176, allocations: 3.281 kB / 0.9395 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01736/2.193, allocations: 2.313 MB / 0.9418 GB, free: 15.37 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.phi,bodyOfJoint.body.w_a[2]) * 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 (204): * Single equations (assignments): 196 * 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 {(1,100.0%) 11,(3,100.0%) 35,(3,100.0%) 25} * Non-linear torn systems: 1 {3 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.002476/2.196, allocations: 257 kB / 0.942 GB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.02166/2.218, allocations: 10.81 MB / 0.9526 GB, free: 4.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/2.218, allocations: 4 kB / 0.9526 GB, free: 4.836 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2159/2.434, allocations: 4.223 MB / 0.9567 GB, free: 68.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004978/2.439, allocations: 0.7394 MB / 0.9574 GB, free: 68.41 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Joints.mo:260:5-270:3:writable] Warning: Variable joint.phi has attribute stateSelect=StateSelect.never, but was selected as a state Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0342/2.473, allocations: 18.92 MB / 0.9759 GB, free: 61.37 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008885/2.482, allocations: 5.111 MB / 0.9809 GB, free: 60.51 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.008473/2.49, allocations: 2.739 MB / 0.9836 GB, free: 60.45 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001705/2.492, allocations: 354.8 kB / 0.9839 GB, free: 60.45 MB / 394.7 MB Notification: Performance of SimCode: time 1.302e-06/2.492, allocations: 2.188 kB / 0.9839 GB, free: 60.45 MB / 394.7 MB Notification: Performance of Templates: time 0.1478/2.64, allocations: 88.01 MB / 1.07 GB, free: 18.94 MB / 394.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1)