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.0009291/0.0009336, allocations: 98.27 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.007875/0.007875, allocations: 170.6 kB / 16.27 MB, free: 6.66 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.691/1.691, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.0004559/0.0004563, allocations: 8 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2644, allocations: 47.59 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.05708/0.3215, allocations: 64.59 MB / 391.6 MB, free: 2.543 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0361/0.3576, allocations: 12.99 MB / 404.6 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01593/0.3736, allocations: 283.3 kB / 404.9 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002433/0.3761, allocations: 0.4896 MB / 405.4 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008665/0.3847, allocations: 1.993 MB / 407.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002334/0.3871, allocations: 0.6203 MB / 408 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009371/0.3965, allocations: 6.503 MB / 414.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009124/0.4057, allocations: 6.545 MB / 421 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003174/0.4089, allocations: 1.369 MB / 422.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004055/0.413, allocations: 2.335 MB / 424.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008647/0.4139, allocations: 176 kB / 424.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00221/0.4161, allocations: 0.9594 MB / 425.9 MB, free: 112 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001946/0.418, allocations: 2.037 MB / 427.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003929/0.422, allocations: 2.42 MB / 430.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009458/0.4315, allocations: 7.976 MB / 438.3 MB, free: 3.621 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4315, allocations: 0 / 438.3 MB, free: 3.621 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.4315, allocations: 0 / 438.3 MB, free: 3.621 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003211/0.4318, allocations: 0 / 438.3 MB, free: 3.621 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.01903/0.4509, allocations: 5.285 MB / 443.6 MB, free: 14.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.003e-05/0.451, allocations: 8.031 kB / 443.6 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008023/0.459, allocations: 2.045 MB / 445.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00639/0.4654, allocations: 2.765 MB / 448.4 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000281/0.4658, allocations: 303.8 kB / 448.7 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001654/0.4674, allocations: 403.8 kB / 449.1 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2957/0.7632, allocations: 12.89 MB / 462 MB, free: 32.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002344/0.7635, allocations: 51.77 kB / 462 MB, free: 32.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006953/0.7642, allocations: 191.7 kB / 462.2 MB, free: 32.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004606/0.7688, allocations: 2.369 MB / 464.6 MB, free: 32.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02534/0.7941, allocations: 11.77 MB / 476.4 MB, free: 32.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06334/0.8575, allocations: 48.63 MB / 0.5127 GB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01955/0.8772, allocations: 5.583 MB / 0.5181 GB, free: 6.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004942/0.8821, allocations: 3.484 MB / 0.5215 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007983/0.883, allocations: 379.4 kB / 0.5219 GB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.872e-05/0.883, allocations: 63.94 kB / 0.522 GB, free: 2.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=221): time 5.971e-06/0.8831, allocations: 4 kB / 0.522 GB, free: 2.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=252): time 0.08097/0.964, allocations: 27.97 MB / 0.5493 GB, free: 6.012 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.369e-05/0.9642, allocations: 154.5 kB / 0.5494 GB, free: 5.828 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006943/0.9711, allocations: 4.609 MB / 0.5539 GB, free: 1.211 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008826/0.972, allocations: 61.7 kB / 0.554 GB, free: 1.145 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002912/0.9749, allocations: 3.587 MB / 0.5575 GB, free: 13.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002428/0.9774, allocations: 0.9504 MB / 0.5584 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001356/0.9788, allocations: 0.5837 MB / 0.559 GB, free: 12.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.9789, allocations: 309 kB / 0.5593 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006377/0.9853, allocations: 3.463 MB / 0.5627 GB, free: 8.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009286/0.9946, allocations: 7.525 MB / 0.57 GB, free: 14.81 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01594/1.011, allocations: 11.84 MB / 0.5816 GB, free: 1.562 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001824/1.011, allocations: 48 kB / 0.5816 GB, free: 1.516 MB / 462.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.03139/1.042, allocations: 11.91 MB / 0.5933 GB, free: 6.453 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002536/1.043, allocations: 64 kB / 0.5933 GB, free: 6.391 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003287/1.043, allocations: 144 kB / 0.5935 GB, free: 6.25 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003251/1.046, allocations: 1.133 MB / 0.5946 GB, free: 5.113 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007354/1.054, allocations: 1.8 MB / 0.5963 GB, free: 3.453 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008603/1.062, allocations: 6.023 MB / 0.6022 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006699/1.069, allocations: 423.6 kB / 0.6026 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001669/1.071, allocations: 472.5 kB / 0.6031 GB, free: 12.49 MB / 494.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.006764/1.077, allocations: 2.443 MB / 0.6054 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001686/1.079, allocations: 418.6 kB / 0.6058 GB, free: 9.762 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01347/1.093, allocations: 6.502 MB / 0.6122 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.06e-05/1.093, allocations: 28 kB / 0.6122 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.921e-05/1.093, allocations: 10.94 kB / 0.6122 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.876e-05/1.093, allocations: 11.95 kB / 0.6122 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02954/1.122, allocations: 13.63 MB / 0.6255 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-05/1.122, allocations: 3.984 kB / 0.6256 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003114/1.125, allocations: 0.5787 MB / 0.6261 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002575/1.128, allocations: 0.9531 MB / 0.627 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004732/1.129, allocations: 91.83 kB / 0.6271 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2525/1.381, allocations: 5.717 MB / 0.6327 GB, free: 219.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/1.381, allocations: 10.14 kB / 0.6327 GB, free: 219.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01667/1.398, allocations: 10.94 MB / 0.6434 GB, free: 216.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002413/1.4, allocations: 0.9332 MB / 0.6443 GB, free: 215.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006696/1.401, allocations: 53.78 kB / 0.6444 GB, free: 215.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002244/1.403, allocations: 178.4 kB / 0.6445 GB, free: 215.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005468/1.404, allocations: 192.5 kB / 0.6447 GB, free: 215.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002418/1.404, allocations: 108 kB / 0.6448 GB, free: 215.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004427/1.408, allocations: 2.899 MB / 0.6477 GB, free: 214.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/1.408, allocations: 0.7812 kB / 0.6477 GB, free: 214.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006203/1.415, allocations: 1.269 MB / 0.6489 GB, free: 214.7 MB / 0.4981 GB 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.0006311/1.415, allocations: 188.7 kB / 0.6491 GB, free: 214.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01116/1.427, allocations: 8.148 MB / 0.657 GB, free: 211.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/1.427, allocations: 0 / 0.657 GB, free: 211.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00402/1.431, allocations: 3.175 MB / 0.6601 GB, free: 209 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006634/1.437, allocations: 499.1 kB / 0.6606 GB, free: 208.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02458/1.462, allocations: 15.16 MB / 0.6754 GB, free: 194.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006315/1.468, allocations: 3.802 MB / 0.6791 GB, free: 190.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007291/1.476, allocations: 2.396 MB / 0.6815 GB, free: 188.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002266/1.478, allocations: 439 kB / 0.6819 GB, free: 188 MB / 0.4981 GB Notification: Performance of SimCode: time 1.813e-06/1.478, allocations: 0 / 0.6819 GB, free: 188 MB / 0.4981 GB Notification: Performance of Templates: time 0.1022/1.58, allocations: 55.15 MB / 0.7358 GB, free: 132.9 MB / 0.4981 GB 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)