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.7787/0.7787, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.0019/0.001901, allocations: 139.5 kB / 149.1 MB, free: 0.9648 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.79e-05/2.792e-05, allocations: 4 kB / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05603/0.05607, allocations: 25.18 MB / 205.4 MB, free: 8.426 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2088/0.2649, allocations: 51.08 MB / 256.5 MB, free: 16.76 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/0.2652, allocations: 75.58 kB / 256.6 MB, free: 16.76 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7505/1.016, allocations: 178.4 MB / 434.9 MB, free: 24.27 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.346e-06/1.016, allocations: 0 / 434.9 MB, free: 24.27 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0003497/1.016, allocations: 116.8 kB / 435.1 MB, free: 24.27 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.03377/1.05, allocations: 8.07 MB / 443.1 MB, free: 21.99 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/1.05, allocations: 10.38 kB / 443.1 MB, free: 21.99 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1091/1.159, allocations: 23.74 MB / 466.9 MB, free: 20.98 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01722/1.176, allocations: 6.409 MB / 473.3 MB, free: 20.31 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006058/1.177, allocations: 445.2 kB / 473.7 MB, free: 20.3 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005485/1.182, allocations: 0.5663 MB / 474.3 MB, free: 20.29 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05088/1.233, allocations: 19.42 MB / 493.7 MB, free: 13.09 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003684/1.234, allocations: 40.62 kB / 493.7 MB, free: 13.07 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004288/1.238, allocations: 257.8 kB / 494 MB, free: 12.86 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.04199/1.28, allocations: 9.681 MB / 0.4919 GB, free: 4.457 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04202/1.322, allocations: 20.42 MB / 0.5118 GB, free: 188 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8665/2.189, allocations: 130.5 MB / 0.6393 GB, free: 30.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0141/2.203, allocations: 6.182 MB / 0.6453 GB, free: 29.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005732/2.209, allocations: 3.786 MB / 0.649 GB, free: 29.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1256/2.334, allocations: 32.62 MB / 0.6809 GB, free: 24.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.875e-05/2.335, allocations: 58.95 kB / 0.6809 GB, free: 24.53 MB / 266.7 MB Notification: Performance of pre-optimization done (n=252): time 1.171e-05/2.335, allocations: 1.531 kB / 0.6809 GB, free: 24.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=258): time 0.0324/2.367, allocations: 15.96 MB / 0.6965 GB, free: 8.762 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/2.367, allocations: 182.9 kB / 0.6967 GB, free: 8.551 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008468/2.376, allocations: 4.86 MB / 0.7014 GB, free: 3.797 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001237/2.377, allocations: 64.56 kB / 0.7015 GB, free: 3.734 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00262/2.38, allocations: 4.048 MB / 0.7054 GB, free: 15.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002318/2.382, allocations: 0.9786 MB / 0.7064 GB, free: 14.8 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008425/2.383, allocations: 156 kB / 0.7065 GB, free: 14.64 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0005692/2.383, allocations: 0.6449 MB / 0.7072 GB, free: 13.99 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00719/2.39, allocations: 4.049 MB / 0.7111 GB, free: 9.938 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2002/2.591, allocations: 8.799 MB / 0.7197 GB, free: 56.18 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009501/2.6, allocations: 4.983 MB / 0.7246 GB, free: 56.16 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002109/2.601, allocations: 49.47 kB / 0.7246 GB, free: 56.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=1047) (initialization): time 0.02677/2.627, allocations: 12.77 MB / 0.7371 GB, free: 55.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001221/2.627, allocations: 81.34 kB / 0.7372 GB, free: 55.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002483/2.628, allocations: 172.1 kB / 0.7374 GB, free: 55.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002414/2.63, allocations: 0.9616 MB / 0.7383 GB, free: 55.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00721/2.637, allocations: 1.929 MB / 0.7402 GB, free: 55.26 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005955/2.643, allocations: 4.839 MB / 0.7449 GB, free: 53.85 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01686/2.66, allocations: 2.291 MB / 0.7471 GB, free: 53.85 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002505/2.663, allocations: 0.7396 MB / 0.7479 GB, free: 53.85 MB / 282.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 () * 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.001854/2.665, allocations: 0.6943 MB / 0.7485 GB, free: 53.58 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001205/2.666, allocations: 446.5 kB / 0.749 GB, free: 53.58 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007488/2.673, allocations: 4.462 MB / 0.7533 GB, free: 53.44 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01666/2.69, allocations: 3.555 MB / 0.7568 GB, free: 53.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-05/2.69, allocations: 3.594 kB / 0.7568 GB, free: 53.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-05/2.69, allocations: 18.86 kB / 0.7568 GB, free: 53.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07609/2.766, allocations: 22.41 MB / 0.7787 GB, free: 48.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-05/2.766, allocations: 0.875 kB / 0.7787 GB, free: 48.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002173/2.769, allocations: 412.5 kB / 0.7791 GB, free: 48.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002047/2.771, allocations: 0.7004 MB / 0.7798 GB, free: 47.97 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007564/2.771, allocations: 153 kB / 0.7799 GB, free: 47.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004717/2.776, allocations: 4.329 MB / 0.7841 GB, free: 44.04 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/2.776, allocations: 4 kB / 0.7842 GB, free: 44.03 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01567/2.792, allocations: 11.26 MB / 0.7951 GB, free: 34.55 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003728/2.796, allocations: 1.275 MB / 0.7964 GB, free: 33.44 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001228/2.797, allocations: 42.75 kB / 0.7964 GB, free: 33.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01138/2.808, allocations: 1.925 MB / 0.7983 GB, free: 32.33 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007379/2.809, allocations: 139.3 kB / 0.7984 GB, free: 32.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006513/2.81, allocations: 308.9 kB / 0.7987 GB, free: 32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.005595/2.815, allocations: 3.395 MB / 0.8021 GB, free: 29.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.32e-07/2.815, allocations: 0 / 0.8021 GB, free: 29.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.009819/2.825, allocations: 1.431 MB / 0.8035 GB, free: 27.6 MB / 282.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 () * 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.0008314/2.826, allocations: 185.4 kB / 0.8036 GB, free: 27.43 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.01367/2.84, allocations: 9.241 MB / 0.8127 GB, free: 18.61 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/2.84, allocations: 4.062 kB / 0.8127 GB, free: 18.6 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004858/2.845, allocations: 3.285 MB / 0.8159 GB, free: 15.3 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004078/2.849, allocations: 431.6 kB / 0.8163 GB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1991/3.048, allocations: 11.17 MB / 0.8272 GB, free: 53.98 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006394/3.054, allocations: 4.247 MB / 0.8313 GB, free: 53.17 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.01189/3.066, allocations: 3.272 MB / 0.8345 GB, free: 53.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003802/3.07, allocations: 0.7322 MB / 0.8352 GB, free: 53.05 MB / 282.7 MB Notification: Performance of SimCode: time 1.653e-06/3.07, allocations: 0 / 0.8352 GB, free: 53.05 MB / 282.7 MB Notification: Performance of Templates: time 0.1191/3.189, allocations: 71.32 MB / 0.9049 GB, free: 16.68 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)