Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001201/0.001201, allocations: 113.9 kB / 17.06 MB, free: 5.977 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.001371/0.001371, allocations: 198.9 kB / 18.01 MB, free: 5.059 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.483/1.483, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001325/0.001325, allocations: 47.94 kB / 327.9 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09028/0.09161, allocations: 46.61 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.2213/0.3129, allocations: 13.76 MB / 388.2 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01039/0.3234, allocations: 4.374 MB / 392.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003755/0.3272, allocations: 80.47 kB / 392.7 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007594/0.3348, allocations: 3.74 MB / 396.4 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00821/0.3431, allocations: 2.11 MB / 398.5 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002818/0.3459, allocations: 0.6885 MB / 399.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009674/0.3556, allocations: 4.417 MB / 403.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007763/0.3634, allocations: 4.836 MB / 408.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006805/0.3703, allocations: 1.921 MB / 410.4 MB, free: 9.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006437/0.3768, allocations: 2.591 MB / 413 MB, free: 8.188 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001902/0.3787, allocations: 437.5 kB / 413.4 MB, free: 8.184 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003664/0.3824, allocations: 1.155 MB / 414.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003278/0.3857, allocations: 2.342 MB / 416.9 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004094/0.3898, allocations: 2.746 MB / 419.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01271/0.4025, allocations: 8.603 MB / 428.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4026, allocations: 3.938 kB / 428.3 MB, free: 9.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4026, allocations: 0 / 428.3 MB, free: 9.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003511/0.403, allocations: 4 kB / 428.3 MB, free: 9.578 MB / 350.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.02176/0.4247, allocations: 6.42 MB / 434.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.4248, allocations: 11.89 kB / 434.7 MB, free: 3.074 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007082/0.4319, allocations: 1.99 MB / 436.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007366/0.4393, allocations: 2.815 MB / 439.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002275/0.4395, allocations: 303.7 kB / 439.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001288/0.4408, allocations: 407.7 kB / 440.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02363/0.4645, allocations: 12.88 MB / 453.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001551/0.4646, allocations: 43.59 kB / 453.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000608/0.4653, allocations: 187.8 kB / 453.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004256/0.4695, allocations: 2.374 MB / 455.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02404/0.4936, allocations: 11.73 MB / 467.4 MB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06867/0.5623, allocations: 48.41 MB / 0.5037 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01864/0.581, allocations: 5.571 MB / 0.5092 GB, free: 10.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004996/0.5861, allocations: 3.48 MB / 0.5126 GB, free: 6.699 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008016/0.5869, allocations: 380.4 kB / 0.5129 GB, free: 6.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.744e-05/0.587, allocations: 59.81 kB / 0.513 GB, free: 6.203 MB / 446.1 MB Notification: Performance of pre-optimization done (n=221): time 8.385e-06/0.587, allocations: 7.922 kB / 0.513 GB, free: 6.195 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.08298/0.67, allocations: 27.94 MB / 0.5403 GB, free: 10.12 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001704/0.6702, allocations: 162.4 kB / 0.5404 GB, free: 9.926 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009387/0.6796, allocations: 4.607 MB / 0.5449 GB, free: 5.305 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007281/0.6804, allocations: 61.7 kB / 0.545 GB, free: 5.238 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002783/0.6832, allocations: 3.59 MB / 0.5485 GB, free: 1.598 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00139/0.6846, allocations: 0.9446 MB / 0.5494 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2212/0.9057, allocations: 1.499 MB / 0.5509 GB, free: 148 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.734e-05/0.9058, allocations: 301.6 kB / 0.5512 GB, free: 147.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005738/0.9116, allocations: 3.453 MB / 0.5546 GB, free: 147.5 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007635/0.9192, allocations: 7.52 MB / 0.5619 GB, free: 141 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01368/0.9329, allocations: 11.83 MB / 0.5735 GB, free: 132.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002076/0.9332, allocations: 41.28 kB / 0.5735 GB, free: 132.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.0225/0.9557, allocations: 11.89 MB / 0.5851 GB, free: 128.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000121/0.9559, allocations: 73.97 kB / 0.5852 GB, free: 128.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001707/0.956, allocations: 149.4 kB / 0.5853 GB, free: 128.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002634/0.9587, allocations: 1.125 MB / 0.5864 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006551/0.9653, allocations: 1.802 MB / 0.5882 GB, free: 128 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006916/0.9722, allocations: 6.347 MB / 0.5944 GB, free: 124.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006437/0.9787, allocations: 423.4 kB / 0.5948 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001473/0.9802, allocations: 476.1 kB / 0.5952 GB, free: 123.5 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.004479/0.9847, allocations: 2.436 MB / 0.5976 GB, free: 121.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009027/0.9856, allocations: 418 kB / 0.598 GB, free: 121.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009568/0.9952, allocations: 6.481 MB / 0.6043 GB, free: 115.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.274e-05/0.9953, allocations: 28 kB / 0.6044 GB, free: 115.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.9953, allocations: 4 kB / 0.6044 GB, free: 115.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-05/0.9953, allocations: 11.95 kB / 0.6044 GB, free: 115.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02335/1.019, allocations: 13.48 MB / 0.6175 GB, free: 102.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.257e-05/1.019, allocations: 4 kB / 0.6175 GB, free: 102.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003057/1.022, allocations: 0.5775 MB / 0.6181 GB, free: 101.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002379/1.024, allocations: 0.9489 MB / 0.619 GB, free: 100.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005384/1.025, allocations: 97 kB / 0.6191 GB, free: 100.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006288/1.031, allocations: 6.081 MB / 0.6251 GB, free: 94.38 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.031, allocations: 11.88 kB / 0.6251 GB, free: 94.36 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01317/1.044, allocations: 10.93 MB / 0.6358 GB, free: 83.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002521/1.047, allocations: 0.9328 MB / 0.6367 GB, free: 82.55 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009463/1.048, allocations: 48 kB / 0.6367 GB, free: 82.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002482/1.05, allocations: 171.4 kB / 0.6369 GB, free: 82.34 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004882/1.051, allocations: 197.6 kB / 0.6371 GB, free: 82.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002441/1.051, allocations: 111.9 kB / 0.6372 GB, free: 82.04 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003827/1.055, allocations: 2.892 MB / 0.64 GB, free: 79.14 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.3e-07/1.055, allocations: 0 / 0.64 GB, free: 79.14 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006648/1.062, allocations: 1.272 MB / 0.6412 GB, free: 77.88 MB / 478.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.0005429/1.062, allocations: 204.2 kB / 0.6414 GB, free: 77.68 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01075/1.073, allocations: 8.151 MB / 0.6494 GB, free: 69.55 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/1.073, allocations: 0 / 0.6494 GB, free: 69.55 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003826/1.077, allocations: 3.165 MB / 0.6525 GB, free: 66.38 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002996/1.08, allocations: 0.5108 MB / 0.653 GB, free: 65.89 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/1.097, allocations: 12.46 MB / 0.6652 GB, free: 53.39 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003357/1.101, allocations: 3.81 MB / 0.6689 GB, free: 49.54 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004749/1.105, allocations: 2.385 MB / 0.6712 GB, free: 47.15 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001499/1.107, allocations: 431 kB / 0.6716 GB, free: 46.73 MB / 478.1 MB Notification: Performance of SimCode: time 1.062e-06/1.107, allocations: 0 / 0.6716 GB, free: 46.73 MB / 478.1 MB Notification: Performance of Templates: time 0.0939/1.201, allocations: 54.59 MB / 0.7249 GB, free: 8.227 MB / 494.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1)