Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001133/0.001133, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0012/0.0012, allocations: 191.9 kB / 16.13 MB, free: 6.711 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.613/1.613, allocations: 205.1 MB / 222 MB, free: 4.754 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.001244/0.001244, allocations: 55.92 kB / 278.1 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3056, allocations: 46.62 MB / 324.7 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.06324/0.3689, allocations: 66.2 MB / 390.9 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03832/0.4073, allocations: 13.06 MB / 403.9 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01974/0.4271, allocations: 283.4 kB / 404.2 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007661/0.4349, allocations: 3.732 MB / 407.9 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00698/0.4419, allocations: 1.973 MB / 409.9 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.4439, allocations: 0.6242 MB / 410.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00885/0.4528, allocations: 6.507 MB / 417.1 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006292/0.4591, allocations: 4.781 MB / 421.8 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003329/0.4624, allocations: 1.709 MB / 423.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003629/0.4661, allocations: 2.749 MB / 426.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006852/0.4668, allocations: 312 kB / 426.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002392/0.4692, allocations: 1.096 MB / 427.7 MB, free: 12.74 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002413/0.4716, allocations: 2.248 MB / 429.9 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002702/0.4743, allocations: 2.644 MB / 432.6 MB, free: 7.824 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008628/0.4829, allocations: 8.231 MB / 440.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.098e-06/0.483, allocations: 0 / 440.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.483, allocations: 0 / 440.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000289/0.4833, allocations: 0 / 440.8 MB, free: 15.57 MB / 382.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.02312/0.5064, allocations: 6.424 MB / 447.2 MB, free: 9.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.5065, allocations: 12.03 kB / 447.2 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006994/0.5135, allocations: 1.983 MB / 449.2 MB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006692/0.5202, allocations: 2.768 MB / 452 MB, free: 4.238 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002886/0.5206, allocations: 299.8 kB / 452.3 MB, free: 3.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/0.5217, allocations: 403.7 kB / 452.7 MB, free: 3.551 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2643/0.786, allocations: 12.89 MB / 465.6 MB, free: 109.6 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001378/0.7862, allocations: 46.06 kB / 465.6 MB, free: 109.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005365/0.7867, allocations: 185.5 kB / 465.8 MB, free: 109.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003854/0.7906, allocations: 2.378 MB / 468.2 MB, free: 108.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02283/0.8134, allocations: 11.74 MB / 479.9 MB, free: 98.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05337/0.8669, allocations: 48.63 MB / 0.5162 GB, free: 49.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01588/0.8828, allocations: 5.575 MB / 0.5216 GB, free: 43.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003566/0.8864, allocations: 3.478 MB / 0.525 GB, free: 40.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005225/0.8869, allocations: 388.3 kB / 0.5254 GB, free: 39.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.887, allocations: 59.81 kB / 0.5254 GB, free: 39.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=221): time 3.767e-06/0.887, allocations: 4 kB / 0.5254 GB, free: 39.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=252): time 0.06629/0.9533, allocations: 27.93 MB / 0.5527 GB, free: 11.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.9534, allocations: 154.5 kB / 0.5529 GB, free: 11.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004849/0.9582, allocations: 4.611 MB / 0.5574 GB, free: 6.715 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004466/0.9587, allocations: 61.7 kB / 0.5574 GB, free: 6.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001617/0.9603, allocations: 3.582 MB / 0.5609 GB, free: 3.016 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007748/0.9611, allocations: 0.9525 MB / 0.5618 GB, free: 2.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001576/0.9627, allocations: 1.498 MB / 0.5633 GB, free: 0.543 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.711e-05/0.9627, allocations: 301.1 kB / 0.5636 GB, free: 252 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004721/0.9675, allocations: 3.453 MB / 0.567 GB, free: 12.78 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007613/0.9751, allocations: 7.532 MB / 0.5743 GB, free: 3.246 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01401/0.9891, allocations: 11.82 MB / 0.5859 GB, free: 5.418 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001069/0.9893, allocations: 40 kB / 0.5859 GB, free: 5.379 MB / 414.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02491/1.014, allocations: 11.89 MB / 0.5975 GB, free: 9.477 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002872/1.015, allocations: 68.09 kB / 0.5976 GB, free: 9.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004873/1.015, allocations: 147.9 kB / 0.5977 GB, free: 9.266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004103/1.019, allocations: 1.129 MB / 0.5988 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007714/1.027, allocations: 1.805 MB / 0.6006 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009756/1.037, allocations: 6.004 MB / 0.6064 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2138/1.251, allocations: 424.2 kB / 0.6069 GB, free: 140.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001823/1.252, allocations: 468 kB / 0.6073 GB, free: 140.9 MB / 430.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.005492/1.258, allocations: 2.445 MB / 0.6097 GB, free: 140.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001031/1.259, allocations: 418.7 kB / 0.6101 GB, free: 140.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009734/1.269, allocations: 6.479 MB / 0.6164 GB, free: 139 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.462e-05/1.269, allocations: 29.52 kB / 0.6164 GB, free: 139 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/1.269, allocations: 3.938 kB / 0.6164 GB, free: 139 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-05/1.269, allocations: 13.27 kB / 0.6165 GB, free: 139 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01964/1.288, allocations: 13.62 MB / 0.6298 GB, free: 134.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/1.289, allocations: 4.875 kB / 0.6298 GB, free: 134.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002684/1.291, allocations: 0.5792 MB / 0.6303 GB, free: 134.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002279/1.294, allocations: 0.9483 MB / 0.6313 GB, free: 134.1 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003178/1.294, allocations: 94.19 kB / 0.6313 GB, free: 134.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006077/1.3, allocations: 5.721 MB / 0.6369 GB, free: 130 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.3, allocations: 7.938 kB / 0.6369 GB, free: 129.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01285/1.313, allocations: 10.91 MB / 0.6476 GB, free: 119.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002133/1.315, allocations: 0.9309 MB / 0.6485 GB, free: 118.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005853/1.316, allocations: 44 kB / 0.6485 GB, free: 118.4 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002149/1.318, allocations: 175.1 kB / 0.6487 GB, free: 118.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005186/1.318, allocations: 196.2 kB / 0.6489 GB, free: 118 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002387/1.318, allocations: 115.9 kB / 0.649 GB, free: 117.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003577/1.322, allocations: 2.891 MB / 0.6518 GB, free: 115 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/1.322, allocations: 3.594 kB / 0.6518 GB, free: 115 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005584/1.328, allocations: 1.268 MB / 0.6531 GB, free: 113.8 MB / 430.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.0004566/1.328, allocations: 185.3 kB / 0.6533 GB, free: 113.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009799/1.338, allocations: 8.131 MB / 0.6612 GB, free: 105.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.338, allocations: 3.938 kB / 0.6612 GB, free: 105.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00366/1.342, allocations: 3.167 MB / 0.6643 GB, free: 102.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003409/1.345, allocations: 494 kB / 0.6648 GB, free: 101.9 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/1.363, allocations: 15.02 MB / 0.6794 GB, free: 86.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003019/1.366, allocations: 3.797 MB / 0.6831 GB, free: 83.07 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005471/1.371, allocations: 2.396 MB / 0.6855 GB, free: 80.67 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/1.373, allocations: 431.1 kB / 0.6859 GB, free: 80.25 MB / 430.1 MB Notification: Performance of SimCode: time 8.52e-07/1.373, allocations: 4 kB / 0.6859 GB, free: 80.25 MB / 430.1 MB Notification: Performance of Templates: time 0.08919/1.462, allocations: 56.2 MB / 0.7408 GB, free: 24.05 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1)