Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6789/0.6789, allocations: 110.9 MB / 125.9 MB, free: 6.215 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001686/0.001686, allocations: 143.3 kB / 151.8 MB, free: 4.996 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002473/0.0002474, allocations: 8 kB / 184.9 MB, free: 3.926 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1176, allocations: 25.15 MB / 210.1 MB, free: 29.75 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06355/0.1812, allocations: 51.63 MB / 261.7 MB, free: 14.18 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.1815, allocations: 87.94 kB / 261.8 MB, free: 14.09 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.685/0.8665, allocations: 201.3 MB / 463 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.8665, allocations: 4 kB / 463 MB, free: 10.92 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0002138/0.8667, allocations: 131.9 kB / 463.2 MB, free: 10.79 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2462 * Number of variables: 2462 Notification: Performance of Generate backend data structure: time 0.04091/0.9077, allocations: 9.642 MB / 472.8 MB, free: 1.07 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.9077, allocations: 12.02 kB / 472.8 MB, free: 1.059 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3421/1.25, allocations: 25.57 MB / 498.4 MB, free: 31.46 MB / 250.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01967/1.27, allocations: 7.019 MB / 0.4936 GB, free: 31.2 MB / 250.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000542/1.27, allocations: 0.519 MB / 0.4941 GB, free: 31.18 MB / 250.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005569/1.276, allocations: 0.668 MB / 0.4947 GB, free: 31.18 MB / 250.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09959/1.375, allocations: 33.77 MB / 0.5277 GB, free: 28.53 MB / 250.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000274/1.376, allocations: 44.39 kB / 0.5278 GB, free: 28.52 MB / 250.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003624/1.379, allocations: 307.9 kB / 0.5281 GB, free: 28.34 MB / 250.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.04104/1.42, allocations: 10.53 MB / 0.5383 GB, free: 25.66 MB / 250.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09555/1.516, allocations: 36.13 MB / 0.5736 GB, free: 6.477 MB / 266.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7384/2.254, allocations: 145.8 MB / 0.716 GB, free: 33.43 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0443/2.299, allocations: 14.14 MB / 0.7299 GB, free: 32.54 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/2.3, allocations: 0.7073 MB / 0.7305 GB, free: 31.97 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/2.3, allocations: 84.88 kB / 0.7306 GB, free: 31.93 MB / 282.8 MB Notification: Performance of pre-optimization done (n=397): time 1.098e-05/2.3, allocations: 0 / 0.7306 GB, free: 31.93 MB / 282.8 MB Notification: Performance of matching and sorting (n=428): time 0.1786/2.479, allocations: 64.54 MB / 0.7937 GB, free: 14.35 MB / 298.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001795/2.479, allocations: 406.4 kB / 0.794 GB, free: 13.87 MB / 298.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009737/2.489, allocations: 5.339 MB / 0.7993 GB, free: 8.66 MB / 298.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001588/2.49, allocations: 82.16 kB / 0.7993 GB, free: 8.578 MB / 298.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003505/2.494, allocations: 4.399 MB / 0.8036 GB, free: 4.266 MB / 298.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002839/2.497, allocations: 1.544 MB / 0.8051 GB, free: 2.738 MB / 298.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001516/2.498, allocations: 186.4 kB / 0.8053 GB, free: 2.562 MB / 298.8 MB Notification: Performance of setup shared object (initialization): time 0.0006684/2.499, allocations: 0.6991 MB / 0.806 GB, free: 1.855 MB / 298.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1652/2.664, allocations: 10.36 MB / 0.8161 GB, free: 69.52 MB / 298.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03438/2.698, allocations: 15.29 MB / 0.831 GB, free: 63.27 MB / 298.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0286/2.727, allocations: 10.6 MB / 0.8414 GB, free: 63.2 MB / 298.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002303/2.727, allocations: 51.19 kB / 0.8414 GB, free: 63.2 MB / 298.8 MB Notification: Performance of matching and sorting (n=1236) (initialization): time 0.06977/2.797, allocations: 25.24 MB / 0.8661 GB, free: 60.02 MB / 298.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001733/2.797, allocations: 80.77 kB / 0.8662 GB, free: 60.02 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000486/2.798, allocations: 313.5 kB / 0.8665 GB, free: 59.97 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002659/2.8, allocations: 1.179 MB / 0.8676 GB, free: 59.79 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0093/2.81, allocations: 2.393 MB / 0.87 GB, free: 59.54 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006405/2.816, allocations: 6.111 MB / 0.8759 GB, free: 54.91 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01845/2.835, allocations: 2.65 MB / 0.8785 GB, free: 53.33 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002822/2.838, allocations: 0.8379 MB / 0.8793 GB, free: 52.6 MB / 298.8 MB Warning: Assuming fixed start value for the following 2 variables: r2.w:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real r1.w:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 783 * 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.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1163): * Single equations (assignments): 1142 * Array equations: 20 * 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.007984/2.846, allocations: 3.09 MB / 0.8824 GB, free: 50 MB / 298.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001713/2.847, allocations: 0.5195 MB / 0.8829 GB, free: 49.77 MB / 298.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03137/2.879, allocations: 11.44 MB / 0.894 GB, free: 40.61 MB / 298.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04679/2.926, allocations: 14.33 MB / 0.908 GB, free: 26.23 MB / 298.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.52e-05/2.926, allocations: 15.94 kB / 0.908 GB, free: 26.21 MB / 298.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.136e-05/2.926, allocations: 23.2 kB / 0.9081 GB, free: 26.19 MB / 298.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2495/3.175, allocations: 38.63 MB / 0.9458 GB, free: 60.66 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.587e-05/3.175, allocations: 9.531 kB / 0.9458 GB, free: 60.66 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004522/3.18, allocations: 0.7781 MB / 0.9466 GB, free: 60.66 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002451/3.182, allocations: 0.9482 MB / 0.9475 GB, free: 60.65 MB / 298.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001381/3.184, allocations: 207.2 kB / 0.9477 GB, free: 60.65 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005966/3.19, allocations: 5.772 MB / 0.9533 GB, free: 59.32 MB / 298.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/3.19, allocations: 14.75 kB / 0.9533 GB, free: 59.32 MB / 298.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08713/3.277, allocations: 32.14 MB / 0.9847 GB, free: 52.23 MB / 298.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005604/3.282, allocations: 1.698 MB / 0.9864 GB, free: 51.05 MB / 298.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001997/3.284, allocations: 86.7 kB / 0.9865 GB, free: 50.98 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01408/3.299, allocations: 2.242 MB / 0.9887 GB, free: 49.52 MB / 298.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001172/3.3, allocations: 255 kB / 0.9889 GB, free: 49.27 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008728/3.301, allocations: 398.1 kB / 0.9893 GB, free: 48.89 MB / 298.8 MB Notification: Performance of sorting global known variables: time 0.006635/3.307, allocations: 3.771 MB / 0.993 GB, free: 45.14 MB / 298.8 MB Notification: Performance of sort global known variables: time 3.81e-07/3.307, allocations: 0 / 0.993 GB, free: 45.14 MB / 298.8 MB Notification: Performance of remove unused functions: time 0.009738/3.317, allocations: 1.83 MB / 0.9947 GB, free: 43.32 MB / 298.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.w,rotor1D.rotorWith3DEffects.phi,r1.phi,r1.w,r2.phi,r2.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 (369): * Single equations (assignments): 349 * Array equations: 19 * 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.0007988/3.318, allocations: 242.2 kB / 0.995 GB, free: 43.13 MB / 298.8 MB Notification: Performance of simCode: created initialization part: time 0.06278/3.381, allocations: 22.31 MB / 1.017 GB, free: 21.09 MB / 298.8 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/3.381, allocations: 0 / 1.017 GB, free: 21.09 MB / 298.8 MB Notification: Performance of simCode: created simulation system equations: time 0.1559/3.537, allocations: 9.949 MB / 1.026 GB, free: 63.47 MB / 298.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004008/3.541, allocations: 0.4972 MB / 1.027 GB, free: 63.45 MB / 298.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05666/3.597, allocations: 24.74 MB / 1.051 GB, free: 56.61 MB / 298.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008673/3.606, allocations: 4.937 MB / 1.056 GB, free: 55.73 MB / 298.8 MB Notification: Performance of simCode: alias equations: time 0.01325/3.619, allocations: 3.914 MB / 1.06 GB, free: 55.19 MB / 298.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004531/3.624, allocations: 0.8764 MB / 1.061 GB, free: 55.12 MB / 298.8 MB Notification: Performance of SimCode: time 1.082e-06/3.624, allocations: 2.531 kB / 1.061 GB, free: 55.12 MB / 298.8 MB Notification: Performance of Templates: time 0.2749/3.899, allocations: 93.34 MB / 1.152 GB, free: 56.59 MB / 298.8 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1)