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/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.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/Complex 3.2.1+maint.om/package.mo): time 0.009378/0.009378, allocations: 164.2 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.406/1.406, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.001629/0.001629, allocations: 107.3 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003571, allocations: 8 kB / 274.1 MB, free: 10.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2286, allocations: 38.77 MB / 312.9 MB, free: 38.73 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1131/0.3417, allocations: 86.65 MB / 399.5 MB, free: 3.848 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.3421, allocations: 87.95 kB / 399.6 MB, free: 3.762 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3757/0.7178, allocations: 83.74 MB / 483.4 MB, free: 40.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.7178, allocations: 4 kB / 483.4 MB, free: 40.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001568/0.718, allocations: 80 kB / 483.5 MB, free: 40.45 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.0172/0.7352, allocations: 4.719 MB / 488.2 MB, free: 35.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.7352, allocations: 8.031 kB / 488.2 MB, free: 35.65 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00944/0.7447, allocations: 2.214 MB / 490.4 MB, free: 33.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01163/0.7563, allocations: 4.481 MB / 494.9 MB, free: 28.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002579/0.7566, allocations: 316.4 kB / 495.2 MB, free: 28.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002048/0.7587, allocations: 427.8 kB / 495.6 MB, free: 28.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0185/0.7772, allocations: 10.79 MB / 0.4945 GB, free: 16.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001646/0.7774, allocations: 63.41 kB / 0.4946 GB, free: 16.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006355/0.7781, allocations: 203.9 kB / 0.4948 GB, free: 16.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001248/0.7793, allocations: 1.002 MB / 0.4958 GB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01611/0.7954, allocations: 9.003 MB / 0.5045 GB, free: 6.008 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2561/1.052, allocations: 48.87 MB / 0.5523 GB, free: 40.67 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009628/1.061, allocations: 3.536 MB / 0.5557 GB, free: 40 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007262/1.069, allocations: 4.369 MB / 0.56 GB, free: 38.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/1.069, allocations: 49.34 kB / 0.56 GB, free: 38.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=139): time 4.288e-06/1.069, allocations: 0 / 0.56 GB, free: 38.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=145): time 0.02595/1.095, allocations: 12.23 MB / 0.572 GB, free: 35.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/1.095, allocations: 146.2 kB / 0.5721 GB, free: 35.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006393/1.101, allocations: 3.711 MB / 0.5757 GB, free: 35.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003776/1.101, allocations: 52.92 kB / 0.5758 GB, free: 35.15 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002166/1.104, allocations: 3.181 MB / 0.5789 GB, free: 33.39 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008167/1.104, allocations: 0.5894 MB / 0.5795 GB, free: 33.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002429/1.105, allocations: 118 kB / 0.5796 GB, free: 33.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002863/1.105, allocations: 0.5472 MB / 0.5801 GB, free: 32.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002597/1.108, allocations: 1.981 MB / 0.5821 GB, free: 32.74 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00474/1.112, allocations: 5.774 MB / 0.5877 GB, free: 27.8 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004853/1.117, allocations: 3.3 MB / 0.5909 GB, free: 27.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-05/1.117, allocations: 39.56 kB / 0.591 GB, free: 27.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=768) (initialization): time 0.01368/1.131, allocations: 8.205 MB / 0.599 GB, free: 25.24 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.434e-05/1.131, allocations: 62.69 kB / 0.599 GB, free: 25.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001564/1.131, allocations: 135.9 kB / 0.5992 GB, free: 25.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002194/1.134, allocations: 0.9125 MB / 0.6 GB, free: 25.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004353/1.138, allocations: 1.388 MB / 0.6014 GB, free: 24.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005367/1.143, allocations: 4.896 MB / 0.6062 GB, free: 22.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005522/1.149, allocations: 326.5 kB / 0.6065 GB, free: 22.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008075/1.15, allocations: 372.4 kB / 0.6069 GB, free: 22.16 MB / 346.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.004045/1.154, allocations: 2.092 MB / 0.6089 GB, free: 21.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007654/1.154, allocations: 346.1 kB / 0.6092 GB, free: 20.97 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004895/1.159, allocations: 2.875 MB / 0.612 GB, free: 19.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/1.159, allocations: 20.94 kB / 0.6121 GB, free: 19.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/1.159, allocations: 7.891 kB / 0.6121 GB, free: 19.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/1.159, allocations: 3.797 kB / 0.6121 GB, free: 19.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/1.171, allocations: 7.029 MB / 0.6189 GB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/1.171, allocations: 0 / 0.6189 GB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/1.172, allocations: 241.8 kB / 0.6192 GB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001858/1.174, allocations: 0.7018 MB / 0.6198 GB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/1.174, allocations: 23.33 kB / 0.6199 GB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004523/1.178, allocations: 4.458 MB / 0.6242 GB, free: 9.566 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.178, allocations: 7.5 kB / 0.6242 GB, free: 9.562 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00681/1.185, allocations: 5.189 MB / 0.6293 GB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002047/1.187, allocations: 0.6088 MB / 0.6299 GB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004439/1.188, allocations: 27.81 kB / 0.6299 GB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/1.189, allocations: 92.25 kB / 0.63 GB, free: 4.445 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002524/1.189, allocations: 88.39 kB / 0.6301 GB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/1.189, allocations: 39.8 kB / 0.6301 GB, free: 4.355 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004186/1.193, allocations: 2.591 MB / 0.6327 GB, free: 2.207 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.31e-07/1.193, allocations: 0 / 0.6327 GB, free: 2.207 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005568/1.199, allocations: 0.9561 MB / 0.6336 GB, free: 1.254 MB / 346.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.0003719/1.199, allocations: 158 kB / 0.6337 GB, free: 1.102 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008217/1.208, allocations: 4.819 MB / 0.6384 GB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.208, allocations: 0 / 0.6384 GB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00199/1.21, allocations: 1.365 MB / 0.6398 GB, free: 11.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002637/1.212, allocations: 389.6 kB / 0.6401 GB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/1.231, allocations: 10.39 MB / 0.6503 GB, free: 2.039 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003754/1.235, allocations: 3.322 MB / 0.6535 GB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.005248/1.24, allocations: 1.869 MB / 0.6554 GB, free: 12.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007102/1.241, allocations: 235.4 kB / 0.6556 GB, free: 12.76 MB / 378.7 MB Notification: Performance of SimCode: time 2.855e-06/1.241, allocations: 4 kB / 0.6556 GB, free: 12.76 MB / 378.7 MB Notification: Performance of Templates: time 0.2757/1.516, allocations: 32.69 MB / 0.6875 GB, free: 111.3 MB / 394.7 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)