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.001701/0.0017, allocations: 181.9 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.574/1.574, allocations: 194.3 MB / 208.4 MB, free: 6.711 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00169/0.00169, allocations: 118.3 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.021e-05/4.023e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07964/0.0797, allocations: 44.5 MB / 349.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2963/0.3761, allocations: 93 MB / 442.4 MB, free: 2.66 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.3764, allocations: 81.39 kB / 442.5 MB, free: 2.621 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2343/0.6107, allocations: 97.03 MB / 0.5269 GB, free: 8.031 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6107, allocations: 0 / 0.5269 GB, free: 8.031 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001992/0.6109, allocations: 104 kB / 0.527 GB, free: 7.93 MB / 394.7 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.02061/0.6315, allocations: 5.498 MB / 0.5324 GB, free: 2.363 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.6316, allocations: 8.031 kB / 0.5324 GB, free: 2.355 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0108/0.6424, allocations: 2.306 MB / 0.5346 GB, free: 40 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3006/0.943, allocations: 4.908 MB / 0.5394 GB, free: 72.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004101/0.9435, allocations: 398.1 kB / 0.5398 GB, free: 72.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002533/0.946, allocations: 0.516 MB / 0.5403 GB, free: 72.78 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02991/0.976, allocations: 12.89 MB / 0.5529 GB, free: 69.78 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000301/0.9763, allocations: 68.45 kB / 0.553 GB, free: 69.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001071/0.9774, allocations: 251.4 kB / 0.5532 GB, free: 69.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001768/0.9792, allocations: 1.206 MB / 0.5544 GB, free: 69.76 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02414/1.003, allocations: 11.01 MB / 0.5651 GB, free: 69.72 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06761/1.071, allocations: 57.09 MB / 0.6209 GB, free: 31.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01394/1.085, allocations: 5.139 MB / 0.6259 GB, free: 29.26 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004102/1.089, allocations: 3.165 MB / 0.629 GB, free: 27.95 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/1.09, allocations: 0.6822 MB / 0.6297 GB, free: 27.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.846e-05/1.09, allocations: 60.58 kB / 0.6297 GB, free: 27.31 MB / 394.7 MB Notification: Performance of pre-optimization done (n=221): time 6.663e-06/1.09, allocations: 0 / 0.6297 GB, free: 27.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=252): time 0.05359/1.144, allocations: 21.5 MB / 0.6507 GB, free: 13.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/1.144, allocations: 152.8 kB / 0.6509 GB, free: 12.86 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005843/1.15, allocations: 4.05 MB / 0.6548 GB, free: 9.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007138/1.151, allocations: 61.7 kB / 0.6549 GB, free: 9.184 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001918/1.153, allocations: 3.575 MB / 0.6584 GB, free: 5.977 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001261/1.154, allocations: 0.9465 MB / 0.6593 GB, free: 5.145 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003506/1.154, allocations: 142.4 kB / 0.6594 GB, free: 5.008 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000302/1.155, allocations: 0.5996 MB / 0.66 GB, free: 4.488 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003713/1.158, allocations: 2.967 MB / 0.6629 GB, free: 1.852 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01139/1.17, allocations: 7.334 MB / 0.6701 GB, free: 10.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007811/1.178, allocations: 4.51 MB / 0.6745 GB, free: 6.277 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001004/1.178, allocations: 40 kB / 0.6745 GB, free: 6.238 MB / 410.7 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.3307/1.508, allocations: 11.04 MB / 0.6853 GB, free: 74.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000132/1.509, allocations: 65.5 kB / 0.6853 GB, free: 74.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001998/1.509, allocations: 145 kB / 0.6855 GB, free: 74.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002844/1.512, allocations: 1.137 MB / 0.6866 GB, free: 74.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006724/1.518, allocations: 1.735 MB / 0.6883 GB, free: 74.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007628/1.526, allocations: 5.926 MB / 0.6941 GB, free: 73.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006732/1.533, allocations: 437.1 kB / 0.6945 GB, free: 73.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001718/1.535, allocations: 435.2 kB / 0.6949 GB, free: 73.06 MB / 410.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.001314/1.536, allocations: 0.6298 MB / 0.6955 GB, free: 72.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001223/1.537, allocations: 413.3 kB / 0.6959 GB, free: 72.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01071/1.548, allocations: 5.499 MB / 0.7013 GB, free: 72.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.865e-05/1.548, allocations: 31.52 kB / 0.7013 GB, free: 72.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.328e-05/1.548, allocations: 4.438 kB / 0.7013 GB, free: 72.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.793e-05/1.548, allocations: 14.92 kB / 0.7013 GB, free: 72.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0196/1.568, allocations: 12.1 MB / 0.7132 GB, free: 72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/1.568, allocations: 6.188 kB / 0.7132 GB, free: 72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002454/1.57, allocations: 0.5015 MB / 0.7136 GB, free: 72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002185/1.572, allocations: 0.9376 MB / 0.7146 GB, free: 72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002072/1.573, allocations: 46.44 kB / 0.7146 GB, free: 72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006347/1.579, allocations: 5.648 MB / 0.7201 GB, free: 70.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.579, allocations: 2.094 kB / 0.7201 GB, free: 70.68 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01215/1.591, allocations: 9.697 MB / 0.7296 GB, free: 67.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002941/1.594, allocations: 0.9101 MB / 0.7305 GB, free: 67.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008798/1.595, allocations: 39.28 kB / 0.7305 GB, free: 67.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002275/1.597, allocations: 182.9 kB / 0.7307 GB, free: 67.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004435/1.598, allocations: 155 kB / 0.7308 GB, free: 67.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001991/1.598, allocations: 70.02 kB / 0.7309 GB, free: 67.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004229/1.602, allocations: 2.825 MB / 0.7337 GB, free: 66.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/1.602, allocations: 1.406 kB / 0.7337 GB, free: 66.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005858/1.608, allocations: 1.253 MB / 0.7349 GB, free: 66.35 MB / 410.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.0004782/1.609, allocations: 200 kB / 0.7351 GB, free: 66.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009559/1.618, allocations: 7.168 MB / 0.7421 GB, free: 64.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.618, allocations: 0 / 0.7421 GB, free: 64.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003269/1.621, allocations: 2.68 MB / 0.7447 GB, free: 63.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/1.624, allocations: 453.7 kB / 0.7451 GB, free: 62.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02127/1.645, allocations: 10.11 MB / 0.755 GB, free: 59.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003971/1.649, allocations: 3.897 MB / 0.7588 GB, free: 57.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.006162/1.655, allocations: 2.319 MB / 0.7611 GB, free: 57.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/1.657, allocations: 321 kB / 0.7614 GB, free: 56.85 MB / 410.7 MB Notification: Performance of SimCode: time 1.754e-06/1.657, allocations: 0 / 0.7614 GB, free: 56.85 MB / 410.7 MB Notification: Performance of Templates: time 0.08231/1.739, allocations: 47.48 MB / 0.8077 GB, free: 17.61 MB / 410.7 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)