Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.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.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.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7586/0.7586, allocations: 110.9 MB / 125.9 MB, free: 6.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001676/0.001676, allocations: 146.2 kB / 151.9 MB, free: 4.996 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002399/0.0002399, allocations: 16 kB / 184.9 MB, free: 3.918 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1195, allocations: 25.15 MB / 210.1 MB, free: 29.77 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06233/0.1818, allocations: 51.18 MB / 261.2 MB, free: 14.62 MB / 202.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.1821, allocations: 81.45 kB / 261.3 MB, free: 14.54 MB / 202.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6714/0.8535, allocations: 178.6 MB / 439.9 MB, free: 31.55 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.8536, allocations: 0 / 439.9 MB, free: 31.55 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0002751/0.8538, allocations: 115.3 kB / 440 MB, free: 31.54 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2089 * Number of variables: 2089 Notification: Performance of Generate backend data structure: time 0.032/0.8859, allocations: 8.32 MB / 448.3 MB, free: 25.64 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.8859, allocations: 11.55 kB / 448.3 MB, free: 25.63 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1044/0.9903, allocations: 23.79 MB / 472.1 MB, free: 1.793 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02024/1.011, allocations: 6.433 MB / 478.6 MB, free: 11.34 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006115/1.011, allocations: 447.4 kB / 479 MB, free: 10.9 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005133/1.016, allocations: 0.5627 MB / 479.6 MB, free: 10.34 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2187/1.235, allocations: 30 MB / 0.4976 GB, free: 39.11 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003298/1.235, allocations: 43.42 kB / 0.4977 GB, free: 39.11 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003833/1.239, allocations: 259.5 kB / 0.4979 GB, free: 39.11 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.03885/1.278, allocations: 9.67 MB / 0.5073 GB, free: 38.91 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08226/1.36, allocations: 32.09 MB / 0.5387 GB, free: 29.59 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5468/1.907, allocations: 130.5 MB / 0.6662 GB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03382/1.941, allocations: 10.99 MB / 0.6769 GB, free: 2.688 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2343/2.176, allocations: 32.6 MB / 0.7087 GB, free: 49.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/2.176, allocations: 63.06 kB / 0.7088 GB, free: 49.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=252): time 6.132e-06/2.176, allocations: 0 / 0.7088 GB, free: 49.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=258): time 0.09863/2.274, allocations: 35.69 MB / 0.7436 GB, free: 40.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/2.274, allocations: 178.5 kB / 0.7438 GB, free: 40.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006546/2.281, allocations: 4.942 MB / 0.7486 GB, free: 35.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007447/2.282, allocations: 60.28 kB / 0.7487 GB, free: 35.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001622/2.283, allocations: 4.043 MB / 0.7526 GB, free: 31.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001131/2.284, allocations: 0.9834 MB / 0.7536 GB, free: 30.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000511/2.285, allocations: 159.1 kB / 0.7537 GB, free: 30.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002917/2.285, allocations: 0.641 MB / 0.7544 GB, free: 30.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02459/2.31, allocations: 8.409 MB / 0.7626 GB, free: 21.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1466/2.457, allocations: 13.16 MB / 0.7754 GB, free: 41.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02384/2.48, allocations: 8.606 MB / 0.7838 GB, free: 41.33 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001665/2.481, allocations: 50.28 kB / 0.7839 GB, free: 41.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=1047) (initialization): time 0.05986/2.541, allocations: 20.81 MB / 0.8042 GB, free: 40.33 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001162/2.541, allocations: 80.06 kB / 0.8043 GB, free: 40.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002476/2.541, allocations: 169.3 kB / 0.8045 GB, free: 40.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002272/2.543, allocations: 0.9672 MB / 0.8054 GB, free: 40.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00672/2.55, allocations: 1.933 MB / 0.8073 GB, free: 40.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005651/2.556, allocations: 4.957 MB / 0.8121 GB, free: 38.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01586/2.572, allocations: 2.284 MB / 0.8144 GB, free: 38.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002814/2.574, allocations: 0.7429 MB / 0.8151 GB, free: 38.7 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 769 * 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.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[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 (980): * Single equations (assignments): 962 * Array equations: 17 * 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.007349/2.582, allocations: 2.699 MB / 0.8177 GB, free: 37.87 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001436/2.583, allocations: 443.5 kB / 0.8181 GB, free: 37.87 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02133/2.605, allocations: 7.091 MB / 0.8251 GB, free: 36.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01586/2.62, allocations: 3.553 MB / 0.8285 GB, free: 36.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-05/2.62, allocations: 7.641 kB / 0.8285 GB, free: 36.14 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.43e-05/2.621, allocations: 13.84 kB / 0.8286 GB, free: 36.14 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08227/2.703, allocations: 25.04 MB / 0.853 GB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.64e-05/2.703, allocations: 10.86 kB / 0.853 GB, free: 18.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002081/2.705, allocations: 399.4 kB / 0.8534 GB, free: 18.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001881/2.707, allocations: 0.7037 MB / 0.8541 GB, free: 17.88 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006008/2.708, allocations: 150.5 kB / 0.8542 GB, free: 17.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00428/2.712, allocations: 4.445 MB / 0.8586 GB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/2.712, allocations: 3.938 kB / 0.8586 GB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1903/2.902, allocations: 23.45 MB / 0.8815 GB, free: 40.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004203/2.906, allocations: 1.279 MB / 0.8827 GB, free: 40.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001436/2.908, allocations: 34.64 kB / 0.8828 GB, free: 40.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01122/2.919, allocations: 1.928 MB / 0.8846 GB, free: 40.86 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006154/2.92, allocations: 136.5 kB / 0.8848 GB, free: 40.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005668/2.92, allocations: 303.1 kB / 0.8851 GB, free: 40.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.006901/2.927, allocations: 3.466 MB / 0.8884 GB, free: 40.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.6e-07/2.927, allocations: 0 / 0.8884 GB, free: 40.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.008735/2.936, allocations: 1.44 MB / 0.8898 GB, free: 40.68 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.w,rotor1D.rotorWith3DEffects.phi) * 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 (199): * Single equations (assignments): 181 * Array equations: 17 * 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.0007416/2.937, allocations: 194.3 kB / 0.89 GB, free: 40.6 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.05251/2.989, allocations: 17.9 MB / 0.9075 GB, free: 40.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/2.989, allocations: 1.625 kB / 0.9075 GB, free: 40.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02361/3.013, allocations: 7.579 MB / 0.9149 GB, free: 39.85 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004031/3.017, allocations: 440 kB / 0.9153 GB, free: 39.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04419/3.061, allocations: 19.65 MB / 0.9345 GB, free: 29.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004445/3.066, allocations: 4.248 MB / 0.9387 GB, free: 26.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.01017/3.076, allocations: 3.27 MB / 0.9419 GB, free: 24.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003176/3.079, allocations: 0.7358 MB / 0.9426 GB, free: 23.63 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/3.079, allocations: 0 / 0.9426 GB, free: 23.63 MB / 266.7 MB Notification: Performance of Templates: time 0.23/3.309, allocations: 71.33 MB / 1.012 GB, free: 45.6 MB / 282.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1)