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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 106.7 kB / 16.92 MB, free: 5.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 187.3 kB / 17.85 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 47.94 kB / 280 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.105, allocations: 46.63 MB / 326.6 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01431/0.1193, allocations: 13.76 MB / 340.4 MB, free: 6.645 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008952/0.1283, allocations: 4.375 MB / 344.8 MB, free: 2.258 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002296/0.1307, allocations: 83.75 kB / 344.8 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00649/0.1372, allocations: 3.75 MB / 348.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006198/0.1434, allocations: 2.104 MB / 350.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.1451, allocations: 0.6863 MB / 351.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005984/0.1511, allocations: 4.404 MB / 355.8 MB, free: 7.195 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00526/0.1564, allocations: 4.847 MB / 360.6 MB, free: 2.285 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003111/0.1595, allocations: 1.908 MB / 362.5 MB, free: 380 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003674/0.1632, allocations: 2.589 MB / 365.1 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008729/0.1641, allocations: 439.9 kB / 365.6 MB, free: 13.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.1665, allocations: 1.143 MB / 366.7 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002314/0.1689, allocations: 2.322 MB / 369 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003156/0.172, allocations: 2.754 MB / 371.8 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2116/0.3836, allocations: 8.325 MB / 380.1 MB, free: 24.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.3837, allocations: 0 / 380.1 MB, free: 24.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3837, allocations: 1.781 kB / 380.1 MB, free: 24.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003416/0.384, allocations: 3.156 kB / 380.1 MB, free: 24.14 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02432/0.4084, allocations: 6.421 MB / 386.5 MB, free: 21.99 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.4084, allocations: 12.83 kB / 386.5 MB, free: 21.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007587/0.416, allocations: 1.984 MB / 388.5 MB, free: 21.64 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0062/0.4223, allocations: 2.769 MB / 391.3 MB, free: 21 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002971/0.4226, allocations: 308.5 kB / 391.6 MB, free: 20.99 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001369/0.424, allocations: 405.8 kB / 392 MB, free: 20.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02413/0.4481, allocations: 12.87 MB / 404.9 MB, free: 17.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00015/0.4483, allocations: 45.78 kB / 404.9 MB, free: 17.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005587/0.4489, allocations: 189.4 kB / 405.1 MB, free: 16.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003813/0.4527, allocations: 2.377 MB / 407.5 MB, free: 16.13 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0207/0.4734, allocations: 11.74 MB / 419.2 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0594/0.5329, allocations: 48.64 MB / 467.8 MB, free: 4.941 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01805/0.551, allocations: 5.57 MB / 473.4 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004373/0.5554, allocations: 3.482 MB / 476.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006188/0.556, allocations: 384 kB / 477.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.5561, allocations: 55.88 kB / 477.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=221): time 4.609e-06/0.5561, allocations: 0 / 477.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=252): time 0.07984/0.6359, allocations: 27.94 MB / 0.4934 GB, free: 15.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.6361, allocations: 154.1 kB / 0.4936 GB, free: 15.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006265/0.6423, allocations: 4.608 MB / 0.4981 GB, free: 10.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006661/0.643, allocations: 65.7 kB / 0.4981 GB, free: 10.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002304/0.6453, allocations: 3.58 MB / 0.5016 GB, free: 6.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001207/0.6465, allocations: 0.9499 MB / 0.5026 GB, free: 5.879 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001945/0.6485, allocations: 1.506 MB / 0.504 GB, free: 4.363 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.708e-05/0.6486, allocations: 301.1 kB / 0.5043 GB, free: 4.066 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004812/0.6534, allocations: 3.453 MB / 0.5077 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007871/0.6613, allocations: 7.519 MB / 0.515 GB, free: 7.156 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0161/0.6774, allocations: 11.83 MB / 0.5266 GB, free: 9.918 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001427/0.6776, allocations: 40 kB / 0.5266 GB, free: 9.879 MB / 446.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.2502/0.9278, allocations: 11.89 MB / 0.5382 GB, free: 155.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000122/0.928, allocations: 65.91 kB / 0.5383 GB, free: 155.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002551/0.9283, allocations: 142.9 kB / 0.5384 GB, free: 155.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003414/0.9317, allocations: 1.135 MB / 0.5395 GB, free: 155.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006976/0.9387, allocations: 1.801 MB / 0.5413 GB, free: 155.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007777/0.9465, allocations: 6.353 MB / 0.5475 GB, free: 153.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007182/0.9537, allocations: 423.2 kB / 0.5479 GB, free: 153.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001447/0.9552, allocations: 468.6 kB / 0.5483 GB, free: 153 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 651 * Number of states: 0 () * Number of discrete variables: 42 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (875): * Single equations (assignments): 871 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003949/0.9591, allocations: 2.454 MB / 0.5507 GB, free: 152.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008844/0.96, allocations: 413.4 kB / 0.5511 GB, free: 152.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009259/0.9693, allocations: 6.482 MB / 0.5575 GB, free: 150 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.067e-05/0.9694, allocations: 26.39 kB / 0.5575 GB, free: 150 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/0.9694, allocations: 7.844 kB / 0.5575 GB, free: 150 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.436e-05/0.9694, allocations: 15.39 kB / 0.5575 GB, free: 150 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02069/0.9901, allocations: 13.61 MB / 0.5708 GB, free: 143.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.35e-05/0.9902, allocations: 4 kB / 0.5708 GB, free: 143.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00295/0.9931, allocations: 0.5791 MB / 0.5714 GB, free: 142.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002359/0.9955, allocations: 0.9472 MB / 0.5723 GB, free: 141.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003109/0.9958, allocations: 93.81 kB / 0.5724 GB, free: 141.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006179/1.002, allocations: 6.065 MB / 0.5783 GB, free: 135.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/1.002, allocations: 8.688 kB / 0.5783 GB, free: 135.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/1.015, allocations: 10.92 MB / 0.589 GB, free: 124.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002031/1.017, allocations: 0.9373 MB / 0.5899 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006908/1.018, allocations: 44 kB / 0.5899 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002265/1.02, allocations: 167.8 kB / 0.5901 GB, free: 123.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005078/1.021, allocations: 200.6 kB / 0.5903 GB, free: 123.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002327/1.021, allocations: 111.9 kB / 0.5904 GB, free: 123.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003516/1.024, allocations: 2.897 MB / 0.5932 GB, free: 120.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.024, allocations: 0 / 0.5932 GB, free: 120.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005788/1.03, allocations: 1.268 MB / 0.5945 GB, free: 119.4 MB / 446.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005436/1.031, allocations: 188.3 kB / 0.5946 GB, free: 119.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01489/1.046, allocations: 10.64 MB / 0.605 GB, free: 108.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/1.046, allocations: 0 / 0.605 GB, free: 108.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003864/1.05, allocations: 3.169 MB / 0.6081 GB, free: 105.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003372/1.053, allocations: 0.5037 MB / 0.6086 GB, free: 105.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01892/1.072, allocations: 12.6 MB / 0.6209 GB, free: 92.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003481/1.075, allocations: 3.792 MB / 0.6246 GB, free: 88.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005479/1.081, allocations: 2.404 MB / 0.627 GB, free: 86.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/1.082, allocations: 431.1 kB / 0.6274 GB, free: 85.88 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/1.082, allocations: 4 kB / 0.6274 GB, free: 85.88 MB / 446.1 MB Notification: Performance of Templates: time 0.09704/1.179, allocations: 58.23 MB / 0.6843 GB, free: 27.65 MB / 446.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)