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.0009176/0.0009176, allocations: 90.11 kB / 16.65 MB, free: 6.535 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.001057/0.001058, allocations: 175.5 kB / 17.56 MB, free: 6.18 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.572/1.572, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004755/0.0004755, allocations: 12 kB / 280.7 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1145, allocations: 47.59 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.3112/0.4258, allocations: 64.58 MB / 392.9 MB, free: 8.816 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03642/0.4623, allocations: 12.99 MB / 405.9 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01708/0.4794, allocations: 282 kB / 406.2 MB, free: 6.273 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00277/0.4822, allocations: 0.5029 MB / 406.7 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008289/0.4905, allocations: 1.973 MB / 408.6 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002299/0.4928, allocations: 0.6366 MB / 409.3 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009347/0.5022, allocations: 6.499 MB / 415.8 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01255/0.5148, allocations: 6.555 MB / 422.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004215/0.5191, allocations: 1.363 MB / 423.7 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005117/0.5242, allocations: 2.339 MB / 426 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0014/0.5257, allocations: 176 kB / 426.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003895/0.5296, allocations: 0.9535 MB / 427.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003887/0.5335, allocations: 2.032 MB / 429.2 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006068/0.5396, allocations: 2.416 MB / 431.6 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.5499, allocations: 7.976 MB / 439.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.55, allocations: 0 / 439.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.55, allocations: 7.938 kB / 439.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002658/0.5503, allocations: 4 kB / 439.6 MB, free: 14.06 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.01941/0.5697, allocations: 5.286 MB / 444.9 MB, free: 8.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.5698, allocations: 8.031 kB / 444.9 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008186/0.578, allocations: 2.04 MB / 446.9 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006378/0.5844, allocations: 2.767 MB / 449.7 MB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003036/0.5847, allocations: 302.6 kB / 450 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001605/0.5863, allocations: 405.5 kB / 450.4 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02662/0.613, allocations: 12.9 MB / 463.3 MB, free: 5.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002448/0.6133, allocations: 51.53 kB / 463.3 MB, free: 5.699 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006449/0.6139, allocations: 184.7 kB / 463.5 MB, free: 5.559 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00508/0.619, allocations: 2.377 MB / 465.9 MB, free: 3.191 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02745/0.6465, allocations: 11.77 MB / 477.7 MB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07152/0.7181, allocations: 48.64 MB / 0.514 GB, free: 5.836 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01854/0.7367, allocations: 5.583 MB / 0.5194 GB, free: 100 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005346/0.742, allocations: 3.485 MB / 0.5228 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008103/0.7429, allocations: 378.9 kB / 0.5232 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.823e-05/0.743, allocations: 59.81 kB / 0.5232 GB, free: 12.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=221): time 4.799e-06/0.743, allocations: 0 / 0.5232 GB, free: 12.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.2909/1.034, allocations: 27.96 MB / 0.5505 GB, free: 159.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.278e-05/1.034, allocations: 157.4 kB / 0.5507 GB, free: 159.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007587/1.042, allocations: 4.61 MB / 0.5552 GB, free: 157.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001234/1.043, allocations: 62.59 kB / 0.5553 GB, free: 157.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003443/1.046, allocations: 3.587 MB / 0.5588 GB, free: 154.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001974/1.048, allocations: 0.9427 MB / 0.5597 GB, free: 153.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009147/1.049, allocations: 0.5912 MB / 0.5603 GB, free: 153.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.692e-05/1.049, allocations: 308.8 kB / 0.5606 GB, free: 153.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00569/1.055, allocations: 3.458 MB / 0.5639 GB, free: 152.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006353/1.061, allocations: 7.536 MB / 0.5713 GB, free: 145.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0118/1.073, allocations: 11.83 MB / 0.5828 GB, free: 132.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.511e-05/1.073, allocations: 40 kB / 0.5829 GB, free: 132.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.01835/1.092, allocations: 11.92 MB / 0.5945 GB, free: 120.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.56e-05/1.092, allocations: 69 kB / 0.5946 GB, free: 120.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000134/1.092, allocations: 140 kB / 0.5947 GB, free: 120.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002522/1.095, allocations: 1.133 MB / 0.5958 GB, free: 119.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006324/1.101, allocations: 1.801 MB / 0.5976 GB, free: 117.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006792/1.108, allocations: 6.018 MB / 0.6035 GB, free: 111.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007043/1.115, allocations: 428.6 kB / 0.6039 GB, free: 111 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0016/1.116, allocations: 467.8 kB / 0.6043 GB, free: 110.6 MB / 446.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.005751/1.122, allocations: 2.448 MB / 0.6067 GB, free: 108.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001172/1.123, allocations: 420.9 kB / 0.6071 GB, free: 107.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009725/1.133, allocations: 6.502 MB / 0.6135 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-05/1.133, allocations: 28.7 kB / 0.6135 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.687e-05/1.133, allocations: 4 kB / 0.6135 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.102e-05/1.133, allocations: 7.969 kB / 0.6135 GB, free: 101.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0222/1.155, allocations: 13.63 MB / 0.6268 GB, free: 87.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.934e-05/1.156, allocations: 8.062 kB / 0.6268 GB, free: 87.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003221/1.159, allocations: 0.5888 MB / 0.6274 GB, free: 86.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002515/1.161, allocations: 0.9411 MB / 0.6283 GB, free: 85.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000859/1.162, allocations: 87.89 kB / 0.6284 GB, free: 85.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00654/1.169, allocations: 5.735 MB / 0.634 GB, free: 79.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.169, allocations: 7.938 kB / 0.634 GB, free: 79.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0143/1.183, allocations: 10.95 MB / 0.6447 GB, free: 68.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00297/1.186, allocations: 0.9406 MB / 0.6456 GB, free: 67.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009889/1.187, allocations: 46.17 kB / 0.6456 GB, free: 67.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002543/1.19, allocations: 177 kB / 0.6458 GB, free: 67.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005815/1.19, allocations: 197.6 kB / 0.646 GB, free: 67.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000255/1.191, allocations: 111.9 kB / 0.6461 GB, free: 67.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004632/1.195, allocations: 2.895 MB / 0.6489 GB, free: 64.54 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.195, allocations: 1.219 kB / 0.6489 GB, free: 64.54 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007005/1.202, allocations: 1.261 MB / 0.6502 GB, free: 63.28 MB / 446.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.0007183/1.203, allocations: 195.2 kB / 0.6504 GB, free: 63.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01162/1.215, allocations: 8.132 MB / 0.6583 GB, free: 54.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/1.215, allocations: 0 / 0.6583 GB, free: 54.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003989/1.219, allocations: 3.182 MB / 0.6614 GB, free: 51.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006168/1.225, allocations: 497.6 kB / 0.6619 GB, free: 51.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0257/1.251, allocations: 15.17 MB / 0.6767 GB, free: 36.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00605/1.257, allocations: 3.793 MB / 0.6804 GB, free: 32.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006208/1.263, allocations: 2.4 MB / 0.6827 GB, free: 29.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001538/1.265, allocations: 439.1 kB / 0.6832 GB, free: 29.39 MB / 446.1 MB Notification: Performance of SimCode: time 2.235e-06/1.265, allocations: 0 / 0.6832 GB, free: 29.39 MB / 446.1 MB Notification: Performance of Templates: time 0.3094/1.574, allocations: 55.14 MB / 0.737 GB, free: 130.2 MB / 446.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)