Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.MovingActuatedDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8068/0.8068, allocations: 110.8 MB / 118.3 MB, free: 10.53 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.00179/0.00179, allocations: 155.3 kB / 144 MB, free: 9.816 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.522e-05/2.524e-05, allocations: 7.984 kB / 173.9 MB, free: 11.88 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07646/0.07651, allocations: 25.17 MB / 199 MB, free: 2.656 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1912/0.2677, allocations: 50.88 MB / 249.9 MB, free: 5.07 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001968/0.268, allocations: 71.95 kB / 250 MB, free: 5 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7915/1.06, allocations: 198.3 MB / 448.3 MB, free: 26.42 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.797e-06/1.06, allocations: 7.844 kB / 448.3 MB, free: 26.41 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0005121/1.06, allocations: 135.3 kB / 448.5 MB, free: 26.41 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: 2462 * Number of variables: 2462 Notification: Performance of Generate backend data structure: time 0.03952/1.1, allocations: 9.356 MB / 457.8 MB, free: 18.02 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/1.1, allocations: 8.031 kB / 457.8 MB, free: 18.01 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2665/1.366, allocations: 25.52 MB / 483.3 MB, free: 23.84 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01839/1.385, allocations: 6.99 MB / 490.3 MB, free: 23.52 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005772/1.385, allocations: 231.6 kB / 490.6 MB, free: 23.52 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005707/1.391, allocations: 402.4 kB / 491 MB, free: 23.52 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03482/1.426, allocations: 18.46 MB / 0.4975 GB, free: 22.92 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05027/1.476, allocations: 20.74 MB / 0.5177 GB, free: 14.94 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000354/1.477, allocations: 45.39 kB / 0.5178 GB, free: 14.93 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004176/1.481, allocations: 21.66 kB / 0.5178 GB, free: 14.93 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.04683/1.528, allocations: 10.53 MB / 0.5281 GB, free: 9.398 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8651/2.393, allocations: 143.1 MB / 0.6679 GB, free: 30.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01035/2.403, allocations: 7.534 MB / 0.6752 GB, free: 30.03 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007868/2.411, allocations: 5.45 MB / 0.6805 GB, free: 29.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/2.412, allocations: 0.7146 MB / 0.6812 GB, free: 29.35 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/2.412, allocations: 81.42 kB / 0.6813 GB, free: 29.31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=397): time 1.038e-05/2.412, allocations: 0.5625 kB / 0.6813 GB, free: 29.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=444): time 0.06725/2.48, allocations: 39.82 MB / 0.7202 GB, free: 13.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/2.48, allocations: 413.2 kB / 0.7206 GB, free: 12.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006404/2.486, allocations: 4.24 MB / 0.7247 GB, free: 11.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001467/2.488, allocations: 29.39 kB / 0.7248 GB, free: 11.31 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002243/2.49, allocations: 4.464 MB / 0.7291 GB, free: 7.914 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002378/2.492, allocations: 1.553 MB / 0.7306 GB, free: 6.734 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008307/2.493, allocations: 2.5 kB / 0.7306 GB, free: 6.734 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004242/2.494, allocations: 0.7189 MB / 0.7313 GB, free: 6.254 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00683/2.5, allocations: 5.479 MB / 0.7367 GB, free: 2.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02134/2.522, allocations: 11.33 MB / 0.7478 GB, free: 8.832 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01066/2.532, allocations: 6.569 MB / 0.7542 GB, free: 3.637 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001466/2.533, allocations: 55.81 kB / 0.7542 GB, free: 3.586 MB / 282.7 MB Notification: Performance of matching and sorting (n=1282) (initialization): time 0.03019/2.563, allocations: 15.58 MB / 0.7695 GB, free: 6.844 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/2.563, allocations: 80 kB / 0.7695 GB, free: 6.766 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004171/2.563, allocations: 296.2 kB / 0.7698 GB, free: 6.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002658/2.566, allocations: 1.185 MB / 0.771 GB, free: 5.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009902/2.576, allocations: 2.491 MB / 0.7734 GB, free: 3.582 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1633/2.739, allocations: 5.687 MB / 0.779 GB, free: 67.01 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02043/2.76, allocations: 2.474 MB / 0.7814 GB, free: 67.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003583/2.763, allocations: 0.8736 MB / 0.7822 GB, free: 67.01 MB / 298.7 MB Warning: Assuming fixed start value for the following 2 variables: r2.w:VARIABLE(start = 0.0 unit = "rad/s" stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real r1.w:VARIABLE(start = 0.0 unit = "rad/s" stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 813 * 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.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 (1209): * Single equations (assignments): 1188 * Array equations: 20 * 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.00302/2.766, allocations: 0.5726 MB / 0.7828 GB, free: 66.85 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001683/2.768, allocations: 469.8 kB / 0.7832 GB, free: 66.85 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/2.781, allocations: 7.907 MB / 0.791 GB, free: 66.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0324/2.813, allocations: 10.86 MB / 0.8016 GB, free: 66.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.991e-05/2.813, allocations: 8.375 kB / 0.8016 GB, free: 66.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.517e-05/2.813, allocations: 23.22 kB / 0.8016 GB, free: 66.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09244/2.906, allocations: 31.52 MB / 0.8324 GB, free: 62.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.657e-05/2.906, allocations: 7.719 kB / 0.8324 GB, free: 62.05 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004176/2.91, allocations: 0.812 MB / 0.8332 GB, free: 62.03 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002365/2.912, allocations: 0.9456 MB / 0.8341 GB, free: 61.85 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001293/2.914, allocations: 157.8 kB / 0.8342 GB, free: 61.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005987/2.92, allocations: 5.348 MB / 0.8395 GB, free: 59.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-05/2.92, allocations: 15.77 kB / 0.8395 GB, free: 59.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02085/2.941, allocations: 18.47 MB / 0.8575 GB, free: 46.36 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003913/2.945, allocations: 1.643 MB / 0.8591 GB, free: 44.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001358/2.946, allocations: 15.98 kB / 0.8591 GB, free: 44.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01435/2.96, allocations: 2.192 MB / 0.8613 GB, free: 42.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001248/2.962, allocations: 266.2 kB / 0.8615 GB, free: 42.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009007/2.963, allocations: 399.7 kB / 0.8619 GB, free: 42.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.004727/2.967, allocations: 2.827 MB / 0.8647 GB, free: 39.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.272e-06/2.967, allocations: 0 / 0.8647 GB, free: 39.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.01163/2.979, allocations: 1.602 MB / 0.8662 GB, free: 37.6 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.w,rotor1D.rotorWith3DEffects.phi,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (385): * Single equations (assignments): 365 * Array equations: 19 * 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.001574/2.981, allocations: 184.9 kB / 0.8664 GB, free: 37.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.02088/3.001, allocations: 12.49 MB / 0.8786 GB, free: 25.29 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/3.001, allocations: 0 / 0.8786 GB, free: 25.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008483/3.01, allocations: 5.213 MB / 0.8837 GB, free: 20.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004948/3.015, allocations: 396.5 kB / 0.8841 GB, free: 19.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2041/3.219, allocations: 14.81 MB / 0.8985 GB, free: 64.11 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005259/3.224, allocations: 4.964 MB / 0.9034 GB, free: 63.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.01359/3.238, allocations: 3.956 MB / 0.9073 GB, free: 63.11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004669/3.243, allocations: 0.8605 MB / 0.9081 GB, free: 63.04 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/3.243, allocations: 4 kB / 0.9081 GB, free: 63.04 MB / 298.7 MB Notification: Performance of Templates: time 0.1232/3.366, allocations: 87.34 MB / 0.9934 GB, free: 17.22 MB / 298.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1)