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.7857/0.7857, allocations: 110.8 MB / 123.3 MB, free: 10.78 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001754/0.001753, allocations: 147.5 kB / 149.1 MB, free: 0.9961 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.26e-05/2.294e-05, allocations: 4 kB / 180.2 MB, free: 17.55 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04852/0.04856, allocations: 25.17 MB / 205.4 MB, free: 8.434 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2164/0.265, allocations: 51.55 MB / 256.9 MB, free: 16.73 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.2653, allocations: 75.5 kB / 257 MB, free: 16.73 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7978/1.063, allocations: 201.1 MB / 458.1 MB, free: 22.79 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.424e-06/1.063, allocations: 0 / 458.1 MB, free: 22.79 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.000298/1.063, allocations: 132.9 kB / 458.2 MB, free: 22.79 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.04083/1.104, allocations: 9.356 MB / 467.6 MB, free: 20.1 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/1.104, allocations: 9.719 kB / 467.6 MB, free: 20.1 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1204/1.225, allocations: 25.52 MB / 493.1 MB, free: 13.21 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01902/1.244, allocations: 6.999 MB / 0.4884 GB, free: 8.176 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006296/1.245, allocations: 0.5182 MB / 0.4889 GB, free: 7.887 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006155/1.251, allocations: 0.6745 MB / 0.4896 GB, free: 7.441 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06068/1.311, allocations: 22.33 MB / 0.5114 GB, free: 2.469 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004264/1.312, allocations: 43.5 kB / 0.5114 GB, free: 2.438 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005298/1.317, allocations: 304.8 kB / 0.5117 GB, free: 2.188 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2436/1.561, allocations: 10.53 MB / 0.522 GB, free: 34.85 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04675/1.608, allocations: 23.53 MB / 0.545 GB, free: 34.78 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7538/2.361, allocations: 145.9 MB / 0.6874 GB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02022/2.382, allocations: 8.37 MB / 0.6956 GB, free: 7.562 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007776/2.389, allocations: 5.539 MB / 0.701 GB, free: 4.148 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001257/2.391, allocations: 0.7138 MB / 0.7017 GB, free: 3.371 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.529e-05/2.391, allocations: 90.03 kB / 0.7018 GB, free: 3.301 MB / 266.7 MB Notification: Performance of pre-optimization done (n=397): time 1.316e-05/2.391, allocations: 0 / 0.7018 GB, free: 3.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=428): time 0.2736/2.665, allocations: 38.2 MB / 0.7391 GB, free: 49.61 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001701/2.665, allocations: 411 kB / 0.7395 GB, free: 49.17 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01057/2.675, allocations: 5.248 MB / 0.7446 GB, free: 48.73 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001705/2.677, allocations: 81.89 kB / 0.7447 GB, free: 48.7 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003203/2.68, allocations: 4.399 MB / 0.749 GB, free: 46.29 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002704/2.683, allocations: 1.541 MB / 0.7505 GB, free: 45.37 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001153/2.684, allocations: 183.4 kB / 0.7506 GB, free: 45.37 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004936/2.685, allocations: 0.7027 MB / 0.7513 GB, free: 45.04 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008183/2.693, allocations: 5.509 MB / 0.7567 GB, free: 45.02 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01249/2.705, allocations: 10.43 MB / 0.7669 GB, free: 38.11 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0117/2.717, allocations: 6.569 MB / 0.7733 GB, free: 36.06 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002602/2.717, allocations: 51.41 kB / 0.7734 GB, free: 36.06 MB / 282.7 MB Notification: Performance of matching and sorting (n=1236) (initialization): time 0.03832/2.756, allocations: 16.29 MB / 0.7893 GB, free: 30.69 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002044/2.756, allocations: 80.39 kB / 0.7893 GB, free: 30.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005594/2.757, allocations: 313.4 kB / 0.7896 GB, free: 30.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00295/2.76, allocations: 1.183 MB / 0.7908 GB, free: 30.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01035/2.77, allocations: 2.388 MB / 0.7931 GB, free: 30.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006858/2.777, allocations: 5.983 MB / 0.799 GB, free: 27.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02043/2.797, allocations: 2.645 MB / 0.8016 GB, free: 25.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004726/2.802, allocations: 0.8509 MB / 0.8024 GB, free: 24.82 MB / 282.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: 783 * 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 (1163): * Single equations (assignments): 1142 * 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.006173/2.808, allocations: 0.775 MB / 0.8031 GB, free: 24.05 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003846/2.812, allocations: 0.5245 MB / 0.8037 GB, free: 23.52 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01719/2.829, allocations: 7.922 MB / 0.8114 GB, free: 17.06 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2204/3.05, allocations: 11.69 MB / 0.8228 GB, free: 50.8 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.175e-05/3.05, allocations: 6 kB / 0.8228 GB, free: 50.8 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001574/3.05, allocations: 22.7 kB / 0.8228 GB, free: 50.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.102/3.152, allocations: 32.59 MB / 0.8547 GB, free: 48.87 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.209e-05/3.152, allocations: 11.38 kB / 0.8547 GB, free: 48.87 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004464/3.157, allocations: 0.7776 MB / 0.8554 GB, free: 48.87 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002653/3.159, allocations: 0.954 MB / 0.8564 GB, free: 48.86 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001588/3.161, allocations: 205.8 kB / 0.8566 GB, free: 48.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006514/3.168, allocations: 5.655 MB / 0.8621 GB, free: 47.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.349e-05/3.168, allocations: 13.97 kB / 0.8621 GB, free: 47.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02791/3.196, allocations: 18.59 MB / 0.8802 GB, free: 39.58 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006612/3.202, allocations: 1.702 MB / 0.8819 GB, free: 39.06 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003132/3.205, allocations: 74.59 kB / 0.882 GB, free: 39.02 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01552/3.221, allocations: 2.247 MB / 0.8842 GB, free: 38.97 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001676/3.223, allocations: 255.9 kB / 0.8844 GB, free: 38.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001817/3.224, allocations: 398.5 kB / 0.8848 GB, free: 38.89 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00938/3.234, allocations: 3.676 MB / 0.8884 GB, free: 37.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.21e-07/3.234, allocations: 0 / 0.8884 GB, free: 37.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.01553/3.249, allocations: 1.834 MB / 0.8902 GB, free: 35.53 MB / 282.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 (369): * Single equations (assignments): 349 * 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.002057/3.252, allocations: 245.3 kB / 0.8904 GB, free: 35.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.02172/3.273, allocations: 12.66 MB / 0.9028 GB, free: 24.54 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.928e-05/3.273, allocations: 4 kB / 0.9028 GB, free: 24.54 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00951/3.283, allocations: 5.169 MB / 0.9078 GB, free: 20.02 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005863/3.289, allocations: 0.5074 MB / 0.9083 GB, free: 19.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.219/3.508, allocations: 14.98 MB / 0.923 GB, free: 46.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007585/3.515, allocations: 4.931 MB / 0.9278 GB, free: 45.76 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.01277/3.528, allocations: 3.921 MB / 0.9316 GB, free: 45.62 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00417/3.532, allocations: 0.8783 MB / 0.9325 GB, free: 45.55 MB / 282.7 MB Notification: Performance of SimCode: time 1.223e-06/3.532, allocations: 2.5 kB / 0.9325 GB, free: 45.55 MB / 282.7 MB Notification: Performance of Templates: time 0.3386/3.871, allocations: 93.32 MB / 1.024 GB, free: 62.63 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)