Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00242/0.00242, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.498/3.498, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001764/0.001764, allocations: 90.88 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006417/0.000642, allocations: 12 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2434, allocations: 47.58 MB / 374.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.5957/0.8392, allocations: 42.99 MB / 417.5 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.05259/0.8919, allocations: 10.23 MB / 427.8 MB, free: 5.891 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01883/0.9108, allocations: 208.4 kB / 428 MB, free: 5.859 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01321/0.9241, allocations: 2.115 MB / 430.1 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04408/0.9682, allocations: 6.21 MB / 436.3 MB, free: 14.55 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006667/0.975, allocations: 0.5109 MB / 436.8 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00965/0.9847, allocations: 2.112 MB / 438.9 MB, free: 11.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01554/1, allocations: 4.302 MB / 443.2 MB, free: 7.57 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004467/1.005, allocations: 0.9926 MB / 444.2 MB, free: 6.574 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005433/1.01, allocations: 1.374 MB / 445.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001881/1.012, allocations: 144 kB / 445.7 MB, free: 5.055 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004872/1.017, allocations: 0.7568 MB / 446.5 MB, free: 4.297 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005005/1.022, allocations: 1.555 MB / 448 MB, free: 2.738 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003241/1.026, allocations: 0.8311 MB / 448.9 MB, free: 1.898 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.016/1.042, allocations: 5.527 MB / 454.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.042, allocations: 0 / 454.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.777e-06/1.042, allocations: 4 kB / 454.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003232/1.042, allocations: 0 / 454.4 MB, free: 12.36 MB / 330.7 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.04431/1.087, allocations: 4.515 MB / 458.9 MB, free: 7.773 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.238e-05/1.087, allocations: 16.02 kB / 458.9 MB, free: 7.758 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0232/1.11, allocations: 2.237 MB / 461.2 MB, free: 5.512 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0128/1.123, allocations: 2.51 MB / 463.7 MB, free: 2.941 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005973/1.124, allocations: 242 kB / 463.9 MB, free: 2.703 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002992/1.127, allocations: 323.8 kB / 464.2 MB, free: 2.387 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05331/1.18, allocations: 10.75 MB / 475 MB, free: 6.949 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003899/1.18, allocations: 47.53 kB / 475 MB, free: 6.902 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002802/1.183, allocations: 155.8 kB / 475.2 MB, free: 6.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01007/1.193, allocations: 1.986 MB / 477.2 MB, free: 4.758 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05315/1.247, allocations: 9.61 MB / 486.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1261/1.373, allocations: 39.97 MB / 0.5144 GB, free: 2.023 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03923/1.412, allocations: 3.87 MB / 0.5182 GB, free: 14.01 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001731/1.414, allocations: 364 kB / 0.5185 GB, free: 13.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001113/1.414, allocations: 47.56 kB / 0.5186 GB, free: 13.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 9.619e-06/1.414, allocations: 0 / 0.5186 GB, free: 13.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=154): time 0.5992/2.013, allocations: 14.1 MB / 0.5323 GB, free: 131.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/2.014, allocations: 144.1 kB / 0.5325 GB, free: 131.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0184/2.032, allocations: 4.279 MB / 0.5366 GB, free: 130.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006138/2.033, allocations: 45.89 kB / 0.5367 GB, free: 130.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004731/2.038, allocations: 3.09 MB / 0.5397 GB, free: 128.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001811/2.039, allocations: 0.6123 MB / 0.5403 GB, free: 128.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001307/2.041, allocations: 120.7 kB / 0.5404 GB, free: 128 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.001264/2.042, allocations: 0.558 MB / 0.541 GB, free: 127.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01021/2.052, allocations: 2.11 MB / 0.543 GB, free: 126.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01448/2.067, allocations: 5.909 MB / 0.5488 GB, free: 121.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01393/2.081, allocations: 3.446 MB / 0.5522 GB, free: 119.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003837/2.082, allocations: 43.64 kB / 0.5522 GB, free: 119.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.03889/2.12, allocations: 8.392 MB / 0.5604 GB, free: 116.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000278/2.121, allocations: 69.06 kB / 0.5605 GB, free: 116.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004664/2.121, allocations: 136.6 kB / 0.5606 GB, free: 116.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006954/2.128, allocations: 0.9307 MB / 0.5615 GB, free: 116.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01272/2.141, allocations: 1.4 MB / 0.5629 GB, free: 116.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01656/2.158, allocations: 4.958 MB / 0.5677 GB, free: 113.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01186/2.17, allocations: 337.7 kB / 0.568 GB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002093/2.172, allocations: 385.2 kB / 0.5684 GB, free: 112.7 MB / 410.7 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 (736): * Single equations (assignments): 732 * 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.008646/2.181, allocations: 2.103 MB / 0.5705 GB, free: 110.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001687/2.182, allocations: 347.5 kB / 0.5708 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01681/2.199, allocations: 3.148 MB / 0.5739 GB, free: 107.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.051e-05/2.199, allocations: 20 kB / 0.5739 GB, free: 107.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.191e-05/2.199, allocations: 7.938 kB / 0.5739 GB, free: 107.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.254e-05/2.2, allocations: 11.97 kB / 0.5739 GB, free: 107.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03674/2.236, allocations: 7.839 MB / 0.5816 GB, free: 99.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.342e-05/2.236, allocations: 4 kB / 0.5816 GB, free: 99.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003954/2.24, allocations: 263.7 kB / 0.5818 GB, free: 98.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005957/2.246, allocations: 0.7147 MB / 0.5825 GB, free: 98.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005998/2.247, allocations: 35.97 kB / 0.5825 GB, free: 98.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01483/2.262, allocations: 4.513 MB / 0.587 GB, free: 93.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/2.262, allocations: 0 / 0.587 GB, free: 93.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02423/2.286, allocations: 5.842 MB / 0.5927 GB, free: 87.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00354/2.29, allocations: 0.6408 MB / 0.5933 GB, free: 86.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002446/2.292, allocations: 28.7 kB / 0.5933 GB, free: 86.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004898/2.297, allocations: 91.84 kB / 0.5934 GB, free: 86.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001054/2.299, allocations: 101.8 kB / 0.5935 GB, free: 86.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004746/2.299, allocations: 59.91 kB / 0.5936 GB, free: 86.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.009944/2.309, allocations: 2.685 MB / 0.5962 GB, free: 84.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.413e-06/2.309, allocations: 0 / 0.5962 GB, free: 84.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01261/2.322, allocations: 0.9829 MB / 0.5971 GB, free: 83.03 MB / 410.7 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 (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.001302/2.323, allocations: 173.8 kB / 0.5973 GB, free: 82.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01814/2.341, allocations: 5.054 MB / 0.6022 GB, free: 77.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.56e-05/2.341, allocations: 0 / 0.6022 GB, free: 77.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005845/2.347, allocations: 1.542 MB / 0.6037 GB, free: 76.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005612/2.353, allocations: 404.3 kB / 0.6041 GB, free: 75.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04045/2.394, allocations: 11.11 MB / 0.615 GB, free: 64.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01359/2.407, allocations: 3.326 MB / 0.6182 GB, free: 61.36 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003839/2.411, allocations: 319.3 kB / 0.6185 GB, free: 61.05 MB / 410.7 MB Notification: Performance of SimCode: time 2.074e-06/2.411, allocations: 0 / 0.6185 GB, free: 61.05 MB / 410.7 MB Notification: Performance of Templates: time 0.7588/3.17, allocations: 73.39 MB / 0.6902 GB, free: 132.3 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1)