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.00152/0.001523, allocations: 185.4 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.892/1.892, allocations: 205.4 MB / 222.5 MB, free: 9.148 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.001113/0.001112, allocations: 88.44 kB / 270.9 MB, free: 8.395 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000515/0.0005152, allocations: 8 kB / 327 MB, free: 228 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3273, allocations: 47.56 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1834/0.5108, allocations: 113.7 MB / 488.2 MB, free: 15.03 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003445/0.5112, allocations: 99.95 kB / 488.3 MB, free: 14.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7488/1.26, allocations: 128.7 MB / 0.6025 GB, free: 12.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.26, allocations: 0 / 0.6025 GB, free: 12.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000452/1.26, allocations: 136 kB / 0.6027 GB, free: 12.69 MB / 378.7 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.03687/1.297, allocations: 7.602 MB / 0.6101 GB, free: 5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/1.297, allocations: 12.03 kB / 0.6101 GB, free: 4.988 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02156/1.319, allocations: 2.779 MB / 0.6128 GB, free: 2.195 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02899/1.348, allocations: 7.582 MB / 0.6202 GB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008103/1.349, allocations: 0.5255 MB / 0.6207 GB, free: 10 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003983/1.353, allocations: 0.695 MB / 0.6214 GB, free: 9.305 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06182/1.415, allocations: 17.51 MB / 0.6385 GB, free: 6.488 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005161/1.415, allocations: 83.28 kB / 0.6386 GB, free: 6.406 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003395/1.419, allocations: 331.9 kB / 0.6389 GB, free: 6.082 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004273/1.423, allocations: 1.535 MB / 0.6404 GB, free: 4.547 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3453/1.768, allocations: 14.73 MB / 0.6548 GB, free: 60.91 MB / 410.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.1217/1.89, allocations: 73.78 MB / 0.7268 GB, free: 18.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03874/1.929, allocations: 7.862 MB / 0.7345 GB, free: 16.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03851/1.967, allocations: 16.69 MB / 0.7508 GB, free: 8.172 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/1.968, allocations: 63.78 kB / 0.7509 GB, free: 8.117 MB / 410.7 MB Notification: Performance of pre-optimization done (n=275): time 6.672e-06/1.968, allocations: 0 / 0.7509 GB, free: 8.117 MB / 410.7 MB Notification: Performance of matching and sorting (n=349): time 0.2442/2.212, allocations: 46.09 MB / 0.7959 GB, free: 7.836 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0433/2.255, allocations: 16.1 MB / 0.8116 GB, free: 7.895 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01357/2.269, allocations: 5.099 MB / 0.8166 GB, free: 2.832 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001066/2.27, allocations: 81.7 kB / 0.8167 GB, free: 2.746 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.3327/2.603, allocations: 4.603 MB / 0.8212 GB, free: 106.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002887/2.606, allocations: 1.306 MB / 0.8225 GB, free: 105.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001849/2.607, allocations: 188.9 kB / 0.8226 GB, free: 105.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008938/2.608, allocations: 0.6945 MB / 0.8233 GB, free: 105.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01595/2.624, allocations: 4.129 MB / 0.8273 GB, free: 105.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0143/2.639, allocations: 9.359 MB / 0.8365 GB, free: 98.61 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0137/2.652, allocations: 6.102 MB / 0.8424 GB, free: 98.55 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001919/2.653, allocations: 52 kB / 0.8425 GB, free: 98.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.06588/2.719, allocations: 17.85 MB / 0.8599 GB, free: 97.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001517/2.719, allocations: 86.38 kB / 0.86 GB, free: 97.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002837/2.719, allocations: 185 kB / 0.8602 GB, free: 97.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02993/2.749, allocations: 5 MB / 0.8651 GB, free: 97.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01265/2.762, allocations: 2.022 MB / 0.867 GB, free: 97.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07936/2.841, allocations: 38.29 MB / 0.9044 GB, free: 78.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01255/2.854, allocations: 0.5513 MB / 0.905 GB, free: 77.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002482/2.856, allocations: 0.5612 MB / 0.9055 GB, free: 77.79 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 841 * 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 (1064): * Single equations (assignments): 1053 * 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.009428/2.866, allocations: 3.288 MB / 0.9087 GB, free: 76.36 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00148/2.867, allocations: 0.5293 MB / 0.9092 GB, free: 76.07 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03873/2.906, allocations: 10.55 MB / 0.9195 GB, free: 68.41 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.423e-05/2.906, allocations: 40 kB / 0.9196 GB, free: 68.37 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03575/2.942, allocations: 9.633 MB / 0.929 GB, free: 60.63 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-05/2.942, allocations: 18.75 kB / 0.929 GB, free: 60.63 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07225/3.014, allocations: 23.73 MB / 0.9522 GB, free: 41.58 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.653e-05/3.014, allocations: 8 kB / 0.9522 GB, free: 41.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004615/3.019, allocations: 470.2 kB / 0.9526 GB, free: 41.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02174/3.041, allocations: 3.685 MB / 0.9562 GB, free: 37.54 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009195/3.042, allocations: 71.94 kB / 0.9563 GB, free: 37.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3913/3.433, allocations: 28.23 MB / 0.9839 GB, free: 90.75 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02902/3.462, allocations: 12.66 MB / 0.9962 GB, free: 87.98 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04661/3.509, allocations: 15.26 MB / 1.011 GB, free: 86.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004497/3.513, allocations: 1.149 MB / 1.012 GB, free: 86.2 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002117/3.515, allocations: 65.55 kB / 1.012 GB, free: 86.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006649/3.522, allocations: 227.9 kB / 1.013 GB, free: 86.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001616/3.524, allocations: 245.6 kB / 1.013 GB, free: 86.19 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005417/3.524, allocations: 93.16 kB / 1.013 GB, free: 86.19 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01066/3.535, allocations: 3.578 MB / 1.016 GB, free: 85.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.31e-07/3.535, allocations: 0 / 1.016 GB, free: 85.98 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0135/3.549, allocations: 2.05 MB / 1.018 GB, free: 85.98 MB / 458.7 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 (216): * Single equations (assignments): 208 * 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.001826/3.55, allocations: 274.1 kB / 1.019 GB, free: 85.89 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02458/3.575, allocations: 10.88 MB / 1.029 GB, free: 84.95 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/3.575, allocations: 3.875 kB / 1.029 GB, free: 84.95 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0102/3.585, allocations: 4.275 MB / 1.033 GB, free: 83.53 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006677/3.592, allocations: 0.7614 MB / 1.034 GB, free: 83.23 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04429/3.636, allocations: 19.93 MB / 1.054 GB, free: 73.08 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01218/3.649, allocations: 5.158 MB / 1.059 GB, free: 71.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002759/3.651, allocations: 426.7 kB / 1.059 GB, free: 71.38 MB / 458.7 MB Notification: Performance of SimCode: time 2.335e-06/3.651, allocations: 3.188 kB / 1.059 GB, free: 71.38 MB / 458.7 MB Notification: Performance of Templates: time 0.7456/4.397, allocations: 247.2 MB / 1.3 GB, free: 6.332 MB / 474.7 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)