Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.ActuatedDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009685/0.0009685, allocations: 90.11 kB / 16.65 MB, free: 6.535 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.001115/0.001115, allocations: 175.5 kB / 17.56 MB, free: 6.18 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.528/1.528, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.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.0005199/0.0005199, allocations: 12 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1184, allocations: 47.59 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.05022/0.1687, allocations: 48.9 MB / 377.2 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2687/0.4374, allocations: 10.27 MB / 387.5 MB, free: 8.789 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01222/0.4496, allocations: 212.8 kB / 387.7 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002049/0.4517, allocations: 429.1 kB / 388.1 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007461/0.4592, allocations: 1.77 MB / 389.9 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002539/0.4618, allocations: 0.5145 MB / 390.4 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01333/0.4751, allocations: 5.504 MB / 395.9 MB, free: 8.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0109/0.4861, allocations: 5.012 MB / 400.9 MB, free: 6.539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003623/0.4897, allocations: 1.117 MB / 402 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004059/0.4938, allocations: 1.977 MB / 404 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001041/0.4949, allocations: 142.7 kB / 404.2 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003095/0.498, allocations: 0.9217 MB / 405.1 MB, free: 4.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002396/0.5004, allocations: 1.715 MB / 406.8 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00396/0.5044, allocations: 2.01 MB / 408.8 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006823/0.5112, allocations: 6.66 MB / 415.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.5113, allocations: 0 / 415.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.5113, allocations: 5.938 kB / 415.5 MB, free: 14.01 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000215/0.5115, allocations: 0 / 415.5 MB, free: 14.01 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01662/0.5281, allocations: 4.381 MB / 419.9 MB, free: 9.914 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.5282, allocations: 8.031 kB / 419.9 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007701/0.5359, allocations: 1.939 MB / 421.8 MB, free: 7.961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005305/0.5413, allocations: 2.341 MB / 424.1 MB, free: 5.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.5415, allocations: 241.3 kB / 424.4 MB, free: 5.387 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009293/0.5424, allocations: 314 kB / 424.7 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02111/0.5635, allocations: 10.73 MB / 435.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001525/0.5638, allocations: 47.52 kB / 435.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004531/0.5642, allocations: 154.4 kB / 435.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003487/0.5677, allocations: 1.983 MB / 437.6 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01991/0.5876, allocations: 9.594 MB / 447.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05642/0.6441, allocations: 39.9 MB / 487.1 MB, free: 5.211 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01392/0.6581, allocations: 3.853 MB / 490.9 MB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002678/0.6608, allocations: 1.849 MB / 492.8 MB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005981/0.6614, allocations: 369.3 kB / 493.1 MB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.243e-05/0.6615, allocations: 43.56 kB / 493.2 MB, free: 14.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 4.779e-06/0.6615, allocations: 0 / 493.2 MB, free: 14.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=154): time 0.04543/0.7069, allocations: 13.78 MB / 0.4951 GB, free: 1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.753e-05/0.7071, allocations: 153.5 kB / 0.4952 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006356/0.7134, allocations: 4.164 MB / 0.4993 GB, free: 12.63 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003793/0.7138, allocations: 45.7 kB / 0.4993 GB, free: 12.58 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00234/0.7162, allocations: 3.169 MB / 0.5024 GB, free: 9.414 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008841/0.7171, allocations: 0.6146 MB / 0.503 GB, free: 8.805 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006152/0.7177, allocations: 0.5031 MB / 0.5035 GB, free: 8.293 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.7178, allocations: 301.1 kB / 0.5038 GB, free: 7.996 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003472/0.7213, allocations: 2.143 MB / 0.5059 GB, free: 5.848 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005927/0.7272, allocations: 5.96 MB / 0.5117 GB, free: 13.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01106/0.7383, allocations: 8.777 MB / 0.5203 GB, free: 3.285 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001192/0.7385, allocations: 40 kB / 0.5203 GB, free: 3.246 MB / 446.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.0184/0.7569, allocations: 8.601 MB / 0.5287 GB, free: 10.63 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.7571, allocations: 67.98 kB / 0.5288 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001787/0.7573, allocations: 136 kB / 0.5289 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002624/0.7599, allocations: 0.9141 MB / 0.5298 GB, free: 9.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005177/0.7651, allocations: 1.396 MB / 0.5312 GB, free: 8.121 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006947/0.7721, allocations: 4.873 MB / 0.536 GB, free: 3.109 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005606/0.7777, allocations: 327.7 kB / 0.5363 GB, free: 2.789 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001264/0.779, allocations: 386.9 kB / 0.5366 GB, free: 2.414 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 620 * Number of states: 0 () * Number of discrete variables: 36 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (740): * Single equations (assignments): 736 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004573/0.7836, allocations: 2.095 MB / 0.5387 GB, free: 316 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2332/1.017, allocations: 352.8 kB / 0.539 GB, free: 175 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007446/1.024, allocations: 3.155 MB / 0.5421 GB, free: 174.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.471e-05/1.024, allocations: 17.09 kB / 0.5421 GB, free: 174.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/1.024, allocations: 8 kB / 0.5421 GB, free: 174.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-05/1.024, allocations: 9.031 kB / 0.5421 GB, free: 174.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0175/1.042, allocations: 7.828 MB / 0.5498 GB, free: 172.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.267e-05/1.042, allocations: 4.734 kB / 0.5498 GB, free: 172.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001365/1.043, allocations: 262.9 kB / 0.55 GB, free: 172.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002272/1.046, allocations: 0.7201 MB / 0.5507 GB, free: 172.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001771/1.046, allocations: 39.34 kB / 0.5508 GB, free: 172.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005591/1.051, allocations: 4.421 MB / 0.5551 GB, free: 170 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.051, allocations: 3.594 kB / 0.5551 GB, free: 170 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008568/1.06, allocations: 5.696 MB / 0.5607 GB, free: 168 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/1.062, allocations: 0.631 MB / 0.5613 GB, free: 167.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004703/1.062, allocations: 23.75 kB / 0.5613 GB, free: 167.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/1.064, allocations: 89.67 kB / 0.5614 GB, free: 167.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003105/1.064, allocations: 105.7 kB / 0.5615 GB, free: 167.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/1.064, allocations: 54.33 kB / 0.5615 GB, free: 167.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004102/1.068, allocations: 2.608 MB / 0.5641 GB, free: 166.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.068, allocations: 0 / 0.5641 GB, free: 166.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006704/1.075, allocations: 0.9666 MB / 0.565 GB, free: 166.7 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (123): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004639/1.075, allocations: 155.8 kB / 0.5652 GB, free: 166.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007438/1.083, allocations: 5.091 MB / 0.5701 GB, free: 164.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.083, allocations: 0 / 0.5701 GB, free: 164.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0018/1.085, allocations: 1.546 MB / 0.5717 GB, free: 163.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003369/1.088, allocations: 417.2 kB / 0.572 GB, free: 163.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0143/1.102, allocations: 11.13 MB / 0.5829 GB, free: 152.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002837/1.105, allocations: 3.232 MB / 0.5861 GB, free: 148.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004273/1.109, allocations: 1.936 MB / 0.588 GB, free: 147 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006794/1.11, allocations: 271.3 kB / 0.5882 GB, free: 146.7 MB / 462.1 MB Notification: Performance of SimCode: time 2.295e-06/1.11, allocations: 0 / 0.5882 GB, free: 146.7 MB / 462.1 MB Notification: Performance of Templates: time 0.06147/1.172, allocations: 35.26 MB / 0.6227 GB, free: 111.5 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1)