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.001254/0.001254, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001665/0.001665, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0004159/0.0004159, allocations: 16 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2172, allocations: 47.58 MB / 326.5 MB, free: 1.613 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.05542/0.2727, allocations: 60.05 MB / 386.5 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03363/0.3064, allocations: 12.43 MB / 399 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01102/0.3174, allocations: 283.3 kB / 399.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009211/0.3267, allocations: 3.122 MB / 402.4 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02492/0.3516, allocations: 9.109 MB / 411.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004834/0.3565, allocations: 0.6163 MB / 412.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007718/0.3642, allocations: 5.196 MB / 417.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009598/0.3738, allocations: 5.819 MB / 423.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003657/0.3775, allocations: 1.475 MB / 424.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004541/0.3821, allocations: 2.305 MB / 426.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001085/0.3832, allocations: 176 kB / 427.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/0.3856, allocations: 0.8074 MB / 427.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002553/0.3881, allocations: 1.987 MB / 429.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001645/0.3898, allocations: 1.002 MB / 430.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006884/0.3967, allocations: 6.628 MB / 437.5 MB, free: 4.273 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3967, allocations: 4 kB / 437.5 MB, free: 4.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3967, allocations: 0 / 437.5 MB, free: 4.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000317/0.3971, allocations: 4 kB / 437.5 MB, free: 4.266 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.01595/0.413, allocations: 5.348 MB / 442.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.4131, allocations: 8.031 kB / 442.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007172/0.4203, allocations: 2.048 MB / 444.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006219/0.4265, allocations: 2.71 MB / 447.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002716/0.4268, allocations: 303.8 kB / 447.9 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001532/0.4284, allocations: 407.6 kB / 448.3 MB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.212/0.6404, allocations: 12.85 MB / 461.1 MB, free: 110.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001782/0.6406, allocations: 50.41 kB / 461.2 MB, free: 110.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005544/0.6412, allocations: 192.3 kB / 461.4 MB, free: 110.6 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004037/0.6452, allocations: 2.368 MB / 463.8 MB, free: 110.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02044/0.6657, allocations: 11.72 MB / 475.5 MB, free: 104.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05037/0.7161, allocations: 48.6 MB / 0.5118 GB, free: 54.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01495/0.7311, allocations: 5.574 MB / 0.5172 GB, free: 49.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003871/0.735, allocations: 3.478 MB / 0.5206 GB, free: 45.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006266/0.7356, allocations: 383.1 kB / 0.521 GB, free: 45.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.7357, allocations: 63.81 kB / 0.5211 GB, free: 45.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=221): time 5.621e-06/0.7357, allocations: 0 / 0.5211 GB, free: 45.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=252): time 0.06332/0.799, allocations: 27.95 MB / 0.5483 GB, free: 17.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.7991, allocations: 150.5 kB / 0.5485 GB, free: 17.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005122/0.8043, allocations: 4.591 MB / 0.553 GB, free: 12.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000638/0.8049, allocations: 61.7 kB / 0.553 GB, free: 12.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001587/0.8065, allocations: 3.573 MB / 0.5565 GB, free: 8.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009011/0.8074, allocations: 0.9509 MB / 0.5575 GB, free: 7.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003303/0.8078, allocations: 140 kB / 0.5576 GB, free: 7.715 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002513/0.808, allocations: 0.6112 MB / 0.5582 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004068/0.8121, allocations: 3.43 MB / 0.5615 GB, free: 3.664 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007198/0.8193, allocations: 7.501 MB / 0.5689 GB, free: 10.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008369/0.8277, allocations: 4.957 MB / 0.5737 GB, free: 5.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-05/0.8279, allocations: 40 kB / 0.5737 GB, free: 5.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02221/0.8501, allocations: 11.84 MB / 0.5853 GB, free: 9.301 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.645e-05/0.8502, allocations: 64.22 kB / 0.5854 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002143/0.8504, allocations: 151.9 kB / 0.5855 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00272/0.8532, allocations: 1.144 MB / 0.5866 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006691/0.8599, allocations: 1.805 MB / 0.5884 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008402/0.8683, allocations: 6.015 MB / 0.5943 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005478/0.8738, allocations: 431.4 kB / 0.5947 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001372/0.8752, allocations: 463.8 kB / 0.5951 GB, free: 15.11 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 (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.004481/0.8797, allocations: 2.451 MB / 0.5975 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008496/0.8806, allocations: 414.6 kB / 0.5979 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01143/0.892, allocations: 6.486 MB / 0.6042 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.475e-05/0.8921, allocations: 28 kB / 0.6043 GB, free: 5.707 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-05/0.8921, allocations: 7.953 kB / 0.6043 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-05/0.8922, allocations: 15.95 kB / 0.6043 GB, free: 5.684 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2167/1.109, allocations: 13.61 MB / 0.6176 GB, free: 140.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/1.109, allocations: 3.906 kB / 0.6176 GB, free: 140.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002579/1.112, allocations: 0.5897 MB / 0.6182 GB, free: 140.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002056/1.114, allocations: 0.9396 MB / 0.6191 GB, free: 140.1 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003249/1.114, allocations: 92.38 kB / 0.6192 GB, free: 140.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006042/1.12, allocations: 5.716 MB / 0.6248 GB, free: 137.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/1.12, allocations: 11.66 kB / 0.6248 GB, free: 137.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/1.134, allocations: 10.92 MB / 0.6354 GB, free: 133.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002613/1.137, allocations: 0.9359 MB / 0.6363 GB, free: 133.1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009047/1.137, allocations: 54.45 kB / 0.6364 GB, free: 133 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/1.14, allocations: 168.8 kB / 0.6366 GB, free: 133 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004406/1.14, allocations: 194.9 kB / 0.6367 GB, free: 133 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002469/1.14, allocations: 112.7 kB / 0.6368 GB, free: 133 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004587/1.145, allocations: 2.87 MB / 0.6397 GB, free: 130.5 MB / 430.1 MB Notification: Performance of sort global known variables: time 6.52e-07/1.145, allocations: 0 / 0.6397 GB, free: 130.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006979/1.152, allocations: 1.269 MB / 0.6409 GB, free: 129.2 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 (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 Backend phase and start with SimCode phase: time 0.0007954/1.153, allocations: 187.3 kB / 0.6411 GB, free: 129.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01174/1.165, allocations: 8.107 MB / 0.649 GB, free: 121 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.165, allocations: 4 kB / 0.649 GB, free: 121 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003951/1.169, allocations: 3.172 MB / 0.6521 GB, free: 117.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003368/1.172, allocations: 491.5 kB / 0.6526 GB, free: 117.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01961/1.192, allocations: 14.6 MB / 0.6668 GB, free: 102.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003681/1.195, allocations: 3.802 MB / 0.6705 GB, free: 99.08 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005704/1.201, allocations: 2.398 MB / 0.6729 GB, free: 96.68 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001658/1.203, allocations: 435 kB / 0.6733 GB, free: 96.25 MB / 430.1 MB Notification: Performance of SimCode: time 8.41e-07/1.203, allocations: 0 / 0.6733 GB, free: 96.25 MB / 430.1 MB Notification: Performance of Templates: time 0.08853/1.291, allocations: 54.03 MB / 0.7261 GB, free: 42.21 MB / 430.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)