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.001562/0.001562, allocations: 112.6 kB / 17.06 MB, free: 6.09 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.001725/0.001725, allocations: 199 kB / 18 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.9 MB, free: 12.21 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.00135/0.00135, allocations: 47.92 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1178, allocations: 46.62 MB / 374.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.2381/0.356, allocations: 11.75 MB / 386.2 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00957/0.3656, allocations: 3.91 MB / 390.1 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003038/0.3687, allocations: 66.44 kB / 390.2 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007071/0.3759, allocations: 2.714 MB / 392.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0076/0.3835, allocations: 1.883 MB / 394.8 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001932/0.3854, allocations: 0.5794 MB / 395.4 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008063/0.3935, allocations: 3.753 MB / 399.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006665/0.4002, allocations: 3.684 MB / 402.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003935/0.4042, allocations: 1.529 MB / 404.3 MB, free: 14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004398/0.4086, allocations: 2.127 MB / 406.5 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001548/0.4102, allocations: 344.2 kB / 406.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003405/0.4136, allocations: 1.061 MB / 407.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003284/0.4169, allocations: 1.938 MB / 409.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005466/0.4224, allocations: 2.24 MB / 412 MB, free: 9.484 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009396/0.4318, allocations: 7.185 MB / 419.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4318, allocations: 0 / 419.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4318, allocations: 0 / 419.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002038/0.432, allocations: 0 / 419.2 MB, free: 2.68 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.01777/0.4498, allocations: 5.307 MB / 424.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.472e-05/0.4499, allocations: 12.03 kB / 424.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00692/0.4568, allocations: 1.886 MB / 426.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005114/0.462, allocations: 2.381 MB / 428.8 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/0.4622, allocations: 238 kB / 429 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006742/0.4629, allocations: 319.7 kB / 429.4 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01699/0.4799, allocations: 10.71 MB / 440.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/0.48, allocations: 55.52 kB / 440.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000393/0.4804, allocations: 159.7 kB / 440.3 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003167/0.4836, allocations: 1.974 MB / 442.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01816/0.5017, allocations: 9.566 MB / 451.8 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04827/0.55, allocations: 39.77 MB / 491.6 MB, free: 8.332 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01333/0.5634, allocations: 3.833 MB / 495.4 MB, free: 4.352 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002527/0.566, allocations: 1.856 MB / 497.3 MB, free: 2.488 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005652/0.5666, allocations: 364 kB / 497.6 MB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/0.5666, allocations: 47.56 kB / 497.7 MB, free: 2.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 4.799e-06/0.5666, allocations: 0 / 497.7 MB, free: 2.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=154): time 0.04255/0.6092, allocations: 13.77 MB / 0.4995 GB, free: 4.133 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.392e-05/0.6093, allocations: 145.5 kB / 0.4996 GB, free: 3.961 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006025/0.6153, allocations: 4.163 MB / 0.5037 GB, free: 15.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003913/0.6158, allocations: 49.7 kB / 0.5037 GB, free: 15.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001984/0.6178, allocations: 3.164 MB / 0.5068 GB, free: 12.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006845/0.6185, allocations: 0.6096 MB / 0.5074 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001479/0.62, allocations: 1.229 MB / 0.5086 GB, free: 10.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.751e-05/0.62, allocations: 305.1 kB / 0.5089 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003336/0.6234, allocations: 2.135 MB / 0.511 GB, free: 8.207 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006299/0.6297, allocations: 5.964 MB / 0.5168 GB, free: 332 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009785/0.6395, allocations: 8.769 MB / 0.5254 GB, free: 5.641 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001092/0.6397, allocations: 40 kB / 0.5254 GB, free: 5.602 MB / 462.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01647/0.6562, allocations: 8.584 MB / 0.5338 GB, free: 13.01 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.058e-05/0.6563, allocations: 67.98 kB / 0.5338 GB, free: 12.94 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001561/0.6565, allocations: 136 kB / 0.534 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002407/0.6589, allocations: 0.9082 MB / 0.5349 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004441/0.6633, allocations: 1.396 MB / 0.5362 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006789/0.6702, allocations: 5.203 MB / 0.5413 GB, free: 5.152 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004713/0.6749, allocations: 327.6 kB / 0.5416 GB, free: 4.832 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001012/0.6759, allocations: 388 kB / 0.542 GB, free: 4.453 MB / 478.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.004331/0.6803, allocations: 2.107 MB / 0.544 GB, free: 2.332 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009042/0.6812, allocations: 343.5 kB / 0.5444 GB, free: 1.992 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2374/0.9185, allocations: 3.142 MB / 0.5474 GB, free: 145.4 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-05/0.9186, allocations: 22.03 kB / 0.5475 GB, free: 145.4 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.575e-05/0.9187, allocations: 7.75 kB / 0.5475 GB, free: 145.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-05/0.9187, allocations: 7.328 kB / 0.5475 GB, free: 145.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01541/0.9341, allocations: 7.796 MB / 0.5551 GB, free: 143.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/0.9342, allocations: 6.156 kB / 0.5551 GB, free: 143.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/0.9355, allocations: 259.2 kB / 0.5553 GB, free: 143.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002338/0.9378, allocations: 0.7101 MB / 0.556 GB, free: 143.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001787/0.938, allocations: 40.78 kB / 0.5561 GB, free: 143.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006025/0.944, allocations: 4.748 MB / 0.5607 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.9441, allocations: 2.984 kB / 0.5607 GB, free: 140.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008643/0.9527, allocations: 5.686 MB / 0.5663 GB, free: 138.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001901/0.9547, allocations: 0.6261 MB / 0.5669 GB, free: 138.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004082/0.9551, allocations: 24.09 kB / 0.5669 GB, free: 138.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/0.9564, allocations: 85.83 kB / 0.567 GB, free: 138.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/0.9567, allocations: 104.9 kB / 0.5671 GB, free: 138.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001415/0.9568, allocations: 51.45 kB / 0.5671 GB, free: 138.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003878/0.9607, allocations: 2.612 MB / 0.5697 GB, free: 137.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9607, allocations: 5.984 kB / 0.5697 GB, free: 137.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005181/0.9659, allocations: 0.9628 MB / 0.5706 GB, free: 137.5 MB / 478.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.0004292/0.9664, allocations: 161.8 kB / 0.5708 GB, free: 137.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006799/0.9732, allocations: 5.093 MB / 0.5758 GB, free: 135.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.9732, allocations: 0 / 0.5758 GB, free: 135.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001842/0.9751, allocations: 1.537 MB / 0.5773 GB, free: 135.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002749/0.9778, allocations: 447.7 kB / 0.5777 GB, free: 134.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/0.9928, allocations: 8.972 MB / 0.5864 GB, free: 130.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003037/0.9959, allocations: 3.24 MB / 0.5896 GB, free: 127.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003788/0.9997, allocations: 1.93 MB / 0.5915 GB, free: 125.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000756/1.001, allocations: 275.3 kB / 0.5918 GB, free: 125.5 MB / 478.1 MB Notification: Performance of SimCode: time 1.814e-06/1.001, allocations: 3.938 kB / 0.5918 GB, free: 125.5 MB / 478.1 MB Notification: Performance of Templates: time 0.05574/1.056, allocations: 33.58 MB / 0.6246 GB, free: 92.05 MB / 478.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)