Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.ActuatedDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001037/0.001037, 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.258/1.258, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001676/0.001676, allocations: 106.8 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.119e-05/3.121e-05, allocations: 4 kB / 268.9 MB, free: 20.91 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08278/0.08282, allocations: 38.77 MB / 307.6 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3217/0.4046, allocations: 86.56 MB / 394.2 MB, free: 5.938 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.4048, allocations: 85.14 kB / 394.3 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4137/0.8186, allocations: 83.79 MB / 478.1 MB, free: 71.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.8186, allocations: 0 / 478.1 MB, free: 71.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002104/0.8188, allocations: 79.25 kB / 478.1 MB, free: 71.57 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.0184/0.8373, allocations: 4.481 MB / 482.6 MB, free: 69.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/0.8373, allocations: 8.719 kB / 482.6 MB, free: 69.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/0.848, allocations: 2.223 MB / 484.9 MB, free: 69.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01144/0.8595, allocations: 4.458 MB / 489.3 MB, free: 69.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002661/0.8598, allocations: 321.3 kB / 489.6 MB, free: 69 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002024/0.8619, allocations: 429 kB / 490.1 MB, free: 69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02073/0.8826, allocations: 10.69 MB / 0.489 GB, free: 66.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001741/0.8829, allocations: 60.7 kB / 0.4891 GB, free: 66.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006425/0.8835, allocations: 208.5 kB / 0.4893 GB, free: 66.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001451/0.885, allocations: 0.9983 MB / 0.4902 GB, free: 66.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.017/0.902, allocations: 8.844 MB / 0.4989 GB, free: 65.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04977/0.9518, allocations: 48.87 MB / 0.5466 GB, free: 28.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00968/0.9615, allocations: 3.482 MB / 0.55 GB, free: 26.24 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002025/0.9636, allocations: 1.766 MB / 0.5517 GB, free: 24.65 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007681/0.9713, allocations: 4.366 MB / 0.556 GB, free: 20.87 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.9714, allocations: 47.16 kB / 0.556 GB, free: 20.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=139): time 4.288e-06/0.9714, allocations: 0 / 0.556 GB, free: 20.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=145): time 0.02008/0.9914, allocations: 9.747 MB / 0.5656 GB, free: 12.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.9916, allocations: 141.3 kB / 0.5657 GB, free: 12.15 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005286/0.9969, allocations: 3.681 MB / 0.5693 GB, free: 8.855 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002223/0.9971, allocations: 41.7 kB / 0.5693 GB, free: 8.809 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001549/0.9987, allocations: 3.185 MB / 0.5724 GB, free: 5.953 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004691/0.9991, allocations: 0.5826 MB / 0.573 GB, free: 5.445 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.9993, allocations: 119.8 kB / 0.5731 GB, free: 5.332 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002661/0.9996, allocations: 0.5522 MB / 0.5737 GB, free: 4.844 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/1.002, allocations: 1.916 MB / 0.5755 GB, free: 3.125 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00471/1.007, allocations: 5.708 MB / 0.5811 GB, free: 11.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004263/1.011, allocations: 3.278 MB / 0.5843 GB, free: 8.988 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.007e-05/1.011, allocations: 36 kB / 0.5843 GB, free: 8.953 MB / 362.7 MB Notification: Performance of matching and sorting (n=768) (initialization): time 0.01335/1.024, allocations: 8.078 MB / 0.5922 GB, free: 1.371 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.201e-05/1.024, allocations: 65 kB / 0.5923 GB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001412/1.024, allocations: 140 kB / 0.5924 GB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002385/1.027, allocations: 0.9193 MB / 0.5933 GB, free: 256 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2516/1.278, allocations: 1.383 MB / 0.5947 GB, free: 76.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007681/1.286, allocations: 4.761 MB / 0.5993 GB, free: 75.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006739/1.293, allocations: 326.5 kB / 0.5996 GB, free: 75.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001233/1.294, allocations: 373.7 kB / 0.6 GB, free: 75.44 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (729): * Single equations (assignments): 725 * 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.001063/1.295, allocations: 0.5632 MB / 0.6005 GB, free: 75.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001121/1.296, allocations: 350.8 kB / 0.6009 GB, free: 75.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006254/1.303, allocations: 2.808 MB / 0.6036 GB, free: 75.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.219e-05/1.303, allocations: 17.64 kB / 0.6036 GB, free: 75.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.839e-05/1.303, allocations: 3.406 kB / 0.6036 GB, free: 75.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.83e-05/1.303, allocations: 11.91 kB / 0.6036 GB, free: 75.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/1.315, allocations: 6.951 MB / 0.6104 GB, free: 74.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/1.315, allocations: 0 / 0.6104 GB, free: 74.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/1.316, allocations: 242.2 kB / 0.6107 GB, free: 74.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001838/1.318, allocations: 0.6996 MB / 0.6113 GB, free: 74.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/1.318, allocations: 26.23 kB / 0.6114 GB, free: 74.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004466/1.323, allocations: 4.343 MB / 0.6156 GB, free: 73.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.323, allocations: 6.891 kB / 0.6156 GB, free: 73.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00638/1.329, allocations: 5.091 MB / 0.6206 GB, free: 72.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001629/1.331, allocations: 0.6248 MB / 0.6212 GB, free: 72.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003221/1.331, allocations: 26.66 kB / 0.6212 GB, free: 72.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/1.332, allocations: 84.72 kB / 0.6213 GB, free: 72.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002461/1.332, allocations: 84.12 kB / 0.6214 GB, free: 72.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/1.332, allocations: 46.31 kB / 0.6214 GB, free: 72.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003579/1.336, allocations: 2.554 MB / 0.6239 GB, free: 72.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/1.336, allocations: 0 / 0.6239 GB, free: 72.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004252/1.34, allocations: 0.958 MB / 0.6249 GB, free: 72.41 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003578/1.341, allocations: 163.1 kB / 0.625 GB, free: 72.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006193/1.347, allocations: 4.651 MB / 0.6296 GB, free: 71.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.347, allocations: 0 / 0.6296 GB, free: 71.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001486/1.348, allocations: 1.33 MB / 0.6309 GB, free: 70.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/1.351, allocations: 389.3 kB / 0.6312 GB, free: 70.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/1.363, allocations: 7.176 MB / 0.6382 GB, free: 67.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002778/1.366, allocations: 3.309 MB / 0.6415 GB, free: 66.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004242/1.37, allocations: 1.862 MB / 0.6433 GB, free: 66.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005954/1.37, allocations: 241.5 kB / 0.6435 GB, free: 66.45 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/1.371, allocations: 3.938 kB / 0.6435 GB, free: 66.45 MB / 362.7 MB Notification: Performance of Templates: time 0.05989/1.43, allocations: 32.71 MB / 0.6755 GB, free: 47.3 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1)