Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.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.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002189/0.002189, allocations: 180.3 kB / 8.365 MB, free: 0.7109 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.01/2.01, allocations: 205.3 MB / 214.1 MB, free: 14.08 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.001111/0.00111, allocations: 82.55 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.123e-05/2.106e-05, allocations: 4 kB / 314.8 MB, free: 9.141 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3414, allocations: 47.56 MB / 362.3 MB, free: 45.81 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2807/0.6222, allocations: 112.9 MB / 475.3 MB, free: 5.305 MB / 363.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000497/0.6228, allocations: 91.89 kB / 475.4 MB, free: 5.219 MB / 363.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.9878/1.611, allocations: 125.6 MB / 0.5869 GB, free: 56.37 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.104e-06/1.611, allocations: 0 / 0.5869 GB, free: 56.37 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0004836/1.611, allocations: 147.6 kB / 0.587 GB, free: 56.23 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: 2390 * Number of variables: 2390 Notification: Performance of Generate backend data structure: time 0.0349/1.646, allocations: 7.137 MB / 0.594 GB, free: 49.03 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/1.646, allocations: 12.03 kB / 0.594 GB, free: 49.02 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02174/1.668, allocations: 2.787 MB / 0.5967 GB, free: 46.22 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02824/1.696, allocations: 7.519 MB / 0.6041 GB, free: 38.69 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004571/1.697, allocations: 228 kB / 0.6043 GB, free: 38.46 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003894/1.701, allocations: 423.8 kB / 0.6047 GB, free: 38.05 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02668/1.727, allocations: 10.24 MB / 0.6147 GB, free: 27.81 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04099/1.768, allocations: 14.78 MB / 0.6291 GB, free: 11.74 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000426/1.769, allocations: 75.28 kB / 0.6292 GB, free: 11.66 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003126/1.772, allocations: 40 kB / 0.6292 GB, free: 11.62 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003711/1.776, allocations: 1.534 MB / 0.6307 GB, free: 10.09 MB / 395.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.7834/2.559, allocations: 73.11 MB / 0.7021 GB, free: 32.19 MB / 411.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009695/2.569, allocations: 4.913 MB / 0.7069 GB, free: 31.52 MB / 411.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007979/2.577, allocations: 3.57 MB / 0.7104 GB, free: 31.48 MB / 411.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002348/2.579, allocations: 1.357 MB / 0.7117 GB, free: 30.33 MB / 411.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.823e-05/2.58, allocations: 68.81 kB / 0.7118 GB, free: 30.29 MB / 411.2 MB Notification: Performance of pre-optimization done (n=284): time 8.126e-06/2.58, allocations: 1.031 kB / 0.7118 GB, free: 30.29 MB / 411.2 MB Notification: Performance of matching and sorting (n=367): time 0.1826/2.762, allocations: 41.95 MB / 0.7528 GB, free: 19.55 MB / 411.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.78e-05/2.762, allocations: 165.6 kB / 0.7529 GB, free: 19.39 MB / 411.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0114/2.774, allocations: 4.477 MB / 0.7573 GB, free: 17.78 MB / 411.2 MB Notification: Performance of collectPreVariables (initialization): time 0.0011/2.775, allocations: 25.7 kB / 0.7573 GB, free: 17.75 MB / 411.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.004026/2.779, allocations: 4.693 MB / 0.7619 GB, free: 14.15 MB / 411.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.002373/2.781, allocations: 1.314 MB / 0.7632 GB, free: 13.18 MB / 411.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001304/2.783, allocations: 0 / 0.7632 GB, free: 13.18 MB / 411.2 MB Notification: Performance of setup shared object (initialization): time 0.000709/2.783, allocations: 0.7112 MB / 0.7639 GB, free: 12.69 MB / 411.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009575/2.793, allocations: 4.042 MB / 0.7678 GB, free: 11.12 MB / 411.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01342/2.807, allocations: 9.365 MB / 0.777 GB, free: 15.95 MB / 427.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01761/2.824, allocations: 6.08 MB / 0.7829 GB, free: 10.97 MB / 427.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003239/2.825, allocations: 56 kB / 0.783 GB, free: 10.91 MB / 427.2 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.07537/2.9, allocations: 17.37 MB / 0.7999 GB, free: 13.26 MB / 443.2 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001775/2.9, allocations: 88 kB / 0.8 GB, free: 13.18 MB / 443.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003736/2.901, allocations: 193.2 kB / 0.8002 GB, free: 12.99 MB / 443.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03485/2.935, allocations: 5.38 MB / 0.8055 GB, free: 9.496 MB / 443.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01394/2.949, allocations: 2.1 MB / 0.8075 GB, free: 7.684 MB / 443.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3906/3.34, allocations: 35.47 MB / 0.8422 GB, free: 87.8 MB / 443.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0133/3.353, allocations: 419.8 kB / 0.8426 GB, free: 87.8 MB / 443.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002816/3.356, allocations: 0.5885 MB / 0.8431 GB, free: 87.8 MB / 443.2 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 865 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1106): * Single equations (assignments): 1095 * 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,(2,100.0%) 13,(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.00376/3.36, allocations: 0.5859 MB / 0.8437 GB, free: 87.69 MB / 443.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001626/3.362, allocations: 0.5099 MB / 0.8442 GB, free: 87.69 MB / 443.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.043/3.405, allocations: 10.49 MB / 0.8544 GB, free: 85.84 MB / 443.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001339/3.405, allocations: 52.03 kB / 0.8545 GB, free: 85.83 MB / 443.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0344/3.439, allocations: 9.056 MB / 0.8633 GB, free: 82.91 MB / 443.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001344/3.44, allocations: 21.97 kB / 0.8634 GB, free: 82.91 MB / 443.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08149/3.521, allocations: 22.87 MB / 0.8857 GB, free: 74.39 MB / 443.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-05/3.521, allocations: 10.03 kB / 0.8857 GB, free: 74.39 MB / 443.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004968/3.526, allocations: 490.4 kB / 0.8862 GB, free: 74.38 MB / 443.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02236/3.549, allocations: 3.688 MB / 0.8898 GB, free: 73.67 MB / 443.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009819/3.55, allocations: 21.8 kB / 0.8898 GB, free: 73.67 MB / 443.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05555/3.605, allocations: 25.89 MB / 0.9151 GB, free: 55.21 MB / 443.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02577/3.631, allocations: 11.64 MB / 0.9264 GB, free: 44.75 MB / 443.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.046/3.677, allocations: 15.5 MB / 0.9416 GB, free: 29.82 MB / 443.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0049/3.682, allocations: 1.131 MB / 0.9427 GB, free: 28.67 MB / 443.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002219/3.684, allocations: 15.98 kB / 0.9427 GB, free: 28.66 MB / 443.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007354/3.692, allocations: 176.9 kB / 0.9429 GB, free: 28.48 MB / 443.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001888/3.694, allocations: 260.5 kB / 0.9431 GB, free: 28.24 MB / 443.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007994/3.694, allocations: 99.98 kB / 0.9432 GB, free: 28.14 MB / 443.2 MB Notification: Performance of sorting global known variables: time 0.008069/3.703, allocations: 3.004 MB / 0.9462 GB, free: 25.16 MB / 443.2 MB Notification: Performance of sort global known variables: time 1.012e-06/3.703, allocations: 2.094 kB / 0.9462 GB, free: 25.16 MB / 443.2 MB Notification: Performance of remove unused functions: time 0.01482/3.717, allocations: 1.842 MB / 0.948 GB, free: 23.33 MB / 443.2 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 4 ($STATESET140081081893257.x,$STATESET140081081893256.x,joint.phi,joint.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (234): * Single equations (assignments): 226 * 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.001936/3.719, allocations: 220.5 kB / 0.9482 GB, free: 23.16 MB / 443.2 MB Notification: Performance of simCode: created initialization part: time 0.02424/3.744, allocations: 10.48 MB / 0.9584 GB, free: 12.98 MB / 443.2 MB Notification: Performance of simCode: created event and clocks part: time 1.517e-05/3.744, allocations: 0 / 0.9584 GB, free: 12.98 MB / 443.2 MB Notification: Performance of simCode: created simulation system equations: time 0.009858/3.754, allocations: 4.192 MB / 0.9625 GB, free: 8.758 MB / 443.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006661/3.76, allocations: 0.6445 MB / 0.9631 GB, free: 8.145 MB / 443.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04561/3.806, allocations: 14.44 MB / 0.9772 GB, free: 9.633 MB / 459.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3729/4.179, allocations: 5.178 MB / 0.9823 GB, free: 97.43 MB / 459.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002736/4.182, allocations: 427.8 kB / 0.9827 GB, free: 97.43 MB / 459.2 MB Notification: Performance of SimCode: time 1.322e-06/4.182, allocations: 0 / 0.9827 GB, free: 97.43 MB / 459.2 MB Notification: Performance of Templates: time 0.7626/4.944, allocations: 245.9 MB / 1.223 GB, free: 90.78 MB / 475.2 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1)