Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.2.2_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.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 94 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 183.5 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 205.4 MB / 223.4 MB, free: 5.539 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004572/0.0004575, allocations: 12 kB / 280.1 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2504, allocations: 47.58 MB / 327.7 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.05555/0.306, allocations: 56.67 MB / 384.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03313/0.3393, allocations: 13.03 MB / 397.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01302/0.3523, allocations: 279.3 kB / 397.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01107/0.3634, allocations: 2.815 MB / 400.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02875/0.3922, allocations: 8.084 MB / 408.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004536/0.3968, allocations: 0.628 MB / 409.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006704/0.4035, allocations: 2.507 MB / 411.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009544/0.4131, allocations: 5.776 MB / 417.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00259/0.4158, allocations: 1.203 MB / 418.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00276/0.4186, allocations: 1.612 MB / 420.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009621/0.4196, allocations: 172 kB / 420.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00225/0.4218, allocations: 0.7841 MB / 421.2 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002296/0.4241, allocations: 1.855 MB / 423.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001524/0.4257, allocations: 1.006 MB / 424.1 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008555/0.4343, allocations: 6.632 MB / 430.7 MB, free: 12.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.4343, allocations: 4 kB / 430.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4343, allocations: 4 kB / 430.7 MB, free: 12.15 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003273/0.4346, allocations: 0 / 430.7 MB, free: 12.15 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02007/0.4547, allocations: 5.547 MB / 436.3 MB, free: 6.531 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.4548, allocations: 8.031 kB / 436.3 MB, free: 6.523 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008846/0.4636, allocations: 2.337 MB / 438.6 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007666/0.4714, allocations: 2.925 MB / 441.6 MB, free: 1.191 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003728/0.4718, allocations: 307.7 kB / 441.9 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002153/0.474, allocations: 407.7 kB / 442.3 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0318/0.5058, allocations: 12.97 MB / 455.2 MB, free: 2.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003266/0.5062, allocations: 47.53 kB / 455.3 MB, free: 2.727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002023/0.5082, allocations: 187.8 kB / 455.5 MB, free: 2.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004838/0.5131, allocations: 2.374 MB / 457.8 MB, free: 168 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2329/0.746, allocations: 11.85 MB / 469.7 MB, free: 106.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05397/0.8, allocations: 48.62 MB / 0.5061 GB, free: 58.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01683/0.8169, allocations: 5.688 MB / 0.5117 GB, free: 52.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006702/0.8176, allocations: 378.5 kB / 0.5121 GB, free: 52.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.8177, allocations: 63.81 kB / 0.5121 GB, free: 52.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=221): time 5.08e-06/0.8177, allocations: 0 / 0.5121 GB, free: 52.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=252): time 0.07364/0.8913, allocations: 28.7 MB / 0.5402 GB, free: 23.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.8915, allocations: 154.5 kB / 0.5403 GB, free: 23.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006249/0.8977, allocations: 4.713 MB / 0.5449 GB, free: 18.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007151/0.8985, allocations: 65.7 kB / 0.545 GB, free: 18.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001855/0.9003, allocations: 3.58 MB / 0.5485 GB, free: 15.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001112/0.9014, allocations: 0.947 MB / 0.5494 GB, free: 14.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003522/0.9018, allocations: 140 kB / 0.5495 GB, free: 13.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000295/0.9021, allocations: 0.6073 MB / 0.5501 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004276/0.9064, allocations: 3.418 MB / 0.5535 GB, free: 9.938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005509/0.9119, allocations: 7.466 MB / 0.5607 GB, free: 480 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007096/0.919, allocations: 4.938 MB / 0.5656 GB, free: 11.53 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.544e-05/0.9191, allocations: 40 kB / 0.5656 GB, free: 11.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02715/0.9463, allocations: 11.82 MB / 0.5771 GB, free: 15.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001988/0.9465, allocations: 64.22 kB / 0.5772 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002691/0.9468, allocations: 148 kB / 0.5774 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003201/0.95, allocations: 1.144 MB / 0.5785 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007504/0.9576, allocations: 1.809 MB / 0.5802 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009377/0.967, allocations: 6.127 MB / 0.5862 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008178/0.9752, allocations: 431.5 kB / 0.5866 GB, free: 5.809 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002018/0.9773, allocations: 463.8 kB / 0.5871 GB, free: 5.355 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 651 * Number of states: 0 () * Number of discrete variables: 42 (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.groundColor[3],world.groundColor[2],world.groundColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (871): * Single equations (assignments): 867 * 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.00702/0.9843, allocations: 2.447 MB / 0.5895 GB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001569/0.9859, allocations: 414.6 kB / 0.5899 GB, free: 2.484 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/0.999, allocations: 6.501 MB / 0.5962 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.256e-05/0.9991, allocations: 28 kB / 0.5962 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.792e-05/0.9991, allocations: 4 kB / 0.5962 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.03e-05/0.9992, allocations: 15.95 kB / 0.5963 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2504/1.25, allocations: 13.54 MB / 0.6095 GB, free: 138.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.43e-05/1.25, allocations: 3.469 kB / 0.6095 GB, free: 138.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003493/1.253, allocations: 0.5915 MB / 0.6101 GB, free: 138.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002621/1.256, allocations: 0.9415 MB / 0.611 GB, free: 138.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006411/1.256, allocations: 89.86 kB / 0.6111 GB, free: 138.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007378/1.264, allocations: 5.831 MB / 0.6168 GB, free: 136.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.264, allocations: 5.75 kB / 0.6168 GB, free: 136.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01496/1.279, allocations: 11.39 MB / 0.6279 GB, free: 132.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002911/1.282, allocations: 0.9425 MB / 0.6288 GB, free: 132.1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008889/1.283, allocations: 39.78 kB / 0.6288 GB, free: 132.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002324/1.285, allocations: 181.1 kB / 0.629 GB, free: 132.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004585/1.286, allocations: 199.4 kB / 0.6292 GB, free: 132.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002449/1.286, allocations: 111.8 kB / 0.6293 GB, free: 132 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004411/1.29, allocations: 2.969 MB / 0.6322 GB, free: 131 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.29, allocations: 3.969 kB / 0.6322 GB, free: 131 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007233/1.297, allocations: 1.291 MB / 0.6335 GB, free: 130.9 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 223 * 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.0006683/1.298, allocations: 205.5 kB / 0.6337 GB, free: 130.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01213/1.31, allocations: 8.098 MB / 0.6416 GB, free: 126 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/1.31, allocations: 0 / 0.6416 GB, free: 126 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004104/1.314, allocations: 3.165 MB / 0.6447 GB, free: 122.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/1.318, allocations: 469.8 kB / 0.6451 GB, free: 122.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02012/1.338, allocations: 14.62 MB / 0.6594 GB, free: 107.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003264/1.341, allocations: 3.912 MB / 0.6632 GB, free: 104 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0053/1.346, allocations: 2.4 MB / 0.6656 GB, free: 101.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/1.348, allocations: 435.1 kB / 0.666 GB, free: 101.1 MB / 430.1 MB Notification: Performance of SimCode: time 2.324e-06/1.348, allocations: 0 / 0.666 GB, free: 101.1 MB / 430.1 MB Notification: Performance of Templates: time 0.08865/1.436, allocations: 54.67 MB / 0.7194 GB, free: 46.46 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) Environment - environmentSimulation: