Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2_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.001477/0.001477, allocations: 109.1 kB / 16.62 MB, free: 6.961 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.001707/0.001707, allocations: 189.8 kB / 17.55 MB, free: 6.066 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.484/1.484, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001185/0.001186, allocations: 55.92 kB / 279.5 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1036, allocations: 46.63 MB / 326.1 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.04331/0.1469, allocations: 50.2 MB / 376.3 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2332/0.3802, allocations: 10.24 MB / 386.6 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01372/0.394, allocations: 210.4 kB / 386.8 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005816/0.3999, allocations: 2.611 MB / 389.4 MB, free: 8.832 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005719/0.4056, allocations: 1.754 MB / 391.2 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.4073, allocations: 0.531 MB / 391.7 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006399/0.4138, allocations: 3.798 MB / 395.5 MB, free: 7.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006016/0.4198, allocations: 3.896 MB / 399.4 MB, free: 6.379 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003432/0.4232, allocations: 1.554 MB / 400.9 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003758/0.427, allocations: 2.351 MB / 403.3 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001263/0.4283, allocations: 338.1 kB / 403.6 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00287/0.4312, allocations: 1.079 MB / 404.7 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002451/0.4336, allocations: 1.953 MB / 406.6 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004122/0.4378, allocations: 2.269 MB / 408.9 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008604/0.4464, allocations: 6.981 MB / 415.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.4465, allocations: 0 / 415.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4465, allocations: 0 / 415.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003689/0.4468, allocations: 0 / 415.9 MB, free: 12.84 MB / 334.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.01964/0.4665, allocations: 5.322 MB / 421.2 MB, free: 7.586 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.4666, allocations: 8.031 kB / 421.2 MB, free: 7.578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006401/0.473, allocations: 1.885 MB / 423.1 MB, free: 5.688 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004127/0.4771, allocations: 2.341 MB / 425.4 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.4773, allocations: 240.3 kB / 425.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006613/0.478, allocations: 316.2 kB / 426 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01943/0.4974, allocations: 10.72 MB / 436.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001175/0.4976, allocations: 39.69 kB / 436.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004422/0.498, allocations: 148.8 kB / 436.9 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003233/0.5013, allocations: 1.991 MB / 438.9 MB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02131/0.5226, allocations: 9.57 MB / 448.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04842/0.5711, allocations: 39.93 MB / 488.4 MB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01364/0.5848, allocations: 3.842 MB / 492.2 MB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002555/0.5873, allocations: 1.856 MB / 494.1 MB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006987/0.5881, allocations: 353.2 kB / 494.4 MB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.946e-05/0.5881, allocations: 51.5 kB / 494.5 MB, free: 12.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 5.51e-06/0.5882, allocations: 0 / 494.5 MB, free: 12.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=154): time 0.04428/0.6324, allocations: 13.76 MB / 0.4963 GB, free: 14.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.294e-05/0.6326, allocations: 141.5 kB / 0.4965 GB, free: 14.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006165/0.6388, allocations: 4.171 MB / 0.5005 GB, free: 10.42 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004763/0.6393, allocations: 45.7 kB / 0.5006 GB, free: 10.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002429/0.6417, allocations: 3.164 MB / 0.5037 GB, free: 7.203 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009869/0.6427, allocations: 0.618 MB / 0.5043 GB, free: 6.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001621/0.6443, allocations: 1.224 MB / 0.5055 GB, free: 5.355 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.253e-05/0.6444, allocations: 301.1 kB / 0.5058 GB, free: 5.059 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003041/0.6475, allocations: 2.135 MB / 0.5078 GB, free: 2.918 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005281/0.6528, allocations: 5.96 MB / 0.5137 GB, free: 11.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009304/0.6621, allocations: 8.774 MB / 0.5222 GB, free: 364 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.539e-05/0.6622, allocations: 40 kB / 0.5223 GB, free: 324 kB / 446.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01534/0.6776, allocations: 8.57 MB / 0.5306 GB, free: 7.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.976e-05/0.6777, allocations: 68.03 kB / 0.5307 GB, free: 7.664 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001223/0.6778, allocations: 140 kB / 0.5308 GB, free: 7.527 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002288/0.6801, allocations: 0.9227 MB / 0.5317 GB, free: 6.602 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004282/0.6844, allocations: 1.396 MB / 0.5331 GB, free: 5.203 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2051/0.8895, allocations: 5.203 MB / 0.5382 GB, free: 172.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005189/0.8947, allocations: 325.7 kB / 0.5385 GB, free: 172.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00113/0.8959, allocations: 386 kB / 0.5389 GB, free: 172.6 MB / 462.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.004458/0.9004, allocations: 2.103 MB / 0.5409 GB, free: 172.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007709/0.9012, allocations: 354.5 kB / 0.5413 GB, free: 172.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006238/0.9074, allocations: 3.135 MB / 0.5443 GB, free: 171.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.022e-05/0.9075, allocations: 17.06 kB / 0.5443 GB, free: 171.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/0.9075, allocations: 3.906 kB / 0.5443 GB, free: 171.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-05/0.9075, allocations: 8.359 kB / 0.5443 GB, free: 171.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/0.9227, allocations: 7.827 MB / 0.552 GB, free: 169.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.627e-05/0.9228, allocations: 1.219 kB / 0.552 GB, free: 169.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/0.9241, allocations: 262.3 kB / 0.5522 GB, free: 169.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002008/0.9261, allocations: 0.7178 MB / 0.5529 GB, free: 169.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/0.9262, allocations: 35.41 kB / 0.553 GB, free: 169.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005294/0.9315, allocations: 4.762 MB / 0.5576 GB, free: 166.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.9316, allocations: 3.688 kB / 0.5576 GB, free: 166.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007585/0.9392, allocations: 5.678 MB / 0.5632 GB, free: 164.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001802/0.941, allocations: 0.6231 MB / 0.5638 GB, free: 164.2 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004087/0.9414, allocations: 29.8 kB / 0.5638 GB, free: 164.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/0.9427, allocations: 82.42 kB / 0.5639 GB, free: 164.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002942/0.943, allocations: 102.4 kB / 0.564 GB, free: 164.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001204/0.9432, allocations: 55.22 kB / 0.564 GB, free: 164.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003744/0.9469, allocations: 2.604 MB / 0.5666 GB, free: 163.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9469, allocations: 3.938 kB / 0.5666 GB, free: 163.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004845/0.9518, allocations: 0.9612 MB / 0.5675 GB, free: 163.1 MB / 462.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.0003893/0.9522, allocations: 158.7 kB / 0.5677 GB, free: 163 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007987/0.9602, allocations: 5.732 MB / 0.5733 GB, free: 161 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.9602, allocations: 0 / 0.5733 GB, free: 161 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001872/0.9621, allocations: 1.537 MB / 0.5748 GB, free: 159.4 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003012/0.9651, allocations: 440.1 kB / 0.5752 GB, free: 159 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/0.9809, allocations: 11.04 MB / 0.586 GB, free: 148.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002904/0.9838, allocations: 3.247 MB / 0.5891 GB, free: 144.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004267/0.9881, allocations: 1.937 MB / 0.591 GB, free: 142.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007478/0.9889, allocations: 263.3 kB / 0.5913 GB, free: 142.6 MB / 462.1 MB Notification: Performance of SimCode: time 8.02e-07/0.9889, allocations: 0 / 0.5913 GB, free: 142.6 MB / 462.1 MB Notification: Performance of Templates: time 0.06138/1.05, allocations: 37.04 MB / 0.6275 GB, free: 105.6 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1)