Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.01032/0.01032, allocations: 102.6 kB / 15.73 MB, free: 6.004 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.001898/0.001898, allocations: 191.8 kB / 16.67 MB, free: 5.93 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.6/1.6, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.001224/0.001224, allocations: 54.08 kB / 326.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1142, allocations: 46.62 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01444/0.1287, allocations: 11.74 MB / 384.9 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009379/0.1381, allocations: 3.926 MB / 388.8 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002699/0.1409, allocations: 67.81 kB / 388.9 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006742/0.1476, allocations: 2.71 MB / 391.6 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006538/0.1542, allocations: 1.887 MB / 393.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.1563, allocations: 0.5732 MB / 394.1 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006946/0.1633, allocations: 3.746 MB / 397.8 MB, free: 8.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00588/0.1692, allocations: 3.686 MB / 401.5 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004275/0.1735, allocations: 1.526 MB / 403 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004304/0.1779, allocations: 2.13 MB / 405.2 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001811/0.1797, allocations: 340 kB / 405.5 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003373/0.1831, allocations: 1.061 MB / 406.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003533/0.1867, allocations: 1.936 MB / 408.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005826/0.1925, allocations: 2.241 MB / 410.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01324/0.2058, allocations: 7.19 MB / 417.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.2059, allocations: 0 / 417.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.2059, allocations: 0 / 417.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003303/0.2062, allocations: 0 / 417.9 MB, free: 4.348 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.02295/0.2292, allocations: 5.314 MB / 423.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.2292, allocations: 8.031 kB / 423.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008173/0.2374, allocations: 1.878 MB / 425.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007715/0.2452, allocations: 2.389 MB / 427.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003443/0.2456, allocations: 242 kB / 427.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002015/0.2476, allocations: 307.8 kB / 428 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02581/0.2734, allocations: 10.72 MB / 438.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002862/0.2738, allocations: 39.59 kB / 438.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001655/0.2755, allocations: 151.8 kB / 438.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003618/0.2791, allocations: 1.986 MB / 440.9 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02039/0.2995, allocations: 9.568 MB / 450.5 MB, free: 2.898 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3412/0.6408, allocations: 39.77 MB / 490.3 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01717/0.658, allocations: 3.835 MB / 494.1 MB, free: 35.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003309/0.6614, allocations: 1.847 MB / 496 MB, free: 34.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007332/0.6621, allocations: 364 kB / 496.3 MB, free: 34.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.6622, allocations: 55.12 kB / 496.4 MB, free: 34.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 5.581e-06/0.6622, allocations: 0 / 496.4 MB, free: 34.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=154): time 0.05924/0.7214, allocations: 13.76 MB / 0.4982 GB, free: 22.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.7216, allocations: 149.5 kB / 0.4983 GB, free: 22.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006983/0.7285, allocations: 4.163 MB / 0.5024 GB, free: 18.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004623/0.729, allocations: 45.7 kB / 0.5024 GB, free: 18.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002014/0.7311, allocations: 3.165 MB / 0.5055 GB, free: 15.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008835/0.732, allocations: 0.619 MB / 0.5061 GB, free: 14.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001882/0.7339, allocations: 1.229 MB / 0.5073 GB, free: 13.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.206e-05/0.7339, allocations: 301.1 kB / 0.5076 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003909/0.7379, allocations: 2.135 MB / 0.5097 GB, free: 10.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006939/0.7448, allocations: 5.956 MB / 0.5155 GB, free: 2.965 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0161/0.761, allocations: 8.776 MB / 0.5241 GB, free: 8.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001654/0.7612, allocations: 47.94 kB / 0.5241 GB, free: 8.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01979/0.781, allocations: 8.573 MB / 0.5325 GB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003057/0.7814, allocations: 60 kB / 0.5325 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004833/0.7819, allocations: 136 kB / 0.5327 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003227/0.7852, allocations: 0.9195 MB / 0.5336 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00509/0.7903, allocations: 1.396 MB / 0.5349 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007179/0.7975, allocations: 5.209 MB / 0.54 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0057/0.8032, allocations: 327.6 kB / 0.5403 GB, free: 7.469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001368/0.8046, allocations: 384 kB / 0.5407 GB, free: 7.094 MB / 414.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.004941/0.8096, allocations: 2.099 MB / 0.5428 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001046/0.8107, allocations: 351.4 kB / 0.5431 GB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006686/0.8174, allocations: 3.148 MB / 0.5462 GB, free: 1.469 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.657e-05/0.8174, allocations: 23.59 kB / 0.5462 GB, free: 1.449 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/0.8175, allocations: 4 kB / 0.5462 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.085e-05/0.8175, allocations: 7.969 kB / 0.5462 GB, free: 1.438 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01733/0.8348, allocations: 7.798 MB / 0.5538 GB, free: 9.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.116e-05/0.8349, allocations: 3.938 kB / 0.5538 GB, free: 9.586 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/0.8362, allocations: 259.6 kB / 0.5541 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002202/0.8384, allocations: 0.7153 MB / 0.5548 GB, free: 8.613 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002169/0.8387, allocations: 39.03 kB / 0.5548 GB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006425/0.8451, allocations: 4.758 MB / 0.5594 GB, free: 3.699 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.8452, allocations: 3.938 kB / 0.5594 GB, free: 3.695 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009415/0.8546, allocations: 5.677 MB / 0.565 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00222/0.8568, allocations: 0.633 MB / 0.5656 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/0.8579, allocations: 31.75 kB / 0.5656 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/0.8599, allocations: 87.89 kB / 0.5657 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003645/0.8603, allocations: 92.86 kB / 0.5658 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/0.8604, allocations: 51.97 kB / 0.5659 GB, free: 13.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006286/0.8667, allocations: 2.607 MB / 0.5684 GB, free: 10.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.8668, allocations: 0 / 0.5684 GB, free: 10.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008244/0.875, allocations: 0.9611 MB / 0.5693 GB, free: 9.492 MB / 446.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.0009487/0.876, allocations: 163.7 kB / 0.5695 GB, free: 9.328 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01025/0.8863, allocations: 5.114 MB / 0.5745 GB, free: 4.234 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/0.8863, allocations: 0 / 0.5745 GB, free: 4.234 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002619/0.8889, allocations: 1.531 MB / 0.576 GB, free: 2.691 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004008/0.893, allocations: 441.5 kB / 0.5764 GB, free: 2.262 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01918/0.9122, allocations: 8.972 MB / 0.5852 GB, free: 9.246 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005599/0.9178, allocations: 3.238 MB / 0.5883 GB, free: 5.98 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005381/0.9232, allocations: 1.933 MB / 0.5902 GB, free: 4.039 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/0.9244, allocations: 275.3 kB / 0.5905 GB, free: 3.77 MB / 462.1 MB Notification: Performance of SimCode: time 1.192e-06/0.9244, allocations: 0 / 0.5905 GB, free: 3.77 MB / 462.1 MB Notification: Performance of Templates: time 0.07767/1.002, allocations: 33.57 MB / 0.6233 GB, free: 2.16 MB / 494.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1)