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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 197.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 51.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2489, allocations: 46.63 MB / 325.3 MB, free: 1.828 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.02104/0.27, allocations: 19.73 MB / 345 MB, free: 136 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01486/0.2849, allocations: 6.284 MB / 351.3 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004387/0.2894, allocations: 155.5 kB / 351.5 MB, free: 9.672 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01109/0.3005, allocations: 6.051 MB / 357.5 MB, free: 3.602 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008277/0.3088, allocations: 2.653 MB / 360.2 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005258/0.3141, allocations: 2.409 MB / 362.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01062/0.3248, allocations: 6.668 MB / 369.3 MB, free: 7.836 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01234/0.3371, allocations: 8.179 MB / 377.4 MB, free: 15.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005437/0.3426, allocations: 2.906 MB / 380.3 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006151/0.3488, allocations: 3.61 MB / 383.9 MB, free: 9.031 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002431/0.3512, allocations: 0.6523 MB / 384.6 MB, free: 8.379 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004985/0.3563, allocations: 1.853 MB / 386.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004858/0.3611, allocations: 3.379 MB / 389.8 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01035/0.3715, allocations: 3.85 MB / 393.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01765/0.3892, allocations: 11.95 MB / 405.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3893, allocations: 0 / 405.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3893, allocations: 0 / 405.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0004944/0.3898, allocations: 0 / 405.6 MB, free: 3.281 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2390 * Number of variables: 2390 Notification: Performance of Generate backend data structure: time 0.02421/0.414, allocations: 8.346 MB / 414 MB, free: 10.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/0.4141, allocations: 8.031 kB / 414 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009548/0.4236, allocations: 2.273 MB / 416.3 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009993/0.4337, allocations: 4.18 MB / 420.4 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004671/0.4342, allocations: 439.4 kB / 420.9 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00322/0.4374, allocations: 0.5816 MB / 421.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.038/0.4754, allocations: 16.8 MB / 438.3 MB, free: 1.582 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002312/0.4757, allocations: 55.44 kB / 438.3 MB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009444/0.4767, allocations: 275.8 kB / 438.6 MB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004072/0.4807, allocations: 2.639 MB / 441.2 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03069/0.5114, allocations: 14.39 MB / 455.6 MB, free: 208 kB / 382.1 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.4144/0.9259, allocations: 63.31 MB / 0.5067 GB, free: 51.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02015/0.9461, allocations: 7.667 MB / 0.5142 GB, free: 43.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004503/0.9506, allocations: 3.991 MB / 0.5181 GB, free: 39.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0208/0.9714, allocations: 16.77 MB / 0.5345 GB, free: 22.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.9715, allocations: 72.5 kB / 0.5346 GB, free: 21.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=274): time 5.28e-06/0.9715, allocations: 0 / 0.5346 GB, free: 21.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=340): time 0.1149/1.086, allocations: 42.93 MB / 0.5765 GB, free: 10.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02315/1.11, allocations: 16.71 MB / 0.5928 GB, free: 9.359 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007568/1.117, allocations: 5.743 MB / 0.5984 GB, free: 3.641 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008869/1.118, allocations: 77.7 kB / 0.5985 GB, free: 3.559 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2067/1.325, allocations: 4.73 MB / 0.6031 GB, free: 142 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002154/1.327, allocations: 1.275 MB / 0.6044 GB, free: 141.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003922/1.331, allocations: 1.917 MB / 0.6062 GB, free: 141.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.74e-05/1.331, allocations: 305.9 kB / 0.6065 GB, free: 141 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006548/1.338, allocations: 4.123 MB / 0.6106 GB, free: 140.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00888/1.346, allocations: 9.38 MB / 0.6197 GB, free: 131.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01571/1.362, allocations: 14.6 MB / 0.634 GB, free: 120.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002268/1.362, allocations: 55.28 kB / 0.634 GB, free: 120.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.03656/1.399, allocations: 17.62 MB / 0.6512 GB, free: 107.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001205/1.399, allocations: 84 kB / 0.6513 GB, free: 107.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002261/1.399, allocations: 184 kB / 0.6515 GB, free: 107.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01381/1.413, allocations: 4.572 MB / 0.656 GB, free: 102.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006742/1.42, allocations: 2.031 MB / 0.6579 GB, free: 100.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03826/1.458, allocations: 36.39 MB / 0.6935 GB, free: 63.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008408/1.467, allocations: 0.5432 MB / 0.694 GB, free: 62.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001652/1.468, allocations: 0.5596 MB / 0.6946 GB, free: 62.2 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 839 * Number of states: 0 () * Number of discrete variables: 60 (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.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 (1074): * Single equations (assignments): 1061 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(3,33,100.0%), (2,19,100.0%), (2,13,100.0%), (2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.00549/1.474, allocations: 3.27 MB / 0.6977 GB, free: 58.92 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0012/1.475, allocations: 0.536 MB / 0.6983 GB, free: 58.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01905/1.494, allocations: 9.951 MB / 0.708 GB, free: 48.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.939e-05/1.494, allocations: 52.88 kB / 0.708 GB, free: 48.24 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01622/1.511, allocations: 8.507 MB / 0.7163 GB, free: 39.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.497e-05/1.511, allocations: 11.95 kB / 0.7164 GB, free: 39.59 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0397/1.55, allocations: 22.73 MB / 0.7386 GB, free: 16.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-05/1.55, allocations: 4 kB / 0.7386 GB, free: 16.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002461/1.553, allocations: 488.2 kB / 0.739 GB, free: 16.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009952/1.563, allocations: 3.238 MB / 0.7422 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000615/1.564, allocations: 67.98 kB / 0.7422 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2401/1.804, allocations: 26.41 MB / 0.768 GB, free: 135.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01255/1.816, allocations: 10.77 MB / 0.7786 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02409/1.84, allocations: 13.91 MB / 0.7921 GB, free: 125.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003391/1.844, allocations: 1.121 MB / 0.7932 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001134/1.845, allocations: 57.88 kB / 0.7933 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004259/1.849, allocations: 218.1 kB / 0.7935 GB, free: 125.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001167/1.85, allocations: 236.8 kB / 0.7937 GB, free: 125.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002605/1.851, allocations: 98.59 kB / 0.7938 GB, free: 125.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004984/1.856, allocations: 3.584 MB / 0.7973 GB, free: 123.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.856, allocations: 0 / 0.7973 GB, free: 123.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008838/1.864, allocations: 1.991 MB / 0.7993 GB, free: 122.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.phi,joint.w) * 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 (220): * Single equations (assignments): 212 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,11,100.0%), (3,30,100.0%), (3,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009539/1.865, allocations: 266.8 kB / 0.7995 GB, free: 122.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02127/1.887, allocations: 14.34 MB / 0.8135 GB, free: 109.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/1.887, allocations: 0 / 0.8135 GB, free: 109.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005448/1.892, allocations: 4.179 MB / 0.8176 GB, free: 105.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004729/1.897, allocations: 0.8502 MB / 0.8184 GB, free: 104.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02471/1.922, allocations: 16.35 MB / 0.8344 GB, free: 89.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005734/1.927, allocations: 5.006 MB / 0.8393 GB, free: 84.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006684/1.934, allocations: 2.779 MB / 0.842 GB, free: 81.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001306/1.936, allocations: 363.4 kB / 0.8424 GB, free: 81.52 MB / 446.1 MB Notification: Performance of SimCode: time 1.242e-06/1.936, allocations: 0 / 0.8424 GB, free: 81.52 MB / 446.1 MB Notification: Performance of Templates: time 0.3524/2.288, allocations: 90.27 MB / 0.9305 GB, free: 125.9 MB / 446.1 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)