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.001369/0.001368, allocations: 157.5 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.3/1.3, allocations: 170.7 MB / 178.7 MB, free: 7.039 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.001548/0.001548, allocations: 106.6 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.585e-05/1.59e-05, allocations: 0 / 262.2 MB, free: 3.055 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2072, allocations: 38.76 MB / 301 MB, free: 39.14 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1007/0.308, allocations: 85.89 MB / 386.9 MB, free: 9.719 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.3083, allocations: 83.95 kB / 387 MB, free: 9.637 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4014/0.7097, allocations: 82.15 MB / 469.1 MB, free: 76.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.7098, allocations: 3.938 kB / 469.1 MB, free: 76.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002482/0.71, allocations: 78.78 kB / 469.2 MB, free: 76.95 MB / 330.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.01783/0.7279, allocations: 4.493 MB / 473.7 MB, free: 74.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.7279, allocations: 10.5 kB / 473.7 MB, free: 74.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01053/0.7385, allocations: 2.207 MB / 475.9 MB, free: 73.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01124/0.7498, allocations: 4.456 MB / 480.4 MB, free: 69.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002327/0.75, allocations: 136 kB / 480.5 MB, free: 68.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002065/0.7521, allocations: 251.9 kB / 480.7 MB, free: 68.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01085/0.763, allocations: 6.334 MB / 487.1 MB, free: 62.37 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01603/0.7791, allocations: 9.666 MB / 496.7 MB, free: 51.65 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00025/0.7794, allocations: 64.42 kB / 496.8 MB, free: 51.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001438/0.7808, allocations: 36 kB / 496.8 MB, free: 51.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001724/0.7826, allocations: 1.002 MB / 497.8 MB, free: 50.55 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04687/0.8295, allocations: 46.9 MB / 0.532 GB, free: 2.473 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003781/0.8333, allocations: 3.217 MB / 0.5351 GB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002581/0.8359, allocations: 1.739 MB / 0.5368 GB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009397/0.8453, allocations: 4.24 MB / 0.541 GB, free: 8.996 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.751e-05/0.8454, allocations: 47.28 kB / 0.541 GB, free: 8.941 MB / 346.7 MB Notification: Performance of pre-optimization done (n=139): time 6.242e-06/0.8455, allocations: 0 / 0.541 GB, free: 8.941 MB / 346.7 MB Notification: Performance of matching and sorting (n=146): time 0.2445/1.09, allocations: 12.04 MB / 0.5528 GB, free: 85.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/1.09, allocations: 144.5 kB / 0.5529 GB, free: 84.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005037/1.095, allocations: 3.143 MB / 0.556 GB, free: 84.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002648/1.095, allocations: 26.98 kB / 0.556 GB, free: 84.55 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002067/1.098, allocations: 3.249 MB / 0.5592 GB, free: 82.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005341/1.098, allocations: 0.5746 MB / 0.5597 GB, free: 82.49 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/1.098, allocations: 3.844 kB / 0.5597 GB, free: 82.49 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000328/1.099, allocations: 0.5672 MB / 0.5603 GB, free: 82.17 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002337/1.101, allocations: 1.857 MB / 0.5621 GB, free: 82.15 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004688/1.106, allocations: 5.792 MB / 0.5677 GB, free: 77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0053/1.111, allocations: 3.25 MB / 0.5709 GB, free: 76.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001222/1.111, allocations: 40.53 kB / 0.571 GB, free: 76.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01331/1.124, allocations: 7.428 MB / 0.5782 GB, free: 75.33 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.671e-05/1.125, allocations: 64.69 kB / 0.5783 GB, free: 75.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001733/1.125, allocations: 144.2 kB / 0.5784 GB, free: 75.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002213/1.127, allocations: 0.9251 MB / 0.5793 GB, free: 75.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00433/1.131, allocations: 1.438 MB / 0.5807 GB, free: 75.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005018/1.136, allocations: 4.615 MB / 0.5852 GB, free: 72.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00505/1.141, allocations: 220.3 kB / 0.5854 GB, free: 72.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009272/1.142, allocations: 387.8 kB / 0.5858 GB, free: 72.47 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 649 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (760): * Single equations (assignments): 756 * 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.000917/1.143, allocations: 454.4 kB / 0.5862 GB, free: 72.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006811/1.144, allocations: 316.8 kB / 0.5865 GB, free: 71.92 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004657/1.149, allocations: 2.718 MB / 0.5892 GB, free: 71.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.178e-05/1.149, allocations: 17.75 kB / 0.5892 GB, free: 71.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/1.149, allocations: 3.531 kB / 0.5892 GB, free: 71.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/1.149, allocations: 6.656 kB / 0.5892 GB, free: 71.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/1.159, allocations: 6.111 MB / 0.5952 GB, free: 68.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/1.159, allocations: 3.688 kB / 0.5952 GB, free: 68.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/1.161, allocations: 245.9 kB / 0.5954 GB, free: 68.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001886/1.163, allocations: 0.7007 MB / 0.5961 GB, free: 68.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/1.163, allocations: 9.875 kB / 0.5961 GB, free: 68.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004205/1.167, allocations: 4.179 MB / 0.6002 GB, free: 66.39 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.167, allocations: 1 kB / 0.6002 GB, free: 66.39 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006272/1.173, allocations: 4.996 MB / 0.6051 GB, free: 63.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00149/1.175, allocations: 0.5665 MB / 0.6056 GB, free: 63 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003618/1.175, allocations: 0 / 0.6056 GB, free: 63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/1.176, allocations: 66.83 kB / 0.6057 GB, free: 62.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002149/1.176, allocations: 94.78 kB / 0.6058 GB, free: 62.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/1.177, allocations: 48.45 kB / 0.6058 GB, free: 62.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002707/1.179, allocations: 2.083 MB / 0.6079 GB, free: 61.06 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.179, allocations: 0 / 0.6079 GB, free: 61.06 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005072/1.184, allocations: 0.8239 MB / 0.6087 GB, free: 60.24 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 111 * 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.000382/1.185, allocations: 142.2 kB / 0.6088 GB, free: 60.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005885/1.191, allocations: 4.449 MB / 0.6132 GB, free: 56.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.191, allocations: 0 / 0.6132 GB, free: 56.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001258/1.192, allocations: 1.301 MB / 0.6144 GB, free: 54.92 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001798/1.194, allocations: 313.8 kB / 0.6147 GB, free: 54.65 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/1.206, allocations: 7.116 MB / 0.6217 GB, free: 48.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002925/1.209, allocations: 3.318 MB / 0.6249 GB, free: 45.8 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.004596/1.214, allocations: 1.902 MB / 0.6268 GB, free: 44.6 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005503/1.214, allocations: 217.9 kB / 0.627 GB, free: 44.4 MB / 346.7 MB Notification: Performance of SimCode: time 8.12e-07/1.214, allocations: 0 / 0.627 GB, free: 44.4 MB / 346.7 MB Notification: Performance of Templates: time 0.04801/1.262, allocations: 28.12 MB / 0.6544 GB, free: 18.18 MB / 346.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)