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.7422/0.7422, 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.001871/0.001871, allocations: 151.4 kB / 144 MB, free: 9.816 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.467e-05/1.469e-05, allocations: 0 / 173.9 MB, free: 11.88 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05052/0.05055, allocations: 25.17 MB / 199 MB, free: 2.66 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1704/0.221, allocations: 50.42 MB / 249.5 MB, free: 5.516 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/0.2214, allocations: 71.95 kB / 249.5 MB, free: 5.445 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7492/0.9705, allocations: 176.1 MB / 425.6 MB, free: 29.93 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.9706, allocations: 4 kB / 425.6 MB, free: 29.93 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.000304/0.9709, allocations: 110.2 kB / 425.7 MB, free: 29.93 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.03419/1.005, allocations: 8.07 MB / 433.8 MB, free: 27.56 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/1.005, allocations: 7.656 kB / 433.8 MB, free: 27.56 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1153/1.12, allocations: 23.73 MB / 457.5 MB, free: 16.13 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01775/1.138, allocations: 6.403 MB / 463.9 MB, free: 10.68 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004795/1.139, allocations: 200 kB / 464.1 MB, free: 10.48 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00652/1.145, allocations: 336.4 kB / 464.5 MB, free: 10.16 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1841/1.329, allocations: 16.29 MB / 480.8 MB, free: 26.72 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04352/1.373, allocations: 18.18 MB / 498.9 MB, free: 24.34 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004766/1.374, allocations: 35.38 kB / 499 MB, free: 24.34 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004662/1.378, allocations: 18.62 kB / 499 MB, free: 24.34 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.04326/1.421, allocations: 9.67 MB / 0.4967 GB, free: 24.12 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6268/2.048, allocations: 128.1 MB / 0.6219 GB, free: 16.82 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006751/2.055, allocations: 5.893 MB / 0.6276 GB, free: 12.7 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004251/2.059, allocations: 3.715 MB / 0.6312 GB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2793/2.339, allocations: 32.42 MB / 0.6629 GB, free: 52.52 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/2.339, allocations: 56.78 kB / 0.663 GB, free: 52.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=252): time 8.646e-06/2.339, allocations: 3.812 kB / 0.663 GB, free: 52.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=259): time 0.03152/2.37, allocations: 18.24 MB / 0.6808 GB, free: 48.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/2.37, allocations: 173.9 kB / 0.6809 GB, free: 48.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007917/2.378, allocations: 4.03 MB / 0.6849 GB, free: 48.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001083/2.38, allocations: 28.2 kB / 0.6849 GB, free: 48.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002599/2.382, allocations: 4.113 MB / 0.6889 GB, free: 45.76 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001585/2.384, allocations: 0.9536 MB / 0.6899 GB, free: 45.2 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005946/2.384, allocations: 0 / 0.6899 GB, free: 45.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004073/2.385, allocations: 0.6543 MB / 0.6905 GB, free: 44.88 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004945/2.39, allocations: 3.949 MB / 0.6943 GB, free: 44.22 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007515/2.397, allocations: 8.842 MB / 0.703 GB, free: 36.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007126/2.404, allocations: 4.891 MB / 0.7078 GB, free: 34.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000149/2.405, allocations: 47.16 kB / 0.7078 GB, free: 34.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=1078) (initialization): time 0.02293/2.427, allocations: 11.87 MB / 0.7194 GB, free: 31.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/2.428, allocations: 82.38 kB / 0.7195 GB, free: 31.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001846/2.428, allocations: 174.6 kB / 0.7196 GB, free: 31.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002231/2.43, allocations: 0.9644 MB / 0.7206 GB, free: 30.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007145/2.437, allocations: 1.991 MB / 0.7225 GB, free: 30.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005374/2.443, allocations: 4.682 MB / 0.7271 GB, free: 27.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01762/2.46, allocations: 2.145 MB / 0.7292 GB, free: 26.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003172/2.464, allocations: 0.7588 MB / 0.7299 GB, free: 25.99 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 799 * 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 (1011): * Single equations (assignments): 993 * 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.003935/2.467, allocations: 0.5316 MB / 0.7305 GB, free: 25.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002042/2.47, allocations: 391.7 kB / 0.7308 GB, free: 25.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00916/2.479, allocations: 4.295 MB / 0.735 GB, free: 21.65 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01677/2.496, allocations: 3.555 MB / 0.7385 GB, free: 19.67 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.821e-05/2.496, allocations: 5.125 kB / 0.7385 GB, free: 19.67 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001235/2.496, allocations: 10.64 kB / 0.7385 GB, free: 19.67 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.227/2.723, allocations: 21.46 MB / 0.7595 GB, free: 46.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.845e-05/2.723, allocations: 1.344 kB / 0.7595 GB, free: 46.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002142/2.725, allocations: 404.3 kB / 0.7599 GB, free: 46.46 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001968/2.727, allocations: 0.7003 MB / 0.7605 GB, free: 46.46 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006504/2.728, allocations: 123.8 kB / 0.7607 GB, free: 46.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0046/2.732, allocations: 4.173 MB / 0.7647 GB, free: 45.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/2.732, allocations: 6.5 kB / 0.7647 GB, free: 45.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01608/2.748, allocations: 11.06 MB / 0.7755 GB, free: 44.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003004/2.751, allocations: 1.21 MB / 0.7767 GB, free: 44.4 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001286/2.753, allocations: 9.875 kB / 0.7767 GB, free: 44.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01184/2.765, allocations: 1.893 MB / 0.7786 GB, free: 44.4 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006915/2.765, allocations: 127 kB / 0.7787 GB, free: 44.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005959/2.766, allocations: 314.5 kB / 0.779 GB, free: 44.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.004228/2.77, allocations: 2.675 MB / 0.7816 GB, free: 43.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.61e-07/2.77, allocations: 0.6562 kB / 0.7816 GB, free: 43.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.008634/2.779, allocations: 1.249 MB / 0.7828 GB, free: 43.61 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (200): * Single equations (assignments): 182 * 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.000737/2.78, allocations: 148.7 kB / 0.783 GB, free: 43.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.01305/2.793, allocations: 8.928 MB / 0.7917 GB, free: 40.76 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/2.793, allocations: 0 / 0.7917 GB, free: 40.76 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004826/2.797, allocations: 3.246 MB / 0.7949 GB, free: 39.56 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003351/2.801, allocations: 349.4 kB / 0.7952 GB, free: 39.4 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02532/2.826, allocations: 10.98 MB / 0.8059 GB, free: 35.55 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00709/2.833, allocations: 4.25 MB / 0.8101 GB, free: 33.63 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.01201/2.845, allocations: 3.286 MB / 0.8133 GB, free: 31.42 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003891/2.849, allocations: 0.7188 MB / 0.814 GB, free: 30.9 MB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/2.849, allocations: 0 / 0.814 GB, free: 30.9 MB / 266.7 MB Notification: Performance of Templates: time 0.2925/3.142, allocations: 65.43 MB / 0.8779 GB, free: 43.6 MB / 266.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)