Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009379/0.000938, allocations: 187.9 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.427/1.427, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001869/0.001869, allocations: 115.9 kB / 248.1 MB, free: 6.352 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.648e-05/1.651e-05, allocations: 4 kB / 298.1 MB, free: 8.242 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1014, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3562/0.4576, allocations: 92.33 MB / 434.9 MB, free: 3.758 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/0.4579, allocations: 86.39 kB / 435 MB, free: 3.715 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.4611/0.919, allocations: 95 MB / 0.5176 GB, free: 66.89 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.9191, allocations: 0 / 0.5176 GB, free: 66.89 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0002668/0.9194, allocations: 105.6 kB / 0.5177 GB, free: 66.88 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: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.01992/0.9393, allocations: 5.484 MB / 0.523 GB, free: 65.03 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.9393, allocations: 6.375 kB / 0.523 GB, free: 65.03 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01059/0.9499, allocations: 2.317 MB / 0.5253 GB, free: 64.69 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01382/0.9638, allocations: 4.919 MB / 0.5301 GB, free: 64.07 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003148/0.9642, allocations: 167.4 kB / 0.5303 GB, free: 64.07 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002883/0.967, allocations: 308.3 kB / 0.5305 GB, free: 64.06 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01483/0.9819, allocations: 7.747 MB / 0.5381 GB, free: 64.04 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02644/1.008, allocations: 11.53 MB / 0.5494 GB, free: 61.05 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002519/1.009, allocations: 66.66 kB / 0.5494 GB, free: 61.05 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001135/1.01, allocations: 35.42 kB / 0.5495 GB, free: 61.05 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001773/1.012, allocations: 1.196 MB / 0.5506 GB, free: 61.04 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06393/1.076, allocations: 54.87 MB / 0.6042 GB, free: 41.39 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004855/1.08, allocations: 4.345 MB / 0.6085 GB, free: 39.27 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003289/1.084, allocations: 3.118 MB / 0.6115 GB, free: 37.97 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/1.085, allocations: 0.6797 MB / 0.6122 GB, free: 37.39 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/1.085, allocations: 62.59 kB / 0.6122 GB, free: 37.32 MB / 411.1 MB Notification: Performance of pre-optimization done (n=221): time 4.899e-06/1.085, allocations: 0 / 0.6122 GB, free: 37.32 MB / 411.1 MB Notification: Performance of matching and sorting (n=252): time 0.04391/1.129, allocations: 22.3 MB / 0.634 GB, free: 28.59 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/1.129, allocations: 154 kB / 0.6342 GB, free: 28.43 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004788/1.134, allocations: 3.353 MB / 0.6374 GB, free: 26.51 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005812/1.134, allocations: 33.03 kB / 0.6375 GB, free: 26.48 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002355/1.137, allocations: 3.643 MB / 0.641 GB, free: 23.17 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00166/1.138, allocations: 0.9201 MB / 0.6419 GB, free: 22.34 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002906/1.139, allocations: 0 / 0.6419 GB, free: 22.34 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0004995/1.139, allocations: 0.6085 MB / 0.6425 GB, free: 21.82 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003401/1.143, allocations: 2.883 MB / 0.6453 GB, free: 19.27 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004612/1.147, allocations: 7.052 MB / 0.6522 GB, free: 10.6 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00609/1.153, allocations: 4.437 MB / 0.6565 GB, free: 6.828 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.396e-05/1.153, allocations: 40 kB / 0.6566 GB, free: 6.789 MB / 411.1 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.2891/1.442, allocations: 10.06 MB / 0.6664 GB, free: 69.43 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/1.443, allocations: 69.75 kB / 0.6665 GB, free: 69.43 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001553/1.443, allocations: 148.4 kB / 0.6666 GB, free: 69.43 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002863/1.446, allocations: 1.146 MB / 0.6677 GB, free: 69.43 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007024/1.453, allocations: 1.787 MB / 0.6695 GB, free: 69.43 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006757/1.459, allocations: 5.635 MB / 0.675 GB, free: 68.18 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006521/1.466, allocations: 291.8 kB / 0.6753 GB, free: 68.18 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001308/1.467, allocations: 453.2 kB / 0.6757 GB, free: 68.18 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * 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 (900): * Single equations (assignments): 896 * 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.001256/1.469, allocations: 494.8 kB / 0.6762 GB, free: 68.07 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008473/1.469, allocations: 370.4 kB / 0.6765 GB, free: 68.07 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008404/1.478, allocations: 5.288 MB / 0.6817 GB, free: 67.94 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.685e-05/1.478, allocations: 27.53 kB / 0.6817 GB, free: 67.94 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/1.478, allocations: 6.625 kB / 0.6817 GB, free: 67.94 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.291e-05/1.478, allocations: 10.22 kB / 0.6817 GB, free: 67.94 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0216/1.5, allocations: 11 MB / 0.6925 GB, free: 67.2 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.357e-05/1.5, allocations: 3.156 kB / 0.6925 GB, free: 67.2 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002927/1.503, allocations: 0.5042 MB / 0.693 GB, free: 67.2 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002777/1.505, allocations: 0.9321 MB / 0.6939 GB, free: 67.19 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003097/1.506, allocations: 17.86 kB / 0.6939 GB, free: 67.19 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006466/1.512, allocations: 5.338 MB / 0.6991 GB, free: 65.92 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/1.512, allocations: 5.438 kB / 0.6991 GB, free: 65.92 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01354/1.526, allocations: 9.438 MB / 0.7083 GB, free: 64.9 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002593/1.528, allocations: 0.8455 MB / 0.7092 GB, free: 64.61 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006266/1.529, allocations: 6.828 kB / 0.7092 GB, free: 64.61 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002043/1.531, allocations: 144 kB / 0.7093 GB, free: 64.61 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004364/1.532, allocations: 157 kB / 0.7094 GB, free: 64.58 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002096/1.532, allocations: 75.77 kB / 0.7095 GB, free: 64.56 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.003831/1.536, allocations: 2.226 MB / 0.7117 GB, free: 63.72 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.536, allocations: 0 / 0.7117 GB, free: 63.72 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.00633/1.542, allocations: 1.087 MB / 0.7128 GB, free: 63.71 MB / 411.1 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.0004574/1.542, allocations: 152.2 kB / 0.7129 GB, free: 63.63 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.009071/1.552, allocations: 6.882 MB / 0.7196 GB, free: 61.54 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/1.552, allocations: 0 / 0.7196 GB, free: 61.54 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003107/1.555, allocations: 2.617 MB / 0.7222 GB, free: 60.55 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/1.557, allocations: 346.7 kB / 0.7225 GB, free: 60.4 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01782/1.575, allocations: 9.92 MB / 0.7322 GB, free: 56.94 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003753/1.579, allocations: 3.899 MB / 0.736 GB, free: 55.54 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.00585/1.585, allocations: 2.341 MB / 0.7383 GB, free: 55.48 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/1.586, allocations: 291.9 kB / 0.7386 GB, free: 55.46 MB / 411.1 MB Notification: Performance of SimCode: time 2.024e-06/1.586, allocations: 2 kB / 0.7386 GB, free: 55.46 MB / 411.1 MB Notification: Performance of Templates: time 0.06694/1.653, allocations: 40.99 MB / 0.7786 GB, free: 34.09 MB / 411.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1)