Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.006863/0.006862, allocations: 103.9 kB / 15.73 MB, free: 6.445 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.001146/0.001146, allocations: 191.2 kB / 16.67 MB, free: 6.355 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.549/1.549, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.001161/0.001161, allocations: 53.86 kB / 326.5 MB, free: 14.57 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1127, allocations: 46.63 MB / 373.2 MB, free: 1.445 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01443/0.1272, allocations: 13.76 MB / 386.9 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01024/0.1374, allocations: 4.365 MB / 391.3 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002879/0.1404, allocations: 79.81 kB / 391.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006707/0.1471, allocations: 3.746 MB / 395.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00659/0.1538, allocations: 2.108 MB / 397.2 MB, free: 9.285 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002035/0.1558, allocations: 0.6902 MB / 397.9 MB, free: 8.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00691/0.1627, allocations: 4.412 MB / 402.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005853/0.1686, allocations: 4.832 MB / 407.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003341/0.172, allocations: 1.916 MB / 409.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003839/0.1758, allocations: 2.601 MB / 411.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000879/0.1767, allocations: 432 kB / 412.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002455/0.1792, allocations: 1.155 MB / 413.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002263/0.1815, allocations: 2.342 MB / 415.6 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003495/0.185, allocations: 2.754 MB / 418.4 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01171/0.1967, allocations: 8.592 MB / 426.9 MB, free: 11.42 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.1968, allocations: 4 kB / 426.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1968, allocations: 0 / 426.9 MB, free: 11.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003352/0.1971, allocations: 0 / 426.9 MB, free: 11.41 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.02449/0.2216, allocations: 6.427 MB / 433.4 MB, free: 4.914 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.2217, allocations: 15.89 kB / 433.4 MB, free: 4.898 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007607/0.2293, allocations: 1.986 MB / 435.4 MB, free: 2.902 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007455/0.2368, allocations: 2.815 MB / 438.2 MB, free: 28 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002711/0.2371, allocations: 303.8 kB / 438.5 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001742/0.2388, allocations: 411.7 kB / 438.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02679/0.2656, allocations: 12.87 MB / 451.8 MB, free: 1.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001601/0.2658, allocations: 47.53 kB / 451.8 MB, free: 1.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006245/0.2665, allocations: 191.8 kB / 452 MB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3105/0.5769, allocations: 2.367 MB / 454.4 MB, free: 64.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03049/0.6075, allocations: 11.74 MB / 466.1 MB, free: 61.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05775/0.6653, allocations: 48.43 MB / 0.5025 GB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01652/0.6819, allocations: 5.559 MB / 0.5079 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003514/0.6854, allocations: 3.49 MB / 0.5113 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005613/0.686, allocations: 374.2 kB / 0.5117 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.686, allocations: 55.81 kB / 0.5117 GB, free: 7.809 MB / 382.1 MB Notification: Performance of pre-optimization done (n=221): time 5.069e-06/0.686, allocations: 4 kB / 0.5117 GB, free: 7.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=252): time 0.07446/0.7605, allocations: 27.94 MB / 0.539 GB, free: 11.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.881e-05/0.7606, allocations: 150.5 kB / 0.5391 GB, free: 11.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006212/0.7668, allocations: 4.615 MB / 0.5437 GB, free: 6.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006819/0.7676, allocations: 61.7 kB / 0.5437 GB, free: 6.863 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002432/0.77, allocations: 3.574 MB / 0.5472 GB, free: 3.289 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001309/0.7713, allocations: 0.9522 MB / 0.5481 GB, free: 2.344 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002295/0.7736, allocations: 1.512 MB / 0.5496 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.7738, allocations: 305.1 kB / 0.5499 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005583/0.7794, allocations: 3.455 MB / 0.5533 GB, free: 13.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009138/0.7885, allocations: 7.524 MB / 0.5606 GB, free: 3.535 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01622/0.8048, allocations: 11.81 MB / 0.5722 GB, free: 5.719 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001404/0.805, allocations: 43.94 kB / 0.5722 GB, free: 5.676 MB / 446.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.0255/0.8305, allocations: 11.88 MB / 0.5838 GB, free: 9.777 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.8307, allocations: 67.91 kB / 0.5839 GB, free: 9.711 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001796/0.8308, allocations: 148 kB / 0.584 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002935/0.8338, allocations: 1.137 MB / 0.5851 GB, free: 8.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007269/0.8411, allocations: 1.809 MB / 0.5869 GB, free: 6.617 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008427/0.8495, allocations: 6.345 MB / 0.5931 GB, free: 140 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007279/0.8568, allocations: 419.7 kB / 0.5935 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001653/0.8585, allocations: 473.9 kB / 0.5939 GB, free: 15.27 MB / 478.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.005338/0.8639, allocations: 2.444 MB / 0.5963 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001373/0.8653, allocations: 418.6 kB / 0.5967 GB, free: 12.39 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01106/0.8763, allocations: 6.477 MB / 0.603 GB, free: 5.895 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-05/0.8764, allocations: 32 kB / 0.6031 GB, free: 5.863 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.71e-05/0.8764, allocations: 4 kB / 0.6031 GB, free: 5.859 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.425e-05/0.8765, allocations: 11.95 kB / 0.6031 GB, free: 5.848 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02801/0.9045, allocations: 13.5 MB / 0.6163 GB, free: 8.266 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.278e-05/0.9046, allocations: 4 kB / 0.6163 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003389/0.908, allocations: 0.5733 MB / 0.6168 GB, free: 7.688 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00267/0.9107, allocations: 0.9461 MB / 0.6178 GB, free: 6.738 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006127/0.9113, allocations: 95.83 kB / 0.6179 GB, free: 6.645 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007909/0.9192, allocations: 6.09 MB / 0.6238 GB, free: 432 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.9192, allocations: 4 kB / 0.6238 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3389/1.258, allocations: 10.93 MB / 0.6345 GB, free: 156.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003074/1.261, allocations: 0.9351 MB / 0.6354 GB, free: 156.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007836/1.262, allocations: 45.75 kB / 0.6354 GB, free: 156.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002334/1.264, allocations: 171.5 kB / 0.6356 GB, free: 156.2 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005678/1.265, allocations: 194.3 kB / 0.6358 GB, free: 156.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003003/1.265, allocations: 109.5 kB / 0.6359 GB, free: 156.2 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004649/1.27, allocations: 2.897 MB / 0.6387 GB, free: 155.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.5e-07/1.27, allocations: 0 / 0.6387 GB, free: 155.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006379/1.276, allocations: 1.276 MB / 0.64 GB, free: 155 MB / 494.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.0005311/1.277, allocations: 183.8 kB / 0.6401 GB, free: 154.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0111/1.288, allocations: 8.151 MB / 0.6481 GB, free: 152.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/1.288, allocations: 0 / 0.6481 GB, free: 152.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004174/1.292, allocations: 3.167 MB / 0.6512 GB, free: 151.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003289/1.295, allocations: 0.5128 MB / 0.6517 GB, free: 151 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01968/1.315, allocations: 12.46 MB / 0.6639 GB, free: 141.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003465/1.319, allocations: 3.793 MB / 0.6676 GB, free: 138.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00525/1.324, allocations: 2.387 MB / 0.6699 GB, free: 136.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001464/1.325, allocations: 439 kB / 0.6703 GB, free: 136.3 MB / 494.1 MB Notification: Performance of SimCode: time 1.382e-06/1.325, allocations: 0 / 0.6703 GB, free: 136.3 MB / 494.1 MB Notification: Performance of Templates: time 0.1098/1.435, allocations: 54.6 MB / 0.7236 GB, free: 81.8 MB / 494.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1)