Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.ActuatedDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007218/0.007217, allocations: 97.38 kB / 15.73 MB, free: 6.062 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.00139/0.00139, allocations: 202.1 kB / 16.68 MB, free: 5.977 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.448/1.448, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.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.00119/0.00119, allocations: 50.52 kB / 326.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1183, allocations: 46.62 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01443/0.1327, allocations: 11.75 MB / 384.9 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009478/0.1422, allocations: 3.914 MB / 388.8 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002459/0.1448, allocations: 67.81 kB / 388.9 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0055/0.1503, allocations: 2.71 MB / 391.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005746/0.1561, allocations: 1.895 MB / 393.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001694/0.1578, allocations: 0.5654 MB / 394.1 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007873/0.1657, allocations: 3.754 MB / 397.8 MB, free: 8.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006259/0.172, allocations: 3.682 MB / 401.5 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004141/0.1762, allocations: 1.534 MB / 403 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004642/0.1808, allocations: 2.122 MB / 405.2 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001435/0.1823, allocations: 340 kB / 405.5 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003271/0.1856, allocations: 1.061 MB / 406.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002938/0.1885, allocations: 1.917 MB / 408.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004723/0.1933, allocations: 2.241 MB / 410.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.2046, allocations: 7.217 MB / 417.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2046, allocations: 0 / 417.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2046, allocations: 0 / 417.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002941/0.2049, allocations: 0 / 417.9 MB, free: 4.348 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.02072/0.2257, allocations: 5.435 MB / 423.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.2257, allocations: 11.97 kB / 423.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007625/0.2334, allocations: 1.909 MB / 425.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006323/0.2397, allocations: 2.401 MB / 427.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002987/0.2401, allocations: 238 kB / 427.9 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001698/0.2418, allocations: 311.8 kB / 428.2 MB, free: 9.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02479/0.2666, allocations: 10.72 MB / 438.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002271/0.2668, allocations: 43.64 kB / 439 MB, free: 14.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001494/0.2684, allocations: 151.8 kB / 439.1 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003853/0.2722, allocations: 1.989 MB / 441.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02303/0.2953, allocations: 9.562 MB / 450.7 MB, free: 2.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.343/0.6383, allocations: 39.85 MB / 490.5 MB, free: 37.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01212/0.6505, allocations: 3.835 MB / 494.4 MB, free: 35.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002139/0.6527, allocations: 1.848 MB / 496.2 MB, free: 34.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004916/0.6532, allocations: 360.2 kB / 496.6 MB, free: 34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.6532, allocations: 47.17 kB / 496.6 MB, free: 33.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 3.997e-06/0.6533, allocations: 4 kB / 496.6 MB, free: 33.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=154): time 0.04021/0.6935, allocations: 13.99 MB / 0.4986 GB, free: 22.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/0.6936, allocations: 149.5 kB / 0.4988 GB, free: 22.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004996/0.6986, allocations: 4.179 MB / 0.5029 GB, free: 18.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003564/0.6989, allocations: 45.7 kB / 0.5029 GB, free: 18.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001747/0.7007, allocations: 3.29 MB / 0.5061 GB, free: 14.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00067/0.7014, allocations: 0.6419 MB / 0.5067 GB, free: 14.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001308/0.7027, allocations: 1.238 MB / 0.5079 GB, free: 13.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.494e-05/0.7028, allocations: 305.1 kB / 0.5082 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002488/0.7053, allocations: 2.128 MB / 0.5103 GB, free: 10.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004075/0.7094, allocations: 5.96 MB / 0.5161 GB, free: 2.781 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/0.7195, allocations: 8.777 MB / 0.5247 GB, free: 8.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001188/0.7196, allocations: 39.94 kB / 0.5247 GB, free: 8.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01738/0.737, allocations: 8.603 MB / 0.5331 GB, free: 15.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.7372, allocations: 64 kB / 0.5332 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001907/0.7374, allocations: 138.9 kB / 0.5333 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002618/0.74, allocations: 0.9062 MB / 0.5342 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005104/0.7451, allocations: 1.401 MB / 0.5356 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007068/0.7522, allocations: 5.212 MB / 0.5407 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00512/0.7574, allocations: 335.7 kB / 0.541 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001208/0.7586, allocations: 381.9 kB / 0.5414 GB, free: 6.883 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 620 * Number of states: 0 () * Number of discrete variables: 36 (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.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 (740): * Single equations (assignments): 736 * 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.005273/0.7639, allocations: 2.103 MB / 0.5434 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001244/0.7651, allocations: 369.5 kB / 0.5438 GB, free: 4.402 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007162/0.7723, allocations: 3.144 MB / 0.5468 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.596e-05/0.7724, allocations: 16 kB / 0.5469 GB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.787e-05/0.7724, allocations: 4 kB / 0.5469 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.48e-05/0.7724, allocations: 7.969 kB / 0.5469 GB, free: 1.215 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01814/0.7906, allocations: 7.815 MB / 0.5545 GB, free: 9.348 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/0.7906, allocations: 11.92 kB / 0.5545 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/0.792, allocations: 255.6 kB / 0.5548 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002221/0.7942, allocations: 0.7109 MB / 0.5554 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001979/0.7945, allocations: 35.97 kB / 0.5555 GB, free: 8.336 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006178/0.8006, allocations: 4.755 MB / 0.5601 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.8007, allocations: 0 / 0.5601 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009385/0.8101, allocations: 5.694 MB / 0.5657 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002833/0.813, allocations: 0.6429 MB / 0.5663 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001694/0.8147, allocations: 43.59 kB / 0.5664 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002412/0.8172, allocations: 91.89 kB / 0.5664 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003832/0.8176, allocations: 92.8 kB / 0.5665 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001686/0.8178, allocations: 55.97 kB / 0.5666 GB, free: 12.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005552/0.8233, allocations: 2.603 MB / 0.5691 GB, free: 10.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.8233, allocations: 4 kB / 0.5691 GB, free: 10.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005875/0.8292, allocations: 0.9647 MB / 0.5701 GB, free: 9.199 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (123): * Single equations (assignments): 119 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005821/0.8298, allocations: 166.2 kB / 0.5702 GB, free: 9.031 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009222/0.8391, allocations: 5.089 MB / 0.5752 GB, free: 3.957 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/0.8391, allocations: 4.25 kB / 0.5752 GB, free: 3.953 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002511/0.8416, allocations: 1.538 MB / 0.5767 GB, free: 2.402 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004453/0.8461, allocations: 440.9 kB / 0.5771 GB, free: 1.973 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01672/0.8628, allocations: 9.123 MB / 0.586 GB, free: 8.793 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003616/0.8665, allocations: 3.231 MB / 0.5892 GB, free: 5.531 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004355/0.8709, allocations: 1.941 MB / 0.5911 GB, free: 3.582 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006667/0.8716, allocations: 275.3 kB / 0.5914 GB, free: 3.312 MB / 462.1 MB Notification: Performance of SimCode: time 1.853e-06/0.8716, allocations: 0 / 0.5914 GB, free: 3.312 MB / 462.1 MB Notification: Performance of Templates: time 0.07229/0.9439, allocations: 33.82 MB / 0.6244 GB, free: 1.465 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1)