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.001253/0.001254, allocations: 97.5 kB / 16.5 MB, free: 6.641 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.001497/0.001497, allocations: 193.3 kB / 17.42 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.547/1.547, allocations: 205.1 MB / 223.3 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.001165/0.001165, allocations: 51.94 kB / 279.3 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1151, allocations: 46.63 MB / 326 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.05246/0.1676, allocations: 50.21 MB / 376.2 MB, free: 2.465 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2706/0.4382, allocations: 10.33 MB / 386.5 MB, free: 8.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01337/0.4517, allocations: 211 kB / 386.7 MB, free: 8.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006506/0.4583, allocations: 2.699 MB / 389.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006434/0.4647, allocations: 1.762 MB / 391.2 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.4665, allocations: 0.5229 MB / 391.7 MB, free: 8.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008058/0.4746, allocations: 5.507 MB / 397.2 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004747/0.4793, allocations: 3.679 MB / 400.9 MB, free: 5.914 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002625/0.482, allocations: 1.345 MB / 402.2 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002843/0.4849, allocations: 2.268 MB / 404.5 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005965/0.4855, allocations: 238.8 kB / 404.7 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00212/0.4876, allocations: 1.017 MB / 405.7 MB, free: 3.766 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001584/0.4892, allocations: 1.849 MB / 407.6 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002064/0.4913, allocations: 2.155 MB / 409.7 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009003/0.5003, allocations: 6.857 MB / 416.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.5003, allocations: 3.984 kB / 416.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5003, allocations: 0 / 416.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002799/0.5006, allocations: 4 kB / 416.6 MB, free: 12.02 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.03217/0.5328, allocations: 5.307 MB / 421.9 MB, free: 6.746 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.558e-05/0.5329, allocations: 15.97 kB / 421.9 MB, free: 6.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/0.5448, allocations: 1.881 MB / 423.8 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008012/0.5528, allocations: 2.349 MB / 426.2 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003411/0.5532, allocations: 236.2 kB / 426.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001682/0.5549, allocations: 320.4 kB / 426.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0313/0.5863, allocations: 10.71 MB / 437.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002347/0.5865, allocations: 39.67 kB / 437.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001208/0.5878, allocations: 159.2 kB / 437.6 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005072/0.5928, allocations: 1.98 MB / 439.6 MB, free: 4.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02971/0.6226, allocations: 9.57 MB / 449.2 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07603/0.6987, allocations: 39.92 MB / 489.1 MB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01547/0.7142, allocations: 3.844 MB / 492.9 MB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002971/0.7172, allocations: 1.845 MB / 494.8 MB, free: 12.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006772/0.7179, allocations: 362.9 kB / 495.1 MB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.718, allocations: 51.56 kB / 495.2 MB, free: 11.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 4.679e-06/0.718, allocations: 0 / 495.2 MB, free: 11.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=154): time 0.04336/0.7613, allocations: 13.75 MB / 0.497 GB, free: 13.94 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.692e-05/0.7615, allocations: 157.5 kB / 0.4972 GB, free: 13.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006008/0.7675, allocations: 4.159 MB / 0.5012 GB, free: 9.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003829/0.7679, allocations: 49.64 kB / 0.5013 GB, free: 9.516 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002704/0.7706, allocations: 3.16 MB / 0.5043 GB, free: 6.355 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001067/0.7717, allocations: 0.6166 MB / 0.505 GB, free: 5.746 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001813/0.7735, allocations: 1.233 MB / 0.5062 GB, free: 4.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.7737, allocations: 301.1 kB / 0.5064 GB, free: 4.203 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003291/0.777, allocations: 2.135 MB / 0.5085 GB, free: 2.062 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0062/0.7832, allocations: 5.964 MB / 0.5144 GB, free: 10.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01312/0.7963, allocations: 8.777 MB / 0.5229 GB, free: 15.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000186/0.7966, allocations: 36 kB / 0.523 GB, free: 15.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.02029/0.8169, allocations: 8.569 MB / 0.5313 GB, free: 6.875 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002102/0.8172, allocations: 60 kB / 0.5314 GB, free: 6.816 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003226/0.8175, allocations: 136 kB / 0.5315 GB, free: 6.684 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002685/0.8202, allocations: 0.922 MB / 0.5324 GB, free: 5.758 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005175/0.8254, allocations: 1.396 MB / 0.5338 GB, free: 4.359 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2821/1.108, allocations: 4.86 MB / 0.5385 GB, free: 122.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006344/1.114, allocations: 327.1 kB / 0.5388 GB, free: 122.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001226/1.115, allocations: 390 kB / 0.5392 GB, free: 122.4 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.003976/1.119, allocations: 2.097 MB / 0.5413 GB, free: 122.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007401/1.12, allocations: 347.5 kB / 0.5416 GB, free: 122.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006463/1.126, allocations: 3.149 MB / 0.5447 GB, free: 122.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.954e-05/1.126, allocations: 17.59 kB / 0.5447 GB, free: 122.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.671e-05/1.127, allocations: 3.719 kB / 0.5447 GB, free: 122.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.296e-05/1.127, allocations: 12.44 kB / 0.5447 GB, free: 122.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01398/1.141, allocations: 7.832 MB / 0.5523 GB, free: 121.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/1.141, allocations: 0 / 0.5523 GB, free: 121.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/1.142, allocations: 260 kB / 0.5526 GB, free: 121.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002014/1.144, allocations: 0.7136 MB / 0.5533 GB, free: 121 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/1.144, allocations: 35.44 kB / 0.5533 GB, free: 120.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005415/1.15, allocations: 4.42 MB / 0.5576 GB, free: 118.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.15, allocations: 0 / 0.5576 GB, free: 118.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00867/1.158, allocations: 5.675 MB / 0.5632 GB, free: 116.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002223/1.161, allocations: 0.633 MB / 0.5638 GB, free: 116.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009018/1.161, allocations: 23.66 kB / 0.5638 GB, free: 116.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/1.163, allocations: 87.66 kB / 0.5639 GB, free: 116.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004489/1.164, allocations: 98.05 kB / 0.564 GB, free: 116.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001894/1.164, allocations: 53.84 kB / 0.564 GB, free: 116.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005834/1.17, allocations: 2.606 MB / 0.5666 GB, free: 115.3 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.883e-06/1.17, allocations: 0 / 0.5666 GB, free: 115.3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006821/1.176, allocations: 0.9705 MB / 0.5675 GB, free: 115.2 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.0005773/1.177, allocations: 157.8 kB / 0.5677 GB, free: 115.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007938/1.185, allocations: 5.081 MB / 0.5727 GB, free: 113.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/1.185, allocations: 0 / 0.5727 GB, free: 113.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001976/1.187, allocations: 1.537 MB / 0.5742 GB, free: 113.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002771/1.19, allocations: 419.6 kB / 0.5746 GB, free: 113 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/1.204, allocations: 11.03 MB / 0.5853 GB, free: 105 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002676/1.207, allocations: 3.248 MB / 0.5885 GB, free: 101.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004191/1.211, allocations: 1.929 MB / 0.5904 GB, free: 99.81 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000665/1.212, allocations: 272.3 kB / 0.5906 GB, free: 99.55 MB / 462.1 MB Notification: Performance of SimCode: time 8.01e-07/1.212, allocations: 0 / 0.5906 GB, free: 99.55 MB / 462.1 MB Notification: Performance of Templates: time 0.05959/1.271, allocations: 35.76 MB / 0.6256 GB, free: 63.9 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)