Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001355/0.001355, allocations: 169.8 kB / 12.72 MB, free: 2.594 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.447/1.447, allocations: 170.6 MB / 183.8 MB, free: 11.49 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.001647/0.001647, allocations: 110.9 kB / 223.2 MB, free: 4.109 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.005e-05/3.024e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08317/0.08322, allocations: 38.77 MB / 307.6 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3112/0.3945, allocations: 87.27 MB / 394.9 MB, free: 5.238 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.3948, allocations: 80.81 kB / 395 MB, free: 5.195 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4493/0.8441, allocations: 97.01 MB / 492 MB, free: 71.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.8442, allocations: 4 kB / 492 MB, free: 71.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001955/0.8444, allocations: 102.4 kB / 492.1 MB, free: 71.26 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: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.02/0.8644, allocations: 5.496 MB / 497.6 MB, free: 69.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.8644, allocations: 9.562 kB / 497.6 MB, free: 69.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01093/0.8754, allocations: 2.32 MB / 499.9 MB, free: 68.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01308/0.8885, allocations: 4.918 MB / 0.493 GB, free: 68.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003277/0.8889, allocations: 392.6 kB / 0.4934 GB, free: 68.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00267/0.8916, allocations: 0.5126 MB / 0.4939 GB, free: 68.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03041/0.922, allocations: 12.89 MB / 0.5065 GB, free: 64.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003578/0.9224, allocations: 66.31 kB / 0.5065 GB, free: 64.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002344/0.9248, allocations: 255.8 kB / 0.5068 GB, free: 64.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00196/0.9267, allocations: 1.195 MB / 0.5079 GB, free: 64.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02286/0.9496, allocations: 11.02 MB / 0.5187 GB, free: 60.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06965/1.019, allocations: 57.06 MB / 0.5744 GB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01336/1.033, allocations: 5.148 MB / 0.5794 GB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003852/1.037, allocations: 3.167 MB / 0.5825 GB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001249/1.038, allocations: 0.687 MB / 0.5832 GB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/1.038, allocations: 51.88 kB / 0.5833 GB, free: 13.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=221): time 4.779e-06/1.038, allocations: 0 / 0.5833 GB, free: 13.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=252): time 0.2799/1.318, allocations: 21.49 MB / 0.6042 GB, free: 77.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.134e-05/1.318, allocations: 156.4 kB / 0.6044 GB, free: 77.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007805/1.326, allocations: 4.052 MB / 0.6084 GB, free: 76.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000591/1.326, allocations: 64.61 kB / 0.6084 GB, free: 76.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001831/1.328, allocations: 3.587 MB / 0.6119 GB, free: 74.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008915/1.329, allocations: 0.9439 MB / 0.6128 GB, free: 74.39 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000305/1.33, allocations: 137.8 kB / 0.613 GB, free: 74.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000283/1.33, allocations: 0.6017 MB / 0.6136 GB, free: 74.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003498/1.333, allocations: 2.97 MB / 0.6165 GB, free: 74.06 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005235/1.339, allocations: 6.997 MB / 0.6233 GB, free: 68.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005541/1.344, allocations: 4.519 MB / 0.6277 GB, free: 68.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-05/1.344, allocations: 40.91 kB / 0.6277 GB, free: 68.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.01815/1.362, allocations: 10.82 MB / 0.6383 GB, free: 65.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.778e-05/1.362, allocations: 66.25 kB / 0.6384 GB, free: 65.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001409/1.363, allocations: 140.9 kB / 0.6385 GB, free: 65.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002587/1.365, allocations: 1.137 MB / 0.6396 GB, free: 65.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005808/1.371, allocations: 1.729 MB / 0.6413 GB, free: 65.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006457/1.378, allocations: 5.934 MB / 0.6471 GB, free: 62.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00666/1.384, allocations: 427.7 kB / 0.6475 GB, free: 62.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001157/1.385, allocations: 435.6 kB / 0.6479 GB, free: 62.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 650 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (870): * Single equations (assignments): 866 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001104/1.387, allocations: 0.6288 MB / 0.6485 GB, free: 61.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008002/1.387, allocations: 416 kB / 0.6489 GB, free: 61.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008827/1.396, allocations: 5.497 MB / 0.6543 GB, free: 59.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.804e-05/1.396, allocations: 40.58 kB / 0.6543 GB, free: 59.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.128e-05/1.396, allocations: 6.5 kB / 0.6544 GB, free: 59.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.62e-05/1.396, allocations: 10.31 kB / 0.6544 GB, free: 59.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02195/1.418, allocations: 12.1 MB / 0.6662 GB, free: 54.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.836e-05/1.418, allocations: 3.812 kB / 0.6662 GB, free: 54.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00257/1.421, allocations: 0.5013 MB / 0.6667 GB, free: 54.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002315/1.423, allocations: 0.94 MB / 0.6676 GB, free: 54.67 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002677/1.424, allocations: 46.38 kB / 0.6676 GB, free: 54.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005804/1.429, allocations: 5.637 MB / 0.6731 GB, free: 50.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.429, allocations: 7.938 kB / 0.6731 GB, free: 50.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/1.442, allocations: 9.691 MB / 0.6826 GB, free: 41.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003289/1.445, allocations: 0.9092 MB / 0.6835 GB, free: 40.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009225/1.446, allocations: 52.2 kB / 0.6836 GB, free: 40.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00224/1.448, allocations: 175.9 kB / 0.6837 GB, free: 40.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004275/1.449, allocations: 156 kB / 0.6839 GB, free: 40.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001948/1.449, allocations: 64.61 kB / 0.6839 GB, free: 40.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00422/1.453, allocations: 2.831 MB / 0.6867 GB, free: 37.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.41e-07/1.453, allocations: 3.844 kB / 0.6867 GB, free: 37.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006742/1.46, allocations: 1.259 MB / 0.6879 GB, free: 36.56 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 221 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005649/1.46, allocations: 200.6 kB / 0.6881 GB, free: 36.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01026/1.471, allocations: 7.162 MB / 0.6951 GB, free: 29.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.471, allocations: 4 kB / 0.6951 GB, free: 29.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00341/1.474, allocations: 2.695 MB / 0.6977 GB, free: 27.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003315/1.477, allocations: 464.9 kB / 0.6982 GB, free: 27.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01955/1.497, allocations: 10.09 MB / 0.708 GB, free: 18.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003697/1.501, allocations: 3.905 MB / 0.7119 GB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.005674/1.507, allocations: 2.324 MB / 0.7141 GB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/1.508, allocations: 311.3 kB / 0.7144 GB, free: 12.53 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/1.508, allocations: 0 / 0.7144 GB, free: 12.53 MB / 362.7 MB Notification: Performance of Templates: time 0.3228/1.831, allocations: 47.47 MB / 0.7608 GB, free: 77.39 MB / 378.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1)