Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.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.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006578/0.006578, allocations: 165.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.308/1.308, allocations: 170.8 MB / 186.6 MB, free: 1.133 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001907/0.001907, allocations: 122.5 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.0004662, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2774, allocations: 38.77 MB / 312.9 MB, free: 38.81 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1132/0.3906, allocations: 87.36 MB / 400.3 MB, free: 3.105 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.3909, allocations: 87.95 kB / 400.3 MB, free: 3.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3966/0.7876, allocations: 96.93 MB / 497.3 MB, free: 26.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.7876, allocations: 4 kB / 497.3 MB, free: 26.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001984/0.7878, allocations: 96 kB / 497.4 MB, free: 26.39 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.01966/0.8075, allocations: 5.762 MB / 0.4913 GB, free: 20.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.8076, allocations: 12.02 kB / 0.4914 GB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/0.8176, allocations: 2.321 MB / 0.4936 GB, free: 18.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01378/0.8314, allocations: 4.933 MB / 0.4984 GB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002656/0.8317, allocations: 402.3 kB / 0.4988 GB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001708/0.8334, allocations: 0.5037 MB / 0.4993 GB, free: 12.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02348/0.8569, allocations: 13.02 MB / 0.512 GB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000186/0.8571, allocations: 71.34 kB / 0.5121 GB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007542/0.8579, allocations: 247.9 kB / 0.5123 GB, free: 13.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001593/0.8595, allocations: 1.192 MB / 0.5135 GB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02289/0.8824, allocations: 11.22 MB / 0.5245 GB, free: 1.418 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2617/1.144, allocations: 57.06 MB / 0.5802 GB, free: 23.89 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01379/1.158, allocations: 5.199 MB / 0.5853 GB, free: 23.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/1.159, allocations: 0.6812 MB / 0.5859 GB, free: 22.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/1.159, allocations: 63.53 kB / 0.586 GB, free: 22.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=221): time 4.228e-06/1.159, allocations: 0 / 0.586 GB, free: 22.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=252): time 0.06932/1.228, allocations: 25.64 MB / 0.611 GB, free: 18.85 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/1.229, allocations: 155.6 kB / 0.6112 GB, free: 18.69 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008479/1.237, allocations: 4.089 MB / 0.6152 GB, free: 17.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000832/1.238, allocations: 66.67 kB / 0.6152 GB, free: 17.74 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002626/1.241, allocations: 3.589 MB / 0.6187 GB, free: 15.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001452/1.242, allocations: 0.942 MB / 0.6197 GB, free: 14.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004355/1.242, allocations: 140.3 kB / 0.6198 GB, free: 14.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003168/1.243, allocations: 0.5959 MB / 0.6204 GB, free: 13.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004027/1.247, allocations: 3.055 MB / 0.6234 GB, free: 12.97 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006207/1.253, allocations: 7.074 MB / 0.6303 GB, free: 6.566 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006558/1.26, allocations: 4.548 MB / 0.6347 GB, free: 4.969 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001048/1.26, allocations: 42.19 kB / 0.6348 GB, free: 4.969 MB / 346.7 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.01957/1.279, allocations: 10.99 MB / 0.6455 GB, free: 224 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/1.279, allocations: 64 kB / 0.6455 GB, free: 160 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000187/1.28, allocations: 144 kB / 0.6457 GB, free: 16 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003367/1.283, allocations: 1.165 MB / 0.6468 GB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00739/1.29, allocations: 1.731 MB / 0.6485 GB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008337/1.299, allocations: 6.041 MB / 0.6544 GB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008021/1.307, allocations: 437.7 kB / 0.6548 GB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001995/1.309, allocations: 439.1 kB / 0.6552 GB, free: 7.699 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 650 * Number of states: 0 () * Number of discrete variables: 39 (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.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 (870): * Single equations (assignments): 866 * 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.007506/1.316, allocations: 2.432 MB / 0.6576 GB, free: 5.551 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001651/1.318, allocations: 410.7 kB / 0.658 GB, free: 5.145 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01183/1.33, allocations: 5.605 MB / 0.6635 GB, free: 0.6445 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-05/1.33, allocations: 28 kB / 0.6635 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-05/1.33, allocations: 0 / 0.6635 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.974e-05/1.33, allocations: 15.02 kB / 0.6635 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03072/1.361, allocations: 12.24 MB / 0.6755 GB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.547e-05/1.361, allocations: 4 kB / 0.6755 GB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002887/1.364, allocations: 0.5015 MB / 0.676 GB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002725/1.367, allocations: 0.9404 MB / 0.6769 GB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007679/1.367, allocations: 56.81 kB / 0.6769 GB, free: 5.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2434/1.611, allocations: 5.757 MB / 0.6826 GB, free: 87.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.611, allocations: 3.156 kB / 0.6826 GB, free: 87.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01263/1.624, allocations: 9.841 MB / 0.6922 GB, free: 86.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0027/1.626, allocations: 0.9114 MB / 0.6931 GB, free: 86.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006524/1.627, allocations: 45.19 kB / 0.6931 GB, free: 86.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001901/1.629, allocations: 184.8 kB / 0.6933 GB, free: 86.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003965/1.629, allocations: 145.7 kB / 0.6934 GB, free: 86.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001917/1.629, allocations: 67.84 kB / 0.6935 GB, free: 86.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.004342/1.634, allocations: 2.883 MB / 0.6963 GB, free: 86.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/1.634, allocations: 0 / 0.6963 GB, free: 86.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005906/1.64, allocations: 1.265 MB / 0.6975 GB, free: 86.26 MB / 378.7 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.0005112/1.64, allocations: 188.3 kB / 0.6977 GB, free: 86.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0115/1.652, allocations: 7.297 MB / 0.7048 GB, free: 86.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/1.652, allocations: 0 / 0.7048 GB, free: 86.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003965/1.656, allocations: 2.747 MB / 0.7075 GB, free: 85.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003397/1.659, allocations: 457 kB / 0.708 GB, free: 85.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02387/1.683, allocations: 14.05 MB / 0.7217 GB, free: 80.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004348/1.688, allocations: 3.903 MB / 0.7255 GB, free: 78.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.006031/1.694, allocations: 2.324 MB / 0.7278 GB, free: 78.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001311/1.695, allocations: 320.5 kB / 0.7281 GB, free: 78.48 MB / 378.7 MB Notification: Performance of SimCode: time 1.583e-06/1.695, allocations: 0 / 0.7281 GB, free: 78.48 MB / 378.7 MB Notification: Performance of Templates: time 0.07957/1.775, allocations: 47.46 MB / 0.7744 GB, free: 48.65 MB / 378.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1)