Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.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.1_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.000803/0.000803, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005535/0.005535, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.558/1.558, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0005183/0.0005184, allocations: 8 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2913, allocations: 47.58 MB / 327 MB, free: 1.527 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.06405/0.3554, allocations: 64.6 MB / 391.6 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03521/0.3907, allocations: 12.99 MB / 404.6 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01552/0.4062, allocations: 279.4 kB / 404.9 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002159/0.4084, allocations: 0.5013 MB / 405.4 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006131/0.4146, allocations: 1.973 MB / 407.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002029/0.4166, allocations: 0.6241 MB / 408 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009675/0.4263, allocations: 6.503 MB / 414.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01276/0.4392, allocations: 6.557 MB / 421 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004287/0.4435, allocations: 1.365 MB / 422.4 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005121/0.4487, allocations: 2.335 MB / 424.7 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001359/0.4501, allocations: 172 kB / 424.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002933/0.4531, allocations: 0.9555 MB / 425.9 MB, free: 240 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002981/0.4561, allocations: 2.041 MB / 427.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004462/0.4606, allocations: 2.416 MB / 430.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009647/0.4702, allocations: 7.98 MB / 438.3 MB, free: 3.742 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.4703, allocations: 0 / 438.3 MB, free: 3.742 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.4703, allocations: 0 / 438.3 MB, free: 3.742 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003404/0.4706, allocations: 0 / 438.3 MB, free: 3.742 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.01973/0.4904, allocations: 5.289 MB / 443.6 MB, free: 14.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.4905, allocations: 12.03 kB / 443.6 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007995/0.4985, allocations: 2.037 MB / 445.6 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005821/0.5043, allocations: 2.765 MB / 448.4 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002506/0.5046, allocations: 303.8 kB / 448.7 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001309/0.5059, allocations: 403.8 kB / 449.1 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2714/0.7774, allocations: 12.89 MB / 462 MB, free: 110.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001536/0.7776, allocations: 46.08 kB / 462 MB, free: 110.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005322/0.7781, allocations: 196 kB / 462.2 MB, free: 110.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004591/0.7827, allocations: 2.371 MB / 464.6 MB, free: 109.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02354/0.8063, allocations: 11.77 MB / 476.4 MB, free: 103.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06201/0.8683, allocations: 48.62 MB / 0.5127 GB, free: 54.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01743/0.8858, allocations: 5.587 MB / 0.5181 GB, free: 48.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004143/0.89, allocations: 3.498 MB / 0.5216 GB, free: 44.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006579/0.8907, allocations: 386.9 kB / 0.5219 GB, free: 44.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.8908, allocations: 55.81 kB / 0.522 GB, free: 44.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=221): time 6.061e-06/0.8908, allocations: 0 / 0.522 GB, free: 44.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=252): time 0.07603/0.9668, allocations: 27.98 MB / 0.5493 GB, free: 16.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.9669, allocations: 158.5 kB / 0.5495 GB, free: 16.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005475/0.9724, allocations: 4.607 MB / 0.554 GB, free: 11.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008243/0.9733, allocations: 61.7 kB / 0.554 GB, free: 11.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001845/0.9751, allocations: 3.581 MB / 0.5575 GB, free: 7.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001031/0.9762, allocations: 0.956 MB / 0.5584 GB, free: 6.812 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006866/0.9769, allocations: 0.5837 MB / 0.559 GB, free: 6.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.791e-05/0.977, allocations: 305.1 kB / 0.5593 GB, free: 5.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004361/0.9813, allocations: 3.465 MB / 0.5627 GB, free: 2.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007878/0.9892, allocations: 7.528 MB / 0.57 GB, free: 8.918 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01676/1.006, allocations: 11.84 MB / 0.5816 GB, free: 11.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001737/1.006, allocations: 44 kB / 0.5816 GB, free: 11.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02611/1.032, allocations: 11.91 MB / 0.5933 GB, free: 15.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002028/1.033, allocations: 64 kB / 0.5933 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002546/1.033, allocations: 144 kB / 0.5935 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003188/1.036, allocations: 1.129 MB / 0.5946 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007441/1.044, allocations: 1.809 MB / 0.5963 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/1.054, allocations: 6.022 MB / 0.6022 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007166/1.061, allocations: 427.5 kB / 0.6026 GB, free: 5.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001789/1.063, allocations: 463.8 kB / 0.6031 GB, free: 4.934 MB / 430.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 (875): * Single equations (assignments): 871 * 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.00722/1.07, allocations: 2.451 MB / 0.6055 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001977/1.072, allocations: 418.5 kB / 0.6059 GB, free: 2.055 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2475/1.32, allocations: 6.488 MB / 0.6122 GB, free: 142.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.429e-05/1.32, allocations: 27.48 kB / 0.6122 GB, free: 142.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.017e-05/1.32, allocations: 3.594 kB / 0.6122 GB, free: 142.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.6e-05/1.32, allocations: 18.72 kB / 0.6122 GB, free: 142.5 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02208/1.342, allocations: 13.63 MB / 0.6255 GB, free: 137.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-05/1.342, allocations: 7.969 kB / 0.6256 GB, free: 137.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003008/1.345, allocations: 0.5785 MB / 0.6261 GB, free: 137.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002421/1.348, allocations: 0.9462 MB / 0.627 GB, free: 137.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004828/1.348, allocations: 97.78 kB / 0.6271 GB, free: 137.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006354/1.354, allocations: 5.728 MB / 0.6327 GB, free: 134.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/1.354, allocations: 10.28 kB / 0.6327 GB, free: 134.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01376/1.368, allocations: 10.94 MB / 0.6434 GB, free: 124.9 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002477/1.371, allocations: 0.9411 MB / 0.6443 GB, free: 124.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009422/1.372, allocations: 44 kB / 0.6444 GB, free: 124.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00246/1.374, allocations: 172.3 kB / 0.6445 GB, free: 123.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005143/1.375, allocations: 197.6 kB / 0.6447 GB, free: 123.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002275/1.375, allocations: 109.5 kB / 0.6448 GB, free: 123.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004019/1.379, allocations: 2.899 MB / 0.6477 GB, free: 120.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.8e-07/1.379, allocations: 0 / 0.6477 GB, free: 120.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006388/1.385, allocations: 1.269 MB / 0.6489 GB, free: 119.5 MB / 430.1 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 () * Number of clocked 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 (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 Backend phase and start with SimCode phase: time 0.0006588/1.386, allocations: 183.9 kB / 0.6491 GB, free: 119.3 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0109/1.397, allocations: 8.145 MB / 0.657 GB, free: 111.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/1.397, allocations: 4 kB / 0.657 GB, free: 111.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003999/1.401, allocations: 3.174 MB / 0.6601 GB, free: 108.1 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006244/1.407, allocations: 494.7 kB / 0.6606 GB, free: 107.6 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02088/1.428, allocations: 15.15 MB / 0.6754 GB, free: 92.49 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003794/1.432, allocations: 3.799 MB / 0.6791 GB, free: 88.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005617/1.438, allocations: 2.4 MB / 0.6815 GB, free: 86.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001396/1.439, allocations: 431 kB / 0.6819 GB, free: 85.83 MB / 430.1 MB Notification: Performance of SimCode: time 1.323e-06/1.439, allocations: 0 / 0.6819 GB, free: 85.83 MB / 430.1 MB Notification: Performance of Templates: time 0.09434/1.533, allocations: 55.15 MB / 0.7357 GB, free: 30.68 MB / 430.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1)