Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.MovingActuatedDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009886/0.0009888, allocations: 166.8 kB / 7.636 MB, free: 1.418 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.334/1.334, allocations: 170.7 MB / 178.7 MB, free: 15.57 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.001537/0.001537, allocations: 107.5 kB / 218 MB, free: 8.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.513e-05/1.515e-05, allocations: 4 kB / 262.2 MB, free: 26.37 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08946/0.0895, allocations: 38.77 MB / 301 MB, free: 3.613 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3762/0.4657, allocations: 86.6 MB / 387.6 MB, free: 14.05 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.4661, allocations: 81.7 kB / 387.7 MB, free: 14.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4331/0.8992, allocations: 94.99 MB / 482.7 MB, free: 68.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.143e-06/0.8992, allocations: 0 / 482.7 MB, free: 68.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002516/0.8995, allocations: 98.28 kB / 482.8 MB, free: 68.32 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.02265/0.9222, allocations: 5.504 MB / 488.3 MB, free: 66.31 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.9222, allocations: 7.844 kB / 488.3 MB, free: 66.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/0.9326, allocations: 2.317 MB / 490.6 MB, free: 65.97 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0122/0.9448, allocations: 4.914 MB / 495.5 MB, free: 65.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/0.9451, allocations: 173.9 kB / 495.7 MB, free: 65.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001722/0.9468, allocations: 301 kB / 496 MB, free: 65.33 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01336/0.9601, allocations: 7.749 MB / 0.4919 GB, free: 65.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02115/0.9813, allocations: 11.53 MB / 0.5032 GB, free: 62.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004004/0.9818, allocations: 70.94 kB / 0.5032 GB, free: 62.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002296/0.9841, allocations: 38.06 kB / 0.5033 GB, free: 62.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001977/0.9861, allocations: 1.191 MB / 0.5044 GB, free: 62.26 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06092/1.047, allocations: 54.85 MB / 0.558 GB, free: 21.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005456/1.053, allocations: 4.349 MB / 0.5622 GB, free: 17.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003705/1.056, allocations: 3.109 MB / 0.5653 GB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/1.058, allocations: 0.6853 MB / 0.5659 GB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/1.058, allocations: 63.81 kB / 0.566 GB, free: 14.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=221): time 6.632e-06/1.058, allocations: 3.891 kB / 0.566 GB, free: 14.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=252): time 0.04638/1.104, allocations: 22.3 MB / 0.5878 GB, free: 10.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/1.104, allocations: 158.5 kB / 0.5879 GB, free: 10.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005492/1.11, allocations: 3.355 MB / 0.5912 GB, free: 7.637 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007332/1.11, allocations: 25.7 kB / 0.5912 GB, free: 7.605 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002697/1.113, allocations: 3.654 MB / 0.5948 GB, free: 4.293 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001492/1.115, allocations: 0.9211 MB / 0.5957 GB, free: 3.465 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000307/1.115, allocations: 3.844 kB / 0.5957 GB, free: 3.465 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004257/1.115, allocations: 0.6092 MB / 0.5963 GB, free: 2.879 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2148/1.33, allocations: 2.877 MB / 0.5991 GB, free: 77.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009075/1.339, allocations: 7.049 MB / 0.606 GB, free: 72.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008741/1.348, allocations: 4.438 MB / 0.6103 GB, free: 72.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002226/1.348, allocations: 42.81 kB / 0.6104 GB, free: 72.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.0222/1.371, allocations: 10.04 MB / 0.6202 GB, free: 72.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000142/1.371, allocations: 72.56 kB / 0.6203 GB, free: 72.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001967/1.371, allocations: 149.8 kB / 0.6204 GB, free: 72.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002564/1.374, allocations: 1.146 MB / 0.6215 GB, free: 72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006631/1.38, allocations: 1.788 MB / 0.6233 GB, free: 71.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006236/1.386, allocations: 5.627 MB / 0.6288 GB, free: 70.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006205/1.393, allocations: 295.9 kB / 0.629 GB, free: 70.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001325/1.394, allocations: 454.8 kB / 0.6295 GB, free: 70.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * 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.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 (900): * Single equations (assignments): 896 * 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.001254/1.395, allocations: 487.5 kB / 0.6299 GB, free: 70.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007786/1.396, allocations: 372.2 kB / 0.6303 GB, free: 70.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008126/1.404, allocations: 5.286 MB / 0.6355 GB, free: 70.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.79e-05/1.404, allocations: 26.77 kB / 0.6355 GB, free: 70.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/1.404, allocations: 3.906 kB / 0.6355 GB, free: 70.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.609e-05/1.404, allocations: 15.22 kB / 0.6355 GB, free: 70.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01865/1.423, allocations: 11.01 MB / 0.6463 GB, free: 66.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.745e-05/1.423, allocations: 6.906 kB / 0.6463 GB, free: 66.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002574/1.426, allocations: 0.5009 MB / 0.6468 GB, free: 66.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002316/1.428, allocations: 0.9332 MB / 0.6477 GB, free: 66.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003348/1.428, allocations: 11.25 kB / 0.6477 GB, free: 66.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00575/1.434, allocations: 5.342 MB / 0.6529 GB, free: 63.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/1.434, allocations: 6.016 kB / 0.6529 GB, free: 63.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/1.446, allocations: 9.434 MB / 0.6621 GB, free: 59.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002062/1.448, allocations: 0.8466 MB / 0.6629 GB, free: 59.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005625/1.448, allocations: 3.625 kB / 0.6629 GB, free: 59.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001919/1.45, allocations: 146.9 kB / 0.6631 GB, free: 59.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003639/1.451, allocations: 158.8 kB / 0.6632 GB, free: 59.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001849/1.451, allocations: 68.14 kB / 0.6633 GB, free: 59.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00318/1.454, allocations: 2.23 MB / 0.6655 GB, free: 58.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.71e-07/1.454, allocations: 4.469 kB / 0.6655 GB, free: 58.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005838/1.46, allocations: 1.088 MB / 0.6665 GB, free: 58.6 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 221 * 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 Backend phase and start with SimCode phase: time 0.0004799/1.46, allocations: 155.7 kB / 0.6667 GB, free: 58.49 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.009283/1.47, allocations: 6.879 MB / 0.6734 GB, free: 52.81 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.812e-06/1.47, allocations: 0 / 0.6734 GB, free: 52.81 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003087/1.473, allocations: 2.629 MB / 0.676 GB, free: 50.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002263/1.475, allocations: 356.3 kB / 0.6763 GB, free: 50.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01995/1.495, allocations: 9.916 MB / 0.686 GB, free: 41.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00381/1.499, allocations: 3.901 MB / 0.6898 GB, free: 38.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.005742/1.505, allocations: 2.343 MB / 0.6921 GB, free: 36.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/1.506, allocations: 298.2 kB / 0.6924 GB, free: 36.64 MB / 362.7 MB Notification: Performance of SimCode: time 1.403e-06/1.506, allocations: 0 / 0.6924 GB, free: 36.64 MB / 362.7 MB Notification: Performance of Templates: time 0.2873/1.793, allocations: 40.96 MB / 0.7324 GB, free: 68.9 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1)