Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001397/0.001397, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.001279/0.001279, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.511/1.511, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.002243/0.002244, allocations: 51.92 kB / 279.3 MB, free: 3.562 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1128, allocations: 46.62 MB / 326 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.3147/0.4276, allocations: 66.21 MB / 392.2 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03454/0.4622, allocations: 13.04 MB / 405.2 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01948/0.4817, allocations: 284.5 kB / 405.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008905/0.4907, allocations: 3.733 MB / 409.2 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007304/0.498, allocations: 1.973 MB / 411.2 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001896/0.5, allocations: 0.6344 MB / 411.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007514/0.5075, allocations: 6.497 MB / 418.3 MB, free: 184 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005559/0.5131, allocations: 4.793 MB / 423.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002672/0.5157, allocations: 1.701 MB / 424.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003486/0.5193, allocations: 2.756 MB / 427.6 MB, free: 9.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007628/0.52, allocations: 312 kB / 427.9 MB, free: 8.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002524/0.5226, allocations: 1.099 MB / 429 MB, free: 7.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002086/0.5247, allocations: 2.246 MB / 431.2 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002856/0.5275, allocations: 2.646 MB / 433.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007362/0.5349, allocations: 8.234 MB / 442.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5349, allocations: 4 kB / 442.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5349, allocations: 0 / 442.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001814/0.5351, allocations: 0 / 442.1 MB, free: 10.79 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02104/0.5562, allocations: 6.416 MB / 448.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.5562, allocations: 8.031 kB / 448.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007031/0.5633, allocations: 1.99 MB / 450.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005285/0.5686, allocations: 2.765 MB / 453.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002312/0.5688, allocations: 302.1 kB / 453.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006849/0.5695, allocations: 408.3 kB / 454 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02353/0.5931, allocations: 12.88 MB / 466.9 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001466/0.5933, allocations: 47.59 kB / 466.9 MB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005155/0.5938, allocations: 185.3 kB / 467.1 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004225/0.598, allocations: 2.378 MB / 469.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02336/0.6214, allocations: 11.75 MB / 481.2 MB, free: 3.191 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06945/0.6909, allocations: 48.63 MB / 0.5174 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01928/0.7102, allocations: 5.567 MB / 0.5229 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005134/0.7154, allocations: 3.489 MB / 0.5263 GB, free: 8.398 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007309/0.7161, allocations: 379.3 kB / 0.5266 GB, free: 7.988 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.7162, allocations: 55.81 kB / 0.5267 GB, free: 7.926 MB / 446.1 MB Notification: Performance of pre-optimization done (n=221): time 4.669e-06/0.7162, allocations: 0 / 0.5267 GB, free: 7.926 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.3307/1.047, allocations: 27.92 MB / 0.5539 GB, free: 107 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/1.047, allocations: 155.8 kB / 0.5541 GB, free: 106.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005941/1.053, allocations: 4.605 MB / 0.5586 GB, free: 105.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006516/1.054, allocations: 70.62 kB / 0.5587 GB, free: 105.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001917/1.056, allocations: 3.587 MB / 0.5622 GB, free: 103 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001088/1.057, allocations: 0.9463 MB / 0.5631 GB, free: 102.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00191/1.059, allocations: 1.508 MB / 0.5646 GB, free: 101.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.077e-05/1.059, allocations: 302.4 kB / 0.5648 GB, free: 101.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004029/1.063, allocations: 3.46 MB / 0.5682 GB, free: 100.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005585/1.068, allocations: 7.524 MB / 0.5756 GB, free: 93.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/1.079, allocations: 11.81 MB / 0.5871 GB, free: 80.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.895e-05/1.079, allocations: 40 kB / 0.5871 GB, free: 80.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.01879/1.098, allocations: 11.89 MB / 0.5988 GB, free: 69.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/1.098, allocations: 72.11 kB / 0.5988 GB, free: 69.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001674/1.099, allocations: 140.1 kB / 0.599 GB, free: 69.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002608/1.101, allocations: 1.137 MB / 0.6001 GB, free: 68.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00662/1.108, allocations: 1.799 MB / 0.6018 GB, free: 66.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006459/1.114, allocations: 6.009 MB / 0.6077 GB, free: 60.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006673/1.121, allocations: 431.2 kB / 0.6081 GB, free: 60.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00105/1.122, allocations: 471.8 kB / 0.6086 GB, free: 59.9 MB / 446.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.004605/1.127, allocations: 2.44 MB / 0.6109 GB, free: 57.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001574/1.128, allocations: 420.6 kB / 0.6113 GB, free: 57.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009753/1.138, allocations: 6.477 MB / 0.6177 GB, free: 50.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.585e-05/1.138, allocations: 31.75 kB / 0.6177 GB, free: 50.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/1.138, allocations: 4 kB / 0.6177 GB, free: 50.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-05/1.138, allocations: 15.89 kB / 0.6177 GB, free: 50.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0191/1.157, allocations: 13.61 MB / 0.631 GB, free: 37.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.74e-05/1.157, allocations: 4 kB / 0.631 GB, free: 37.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002736/1.16, allocations: 0.5807 MB / 0.6316 GB, free: 36.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002277/1.162, allocations: 0.9459 MB / 0.6325 GB, free: 35.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003295/1.163, allocations: 91.89 kB / 0.6326 GB, free: 35.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00605/1.169, allocations: 5.735 MB / 0.6382 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.169, allocations: 4 kB / 0.6382 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01352/1.182, allocations: 10.91 MB / 0.6489 GB, free: 18.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002267/1.185, allocations: 0.9378 MB / 0.6498 GB, free: 17.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008668/1.185, allocations: 40 kB / 0.6498 GB, free: 17.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002472/1.188, allocations: 181 kB / 0.65 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005871/1.189, allocations: 188.5 kB / 0.6502 GB, free: 17.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002698/1.189, allocations: 118.5 kB / 0.6503 GB, free: 17.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004183/1.193, allocations: 2.895 MB / 0.6531 GB, free: 14.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.193, allocations: 3 kB / 0.6531 GB, free: 14.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006911/1.2, allocations: 1.271 MB / 0.6543 GB, free: 12.93 MB / 446.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.0006148/1.201, allocations: 180.8 kB / 0.6545 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01177/1.212, allocations: 8.129 MB / 0.6625 GB, free: 5.051 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/1.212, allocations: 0 / 0.6625 GB, free: 5.051 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004326/1.217, allocations: 3.16 MB / 0.6655 GB, free: 1.926 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004346/1.221, allocations: 486.8 kB / 0.666 GB, free: 1.457 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0269/1.248, allocations: 15.02 MB / 0.6807 GB, free: 2.406 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004829/1.253, allocations: 3.8 MB / 0.6844 GB, free: 14.57 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006924/1.26, allocations: 2.395 MB / 0.6867 GB, free: 12.17 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001789/1.262, allocations: 431.1 kB / 0.6871 GB, free: 11.75 MB / 478.1 MB Notification: Performance of SimCode: time 1.333e-06/1.262, allocations: 0 / 0.6871 GB, free: 11.75 MB / 478.1 MB Notification: Performance of Templates: time 0.3216/1.583, allocations: 56.2 MB / 0.742 GB, free: 181.2 MB / 494.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1)