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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001458/0.001459, allocations: 184.3 kB / 13.65 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.594/1.594, allocations: 194.3 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001642/0.001642, allocations: 108.7 kB / 253.5 MB, free: 9.59 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.488e-05/2.492e-05, allocations: 8 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07895/0.07899, allocations: 44.49 MB / 349.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3616/0.4406, allocations: 92.3 MB / 441.7 MB, free: 3.371 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/0.4409, allocations: 84.83 kB / 441.8 MB, free: 3.328 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2575/0.6985, allocations: 83.82 MB / 0.5133 GB, free: 6.043 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6986, allocations: 0 / 0.5133 GB, free: 6.043 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002923/0.6989, allocations: 76 kB / 0.5134 GB, free: 5.969 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.01996/0.7188, allocations: 4.486 MB / 0.5178 GB, free: 1.418 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.7189, allocations: 12.03 kB / 0.5178 GB, free: 1.406 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01101/0.7299, allocations: 2.209 MB / 0.52 GB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01482/0.7448, allocations: 4.457 MB / 0.5243 GB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000443/0.7453, allocations: 324.4 kB / 0.5246 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002841/0.7481, allocations: 427.8 kB / 0.525 GB, free: 9.926 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3061/1.054, allocations: 10.69 MB / 0.5355 GB, free: 75.73 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003175/1.055, allocations: 59.19 kB / 0.5355 GB, free: 75.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009498/1.056, allocations: 208.8 kB / 0.5357 GB, free: 75.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001732/1.057, allocations: 0.994 MB / 0.5367 GB, free: 75.72 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01922/1.077, allocations: 8.842 MB / 0.5453 GB, free: 75.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05453/1.131, allocations: 48.89 MB / 0.5931 GB, free: 45.06 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009584/1.141, allocations: 3.476 MB / 0.5965 GB, free: 43.67 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002212/1.143, allocations: 1.773 MB / 0.5982 GB, free: 42.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006608/1.15, allocations: 4.366 MB / 0.6025 GB, free: 40.55 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/1.15, allocations: 46.72 kB / 0.6025 GB, free: 40.51 MB / 394.7 MB Notification: Performance of pre-optimization done (n=139): time 4.558e-06/1.15, allocations: 0 / 0.6025 GB, free: 40.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=145): time 0.02022/1.17, allocations: 9.732 MB / 0.612 GB, free: 36.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.46e-05/1.17, allocations: 145.9 kB / 0.6121 GB, free: 36.35 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005538/1.176, allocations: 3.666 MB / 0.6157 GB, free: 35.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003121/1.176, allocations: 46.55 kB / 0.6158 GB, free: 34.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001592/1.178, allocations: 3.185 MB / 0.6189 GB, free: 32.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006165/1.178, allocations: 0.5855 MB / 0.6195 GB, free: 32.11 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/1.178, allocations: 115.6 kB / 0.6196 GB, free: 32.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002695/1.179, allocations: 0.5608 MB / 0.6201 GB, free: 31.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002403/1.181, allocations: 1.917 MB / 0.622 GB, free: 30.97 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004205/1.185, allocations: 5.702 MB / 0.6275 GB, free: 25.15 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004218/1.19, allocations: 3.283 MB / 0.6308 GB, free: 23.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.177e-05/1.19, allocations: 44.03 kB / 0.6308 GB, free: 23.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=768) (initialization): time 0.01374/1.203, allocations: 8.069 MB / 0.6387 GB, free: 21.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/1.204, allocations: 62 kB / 0.6387 GB, free: 21.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001197/1.204, allocations: 143.9 kB / 0.6389 GB, free: 20.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002098/1.206, allocations: 0.9168 MB / 0.6398 GB, free: 20.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004052/1.21, allocations: 1.383 MB / 0.6411 GB, free: 19.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005233/1.215, allocations: 4.767 MB / 0.6458 GB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005238/1.22, allocations: 329.6 kB / 0.6461 GB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001042/1.221, allocations: 367.1 kB / 0.6464 GB, free: 14.16 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * 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.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 (729): * Single equations (assignments): 725 * 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.0009854/1.222, allocations: 0.5754 MB / 0.647 GB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000726/1.223, allocations: 351.5 kB / 0.6473 GB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005018/1.228, allocations: 2.801 MB / 0.6501 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.44e-05/1.228, allocations: 22.39 kB / 0.6501 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/1.228, allocations: 4 kB / 0.6501 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-05/1.228, allocations: 7.031 kB / 0.6501 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/1.24, allocations: 6.944 MB / 0.6569 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/1.24, allocations: 3.422 kB / 0.6569 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/1.241, allocations: 243.9 kB / 0.6571 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001946/1.243, allocations: 0.7 MB / 0.6578 GB, free: 4.816 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001354/1.244, allocations: 23.38 kB / 0.6578 GB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004713/1.248, allocations: 4.334 MB / 0.6621 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.248, allocations: 3.953 kB / 0.6621 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009868/1.258, allocations: 5.236 MB / 0.6672 GB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00219/1.26, allocations: 0.6137 MB / 0.6678 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004073/1.261, allocations: 20 kB / 0.6678 GB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/1.262, allocations: 87.14 kB / 0.6679 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002915/1.262, allocations: 88.23 kB / 0.668 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/1.263, allocations: 39.23 kB / 0.668 GB, free: 12.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004922/1.267, allocations: 2.55 MB / 0.6705 GB, free: 9.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/1.267, allocations: 7.594 kB / 0.6705 GB, free: 9.816 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006068/1.274, allocations: 0.9534 MB / 0.6714 GB, free: 8.871 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * 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.0004734/1.274, allocations: 163.2 kB / 0.6716 GB, free: 8.711 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008197/1.282, allocations: 4.654 MB / 0.6761 GB, free: 4.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.282, allocations: 0 / 0.6761 GB, free: 4.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00208/1.284, allocations: 1.33 MB / 0.6774 GB, free: 3.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002841/1.287, allocations: 397 kB / 0.6778 GB, free: 2.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/1.304, allocations: 7.178 MB / 0.6848 GB, free: 12.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004239/1.308, allocations: 3.312 MB / 0.688 GB, free: 8.938 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00536/1.314, allocations: 1.871 MB / 0.6899 GB, free: 7.066 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007794/1.314, allocations: 235.4 kB / 0.6901 GB, free: 6.836 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/1.314, allocations: 0 / 0.6901 GB, free: 6.836 MB / 426.7 MB Notification: Performance of Templates: time 0.3353/1.65, allocations: 32.71 MB / 0.722 GB, free: 96.67 MB / 426.7 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)