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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001131/0.001132, allocations: 179.1 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.183/1.183, allocations: 194.5 MB / 211.6 MB, free: 3.051 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00164/0.001641, allocations: 118.8 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003042/0.0003043, allocations: 11.98 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08971/0.09003, allocations: 44.5 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2846/0.3747, allocations: 92.39 MB / 447.4 MB, free: 13.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.375, allocations: 90.52 kB / 447.5 MB, free: 13.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3555/0.7305, allocations: 83.75 MB / 0.5188 GB, free: 81.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.7306, allocations: 0 / 0.5188 GB, free: 81.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001436/0.7307, allocations: 81.69 kB / 0.5189 GB, free: 81.79 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.01424/0.7449, allocations: 4.717 MB / 0.5235 GB, free: 80.03 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.745, allocations: 9.031 kB / 0.5235 GB, free: 80.03 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009125/0.7541, allocations: 2.212 MB / 0.5257 GB, free: 79.74 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01265/0.7668, allocations: 4.469 MB / 0.5301 GB, free: 79.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002841/0.7671, allocations: 322.7 kB / 0.5304 GB, free: 79.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001724/0.7689, allocations: 428.7 kB / 0.5308 GB, free: 79.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02165/0.7905, allocations: 10.79 MB / 0.5413 GB, free: 76.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001673/0.7908, allocations: 68.97 kB / 0.5414 GB, free: 76.35 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005717/0.7913, allocations: 204.1 kB / 0.5416 GB, free: 76.35 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001368/0.7927, allocations: 0.9936 MB / 0.5425 GB, free: 76.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01583/0.8086, allocations: 9.008 MB / 0.5513 GB, free: 76.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04425/0.8529, allocations: 48.89 MB / 0.5991 GB, free: 40.63 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009086/0.862, allocations: 3.522 MB / 0.6025 GB, free: 39.22 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005651/0.8677, allocations: 4.366 MB / 0.6068 GB, free: 36.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.8678, allocations: 46.75 kB / 0.6068 GB, free: 36.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=139): time 3.697e-06/0.8678, allocations: 4 kB / 0.6068 GB, free: 36.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=145): time 0.02341/0.8912, allocations: 12.24 MB / 0.6188 GB, free: 31.42 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.8913, allocations: 151.9 kB / 0.6189 GB, free: 31.26 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004474/0.8958, allocations: 3.701 MB / 0.6225 GB, free: 28.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001948/0.896, allocations: 45.7 kB / 0.6226 GB, free: 28.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001301/0.8973, allocations: 3.176 MB / 0.6257 GB, free: 25.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004604/0.8977, allocations: 0.5939 MB / 0.6263 GB, free: 24.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.898, allocations: 116 kB / 0.6264 GB, free: 24.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002635/0.8982, allocations: 0.5526 MB / 0.6269 GB, free: 24.31 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002486/0.9007, allocations: 1.983 MB / 0.6289 GB, free: 22.65 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003704/0.9044, allocations: 5.768 MB / 0.6345 GB, free: 15.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003443/0.9079, allocations: 3.307 MB / 0.6377 GB, free: 12.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.33e-05/0.908, allocations: 43.95 kB / 0.6378 GB, free: 12.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=768) (initialization): time 0.01249/0.9205, allocations: 8.198 MB / 0.6458 GB, free: 5.297 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.649e-05/0.9206, allocations: 64 kB / 0.6458 GB, free: 5.234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001596/0.9208, allocations: 139.6 kB / 0.646 GB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002262/0.923, allocations: 0.9125 MB / 0.6468 GB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004104/0.9272, allocations: 1.38 MB / 0.6482 GB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005047/0.9322, allocations: 4.89 MB / 0.653 GB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004589/0.9368, allocations: 335.6 kB / 0.6533 GB, free: 14.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001161/0.938, allocations: 376 kB / 0.6537 GB, free: 14.15 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * Number of states: 0 () * Number of discrete variables: 33 (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.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 (729): * Single equations (assignments): 725 * 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.004855/0.9429, allocations: 2.087 MB / 0.6557 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007949/0.9437, allocations: 343.5 kB / 0.656 GB, free: 11.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006175/0.9499, allocations: 2.875 MB / 0.6588 GB, free: 8.824 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.538e-05/0.9499, allocations: 16 kB / 0.6588 GB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.9499, allocations: 4 kB / 0.6588 GB, free: 8.805 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-05/0.95, allocations: 13.41 kB / 0.6589 GB, free: 8.793 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01589/0.9659, allocations: 7.018 MB / 0.6657 GB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/0.9659, allocations: 3.953 kB / 0.6657 GB, free: 1.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.9672, allocations: 243.6 kB / 0.6659 GB, free: 1.492 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002053/0.9693, allocations: 0.6979 MB / 0.6666 GB, free: 0.793 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001661/0.9694, allocations: 24 kB / 0.6667 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1745/1.144, allocations: 4.447 MB / 0.671 GB, free: 85.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.144, allocations: 7.281 kB / 0.671 GB, free: 85.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006853/1.151, allocations: 5.191 MB / 0.6761 GB, free: 85.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001636/1.153, allocations: 0.6122 MB / 0.6767 GB, free: 85.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000332/1.153, allocations: 23.64 kB / 0.6767 GB, free: 85.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/1.154, allocations: 85.83 kB / 0.6768 GB, free: 85.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/1.154, allocations: 90.55 kB / 0.6769 GB, free: 85.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/1.154, allocations: 37.5 kB / 0.6769 GB, free: 85.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003905/1.158, allocations: 2.588 MB / 0.6794 GB, free: 85.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.91e-07/1.158, allocations: 0.9062 kB / 0.6794 GB, free: 85.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006038/1.164, allocations: 0.9606 MB / 0.6804 GB, free: 85.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (114): * Single equations (assignments): 110 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003963/1.165, allocations: 153.5 kB / 0.6805 GB, free: 84.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007098/1.172, allocations: 4.759 MB / 0.6852 GB, free: 84.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.172, allocations: 1.375 kB / 0.6852 GB, free: 84.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001871/1.174, allocations: 1.366 MB / 0.6865 GB, free: 84.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/1.176, allocations: 400.4 kB / 0.6869 GB, free: 84.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/1.193, allocations: 10.37 MB / 0.697 GB, free: 80.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003306/1.196, allocations: 3.312 MB / 0.7002 GB, free: 79.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004049/1.2, allocations: 1.868 MB / 0.7021 GB, free: 79.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005358/1.201, allocations: 241.2 kB / 0.7023 GB, free: 79.84 MB / 410.7 MB Notification: Performance of SimCode: time 9.02e-07/1.201, allocations: 0 / 0.7023 GB, free: 79.84 MB / 410.7 MB Notification: Performance of Templates: time 0.0531/1.254, allocations: 32.7 MB / 0.7342 GB, free: 77.82 MB / 410.7 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)