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.001287/0.001287, allocations: 97.03 kB / 17.06 MB, free: 6.121 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.001284/0.001285, allocations: 194.9 kB / 17.99 MB, free: 5.199 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.482/1.482, allocations: 205.1 MB / 223.9 MB, free: 12.27 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.001373/0.001373, allocations: 55.92 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1027, allocations: 46.62 MB / 374.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.2301/0.3328, allocations: 11.74 MB / 386.2 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009721/0.3427, allocations: 3.913 MB / 390.1 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003129/0.3459, allocations: 67.22 kB / 390.2 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005846/0.3518, allocations: 2.705 MB / 392.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006842/0.3586, allocations: 1.881 MB / 394.8 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002114/0.3608, allocations: 0.5784 MB / 395.4 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008358/0.3692, allocations: 3.75 MB / 399.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006094/0.3753, allocations: 3.691 MB / 402.8 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004394/0.3798, allocations: 1.534 MB / 404.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004763/0.3846, allocations: 2.124 MB / 406.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001749/0.3864, allocations: 340.6 kB / 406.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003544/0.3899, allocations: 1.055 MB / 407.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003127/0.3931, allocations: 1.919 MB / 409.8 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004945/0.398, allocations: 2.238 MB / 412 MB, free: 9.477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01204/0.4101, allocations: 7.183 MB / 419.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/0.4102, allocations: 3.938 kB / 419.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4102, allocations: 0 / 419.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000291/0.4105, allocations: 0 / 419.2 MB, free: 2.672 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.02093/0.4314, allocations: 5.314 MB / 424.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.4315, allocations: 11.97 kB / 424.5 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007292/0.4388, allocations: 1.878 MB / 426.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006073/0.4449, allocations: 2.39 MB / 428.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002818/0.4452, allocations: 238 kB / 429 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001233/0.4465, allocations: 315.8 kB / 429.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02182/0.4683, allocations: 10.71 MB / 440.1 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001533/0.4685, allocations: 47.52 kB / 440.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004777/0.469, allocations: 159.8 kB / 440.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003671/0.4727, allocations: 1.978 MB / 442.2 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02197/0.4947, allocations: 9.574 MB / 451.8 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05772/0.5525, allocations: 39.76 MB / 491.6 MB, free: 8.316 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0148/0.5674, allocations: 3.836 MB / 495.4 MB, free: 4.332 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003189/0.5706, allocations: 1.849 MB / 497.3 MB, free: 2.473 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007893/0.5714, allocations: 360 kB / 497.6 MB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.013e-05/0.5715, allocations: 51.56 kB / 497.7 MB, free: 2.004 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 6.412e-06/0.5715, allocations: 0 / 497.7 MB, free: 2.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=154): time 0.04995/0.6215, allocations: 13.76 MB / 0.4994 GB, free: 4.129 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.878e-05/0.6216, allocations: 153.5 kB / 0.4996 GB, free: 3.949 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007182/0.6288, allocations: 4.163 MB / 0.5036 GB, free: 15.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004594/0.6293, allocations: 45.7 kB / 0.5037 GB, free: 15.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00226/0.6316, allocations: 3.164 MB / 0.5068 GB, free: 12.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009449/0.6326, allocations: 0.6135 MB / 0.5074 GB, free: 11.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001616/0.6342, allocations: 1.229 MB / 0.5086 GB, free: 10.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.6343, allocations: 305.1 kB / 0.5089 GB, free: 10.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00311/0.6374, allocations: 2.135 MB / 0.511 GB, free: 8.191 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00585/0.6433, allocations: 5.96 MB / 0.5168 GB, free: 320 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/0.6543, allocations: 8.768 MB / 0.5253 GB, free: 5.629 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001515/0.6545, allocations: 40 kB / 0.5254 GB, free: 5.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01818/0.6727, allocations: 8.589 MB / 0.5338 GB, free: 12.99 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.685e-05/0.6729, allocations: 63.98 kB / 0.5338 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001977/0.6731, allocations: 136 kB / 0.5339 GB, free: 12.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00255/0.6756, allocations: 0.9112 MB / 0.5348 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004699/0.6804, allocations: 1.396 MB / 0.5362 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006841/0.6872, allocations: 5.216 MB / 0.5413 GB, free: 5.125 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004959/0.6922, allocations: 331.6 kB / 0.5416 GB, free: 4.801 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/0.6933, allocations: 380 kB / 0.542 GB, free: 4.43 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.003633/0.6969, allocations: 2.107 MB / 0.544 GB, free: 2.309 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007158/0.6976, allocations: 347.5 kB / 0.5444 GB, free: 1.965 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2136/0.9112, allocations: 3.136 MB / 0.5474 GB, free: 145.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.881e-05/0.9113, allocations: 18.62 kB / 0.5474 GB, free: 145.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.505e-05/0.9114, allocations: 7.812 kB / 0.5475 GB, free: 145.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.981e-05/0.9114, allocations: 6.516 kB / 0.5475 GB, free: 145.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01564/0.927, allocations: 7.801 MB / 0.5551 GB, free: 143.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/0.9271, allocations: 5.188 kB / 0.5551 GB, free: 143.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/0.9285, allocations: 260.1 kB / 0.5553 GB, free: 143.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002394/0.9309, allocations: 0.7125 MB / 0.556 GB, free: 143.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001731/0.931, allocations: 37.31 kB / 0.5561 GB, free: 143.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006037/0.9371, allocations: 4.753 MB / 0.5607 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.9371, allocations: 3.094 kB / 0.5607 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008688/0.9458, allocations: 5.689 MB / 0.5663 GB, free: 138.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00169/0.9476, allocations: 0.6243 MB / 0.5669 GB, free: 138.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004073/0.948, allocations: 23.72 kB / 0.5669 GB, free: 138.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/0.9493, allocations: 91.73 kB / 0.567 GB, free: 138.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003339/0.9496, allocations: 97.52 kB / 0.5671 GB, free: 138.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00013/0.9498, allocations: 54.61 kB / 0.5671 GB, free: 138.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004373/0.9542, allocations: 2.606 MB / 0.5697 GB, free: 137.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.9542, allocations: 0 / 0.5697 GB, free: 137.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006426/0.9606, allocations: 0.9697 MB / 0.5706 GB, free: 137.4 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.0004278/0.961, allocations: 160 kB / 0.5708 GB, free: 137.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007007/0.9681, allocations: 5.094 MB / 0.5757 GB, free: 135.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.9681, allocations: 0 / 0.5757 GB, free: 135.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001946/0.9701, allocations: 1.536 MB / 0.5772 GB, free: 135 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/0.9728, allocations: 446 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.01431/0.9872, allocations: 8.97 MB / 0.5864 GB, free: 130.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003006/0.9902, allocations: 3.243 MB / 0.5896 GB, free: 127.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003649/0.9939, allocations: 1.929 MB / 0.5915 GB, free: 125.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006884/0.9946, allocations: 271.3 kB / 0.5917 GB, free: 125.4 MB / 478.1 MB Notification: Performance of SimCode: time 2.275e-06/0.9946, allocations: 0 / 0.5917 GB, free: 125.4 MB / 478.1 MB Notification: Performance of Templates: time 0.05706/1.052, allocations: 33.84 MB / 0.6248 GB, free: 91.68 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)