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.001171/0.001171, allocations: 107.1 kB / 16.62 MB, free: 6.809 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.0009782/0.0009782, allocations: 189.9 kB / 17.55 MB, free: 5.953 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.434/1.434, allocations: 205.1 MB / 223.4 MB, free: 12.43 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.001153/0.001153, allocations: 51.91 kB / 279.5 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09894/0.1001, allocations: 46.62 MB / 326.1 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.2602/0.3603, allocations: 66.21 MB / 392.3 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03177/0.3921, allocations: 12.96 MB / 405.3 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01724/0.4094, allocations: 279.3 kB / 405.6 MB, free: 5.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007345/0.4169, allocations: 3.602 MB / 409.2 MB, free: 4.664 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006106/0.423, allocations: 1.957 MB / 411.1 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.4247, allocations: 0.6434 MB / 411.8 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005725/0.4304, allocations: 4.445 MB / 416.2 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005545/0.436, allocations: 5.111 MB / 421.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003335/0.4394, allocations: 1.941 MB / 423.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003888/0.4433, allocations: 2.856 MB / 426.1 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009256/0.4442, allocations: 432 kB / 426.6 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002358/0.4466, allocations: 1.164 MB / 427.7 MB, free: 9.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002057/0.4486, allocations: 2.357 MB / 430.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003109/0.4518, allocations: 2.783 MB / 432.9 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008574/0.4604, allocations: 8.374 MB / 441.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4604, allocations: 0 / 441.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4604, allocations: 0 / 441.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000231/0.4606, allocations: 0 / 441.2 MB, free: 11.89 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.02318/0.4838, allocations: 6.425 MB / 447.7 MB, free: 5.508 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/0.4839, allocations: 15.89 kB / 447.7 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007206/0.4911, allocations: 1.989 MB / 449.7 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005431/0.4966, allocations: 2.762 MB / 452.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000225/0.4968, allocations: 305.6 kB / 452.7 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009963/0.4978, allocations: 404.8 kB / 453.1 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02208/0.5199, allocations: 12.88 MB / 466 MB, free: 2.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001237/0.5201, allocations: 51.47 kB / 466 MB, free: 2.539 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005126/0.5206, allocations: 193.6 kB / 466.2 MB, free: 2.391 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004206/0.5248, allocations: 2.37 MB / 468.6 MB, free: 24 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02318/0.548, allocations: 11.73 MB / 480.3 MB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06756/0.6156, allocations: 48.64 MB / 0.5166 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01836/0.634, allocations: 5.56 MB / 0.522 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004467/0.6385, allocations: 3.477 MB / 0.5254 GB, free: 9.504 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007098/0.6393, allocations: 384.1 kB / 0.5258 GB, free: 9.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.462e-05/0.6393, allocations: 59.88 kB / 0.5258 GB, free: 9.023 MB / 446.1 MB Notification: Performance of pre-optimization done (n=221): time 4.919e-06/0.6393, allocations: 0 / 0.5258 GB, free: 9.023 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.2703/0.9097, allocations: 27.92 MB / 0.5531 GB, free: 159.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.9098, allocations: 156.9 kB / 0.5533 GB, free: 159.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006059/0.9158, allocations: 4.612 MB / 0.5578 GB, free: 157.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006968/0.9166, allocations: 61.48 kB / 0.5578 GB, free: 157.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001805/0.9184, allocations: 3.582 MB / 0.5613 GB, free: 155.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001176/0.9196, allocations: 0.9453 MB / 0.5622 GB, free: 154.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001919/0.9215, allocations: 1.504 MB / 0.5637 GB, free: 153.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.642e-05/0.9216, allocations: 306.7 kB / 0.564 GB, free: 153.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004099/0.9257, allocations: 3.456 MB / 0.5674 GB, free: 152.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005595/0.9313, allocations: 7.527 MB / 0.5747 GB, free: 143.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01058/0.9419, allocations: 11.81 MB / 0.5863 GB, free: 129.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001272/0.9421, allocations: 44 kB / 0.5863 GB, free: 129.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.01891/0.961, allocations: 11.9 MB / 0.5979 GB, free: 117.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.9611, allocations: 71.44 kB / 0.598 GB, free: 117.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001199/0.9613, allocations: 140 kB / 0.5981 GB, free: 117.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00242/0.9637, allocations: 1.13 MB / 0.5992 GB, free: 116.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006416/0.9701, allocations: 1.805 MB / 0.601 GB, free: 114.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006221/0.9764, allocations: 6.353 MB / 0.6072 GB, free: 107.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006484/0.9829, allocations: 427.4 kB / 0.6076 GB, free: 107.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001447/0.9843, allocations: 467.8 kB / 0.608 GB, free: 106.9 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.003994/0.9883, allocations: 2.447 MB / 0.6104 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/0.9895, allocations: 414.6 kB / 0.6108 GB, free: 104.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008745/0.9982, allocations: 6.478 MB / 0.6172 GB, free: 97.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.583e-05/0.9983, allocations: 28 kB / 0.6172 GB, free: 97.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.9983, allocations: 11.92 kB / 0.6172 GB, free: 97.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.492e-05/0.9983, allocations: 7.969 kB / 0.6172 GB, free: 97.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01788/1.016, allocations: 13.61 MB / 0.6305 GB, free: 83.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/1.016, allocations: 4 kB / 0.6305 GB, free: 83.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002746/1.019, allocations: 0.5772 MB / 0.6311 GB, free: 83.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002165/1.021, allocations: 0.9538 MB / 0.632 GB, free: 82.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002991/1.022, allocations: 95.77 kB / 0.6321 GB, free: 82.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006009/1.028, allocations: 6.062 MB / 0.638 GB, free: 76.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/1.028, allocations: 8 kB / 0.638 GB, free: 76.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01406/1.042, allocations: 10.91 MB / 0.6487 GB, free: 65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002281/1.044, allocations: 0.9367 MB / 0.6496 GB, free: 64.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009046/1.045, allocations: 43.75 kB / 0.6496 GB, free: 64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002529/1.047, allocations: 175.8 kB / 0.6498 GB, free: 63.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005367/1.048, allocations: 189.6 kB / 0.65 GB, free: 63.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002423/1.048, allocations: 115.9 kB / 0.6501 GB, free: 63.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003727/1.052, allocations: 2.891 MB / 0.6529 GB, free: 60.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.92e-07/1.052, allocations: 0 / 0.6529 GB, free: 60.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.007141/1.059, allocations: 1.272 MB / 0.6542 GB, free: 59.36 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.0006947/1.06, allocations: 187.8 kB / 0.6543 GB, free: 59.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01444/1.074, allocations: 10.64 MB / 0.6647 GB, free: 48.58 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/1.074, allocations: 0 / 0.6647 GB, free: 48.58 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003497/1.078, allocations: 3.165 MB / 0.6678 GB, free: 45.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00304/1.081, allocations: 0.5079 MB / 0.6683 GB, free: 44.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02033/1.101, allocations: 15.03 MB / 0.683 GB, free: 29.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004063/1.105, allocations: 3.799 MB / 0.6867 GB, free: 26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005392/1.111, allocations: 2.392 MB / 0.689 GB, free: 23.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001429/1.112, allocations: 439 kB / 0.6894 GB, free: 23.18 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/1.112, allocations: 3.938 kB / 0.6895 GB, free: 23.17 MB / 446.1 MB Notification: Performance of Templates: time 0.3079/1.42, allocations: 58.14 MB / 0.7462 GB, free: 124.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)