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.001071/0.001071, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001334/0.001334, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.0005267/0.000527, allocations: 8 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2534, allocations: 47.59 MB / 326.5 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.05612/0.3096, allocations: 60.06 MB / 386.5 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03496/0.3446, allocations: 12.42 MB / 399 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01577/0.3604, allocations: 279.4 kB / 399.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01124/0.3717, allocations: 3.13 MB / 402.4 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02838/0.4001, allocations: 9.109 MB / 411.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005058/0.4052, allocations: 0.6124 MB / 412.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007623/0.4128, allocations: 5.204 MB / 417.3 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009956/0.4228, allocations: 5.811 MB / 423.1 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003537/0.4264, allocations: 1.471 MB / 424.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004273/0.4307, allocations: 2.313 MB / 426.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001291/0.432, allocations: 172 kB / 427 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002821/0.4348, allocations: 0.8036 MB / 427.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003372/0.4382, allocations: 1.987 MB / 429.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002744/0.441, allocations: 1.006 MB / 430.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008892/0.4499, allocations: 6.632 MB / 437.5 MB, free: 4.102 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.627e-06/0.45, allocations: 0 / 437.5 MB, free: 4.102 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.45, allocations: 3.938 kB / 437.5 MB, free: 4.098 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003951/0.4504, allocations: 0 / 437.5 MB, free: 4.098 MB / 366.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.01871/0.4691, allocations: 5.355 MB / 442.8 MB, free: 14.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.4692, allocations: 8.031 kB / 442.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007443/0.4766, allocations: 2.036 MB / 444.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007098/0.4837, allocations: 2.714 MB / 447.6 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003279/0.4841, allocations: 303.8 kB / 447.9 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001754/0.4859, allocations: 407.6 kB / 448.3 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2834/0.7693, allocations: 12.86 MB / 461.1 MB, free: 31.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001847/0.7695, allocations: 45.69 kB / 461.2 MB, free: 31.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006288/0.7702, allocations: 189.1 kB / 461.4 MB, free: 31.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004555/0.7747, allocations: 2.372 MB / 463.8 MB, free: 31.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02631/0.8011, allocations: 11.72 MB / 475.5 MB, free: 31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06655/0.8677, allocations: 48.58 MB / 0.5118 GB, free: 3.535 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01603/0.8838, allocations: 5.578 MB / 0.5172 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005078/0.8889, allocations: 3.482 MB / 0.5206 GB, free: 12.85 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007481/0.8897, allocations: 382.4 kB / 0.521 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.485e-05/0.8898, allocations: 57.86 kB / 0.521 GB, free: 12.4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=221): time 6.212e-06/0.8898, allocations: 4 kB / 0.521 GB, free: 12.4 MB / 398.1 MB Notification: Performance of matching and sorting (n=252): time 0.07952/0.9693, allocations: 27.94 MB / 0.5483 GB, free: 6.051 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/0.9695, allocations: 158.5 kB / 0.5485 GB, free: 5.863 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0108/0.9803, allocations: 4.58 MB / 0.553 GB, free: 1.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001198/0.9816, allocations: 61.7 kB / 0.553 GB, free: 1.344 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003603/0.9852, allocations: 3.588 MB / 0.5565 GB, free: 13.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002198/0.9874, allocations: 0.9413 MB / 0.5574 GB, free: 12.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001132/0.9886, allocations: 140 kB / 0.5576 GB, free: 12.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0005677/0.9892, allocations: 0.6014 MB / 0.5582 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005972/0.9952, allocations: 3.441 MB / 0.5615 GB, free: 8.648 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009248/1.004, allocations: 7.508 MB / 0.5688 GB, free: 15.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009044/1.014, allocations: 4.946 MB / 0.5737 GB, free: 10.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001917/1.014, allocations: 44 kB / 0.5737 GB, free: 10.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.0265/1.04, allocations: 11.84 MB / 0.5853 GB, free: 15.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002346/1.041, allocations: 68 kB / 0.5853 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003142/1.041, allocations: 140 kB / 0.5855 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00304/1.044, allocations: 1.156 MB / 0.5866 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007189/1.051, allocations: 1.802 MB / 0.5884 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008775/1.06, allocations: 6.025 MB / 0.5942 GB, free: 6.246 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005999/1.066, allocations: 419.6 kB / 0.5947 GB, free: 5.836 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001525/1.068, allocations: 471.9 kB / 0.5951 GB, free: 5.375 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005945/1.073, allocations: 2.45 MB / 0.5975 GB, free: 3.055 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001328/1.075, allocations: 418.6 kB / 0.5979 GB, free: 2.641 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/1.088, allocations: 6.487 MB / 0.6042 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-05/1.088, allocations: 28 kB / 0.6043 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.97e-05/1.088, allocations: 4 kB / 0.6043 GB, free: 12.12 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.78e-05/1.088, allocations: 11.95 kB / 0.6043 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2172/1.305, allocations: 13.63 MB / 0.6176 GB, free: 187.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.307e-05/1.305, allocations: 3.906 kB / 0.6176 GB, free: 187.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003079/1.308, allocations: 0.5857 MB / 0.6182 GB, free: 187.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002348/1.311, allocations: 0.9426 MB / 0.6191 GB, free: 187.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004447/1.311, allocations: 95.67 kB / 0.6192 GB, free: 187.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006596/1.318, allocations: 5.721 MB / 0.6248 GB, free: 185.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.318, allocations: 3.969 kB / 0.6248 GB, free: 185.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01342/1.331, allocations: 10.92 MB / 0.6354 GB, free: 181.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002249/1.333, allocations: 0.9395 MB / 0.6363 GB, free: 181.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005983/1.334, allocations: 47.58 kB / 0.6364 GB, free: 181.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001941/1.336, allocations: 174.4 kB / 0.6365 GB, free: 181.6 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005073/1.336, allocations: 198.5 kB / 0.6367 GB, free: 181.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002534/1.337, allocations: 106 kB / 0.6368 GB, free: 181.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004504/1.341, allocations: 2.876 MB / 0.6396 GB, free: 180.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.61e-07/1.341, allocations: 0 / 0.6396 GB, free: 180.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005648/1.347, allocations: 1.272 MB / 0.6409 GB, free: 180.4 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004634/1.347, allocations: 187.5 kB / 0.6411 GB, free: 180.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01196/1.359, allocations: 8.101 MB / 0.649 GB, free: 175.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.359, allocations: 3.625 kB / 0.649 GB, free: 175.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004049/1.363, allocations: 3.164 MB / 0.6521 GB, free: 172 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003389/1.367, allocations: 0.4961 MB / 0.6526 GB, free: 171.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01813/1.385, allocations: 14.6 MB / 0.6668 GB, free: 157 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003498/1.388, allocations: 3.802 MB / 0.6705 GB, free: 153.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005724/1.394, allocations: 2.391 MB / 0.6729 GB, free: 150.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001396/1.396, allocations: 443 kB / 0.6733 GB, free: 150.4 MB / 478.1 MB Notification: Performance of SimCode: time 2.905e-06/1.396, allocations: 0 / 0.6733 GB, free: 150.4 MB / 478.1 MB Notification: Performance of Templates: time 0.08957/1.485, allocations: 54.03 MB / 0.726 GB, free: 96.32 MB / 478.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)