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.0009618/0.0009616, allocations: 84.17 kB / 16.31 MB, free: 6.453 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.001421/0.001421, allocations: 176.3 kB / 17.21 MB, free: 6.328 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.765/1.765, allocations: 205.4 MB / 223.4 MB, free: 5.547 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.0004887/0.0004888, allocations: 15.98 kB / 280.1 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2586, allocations: 47.59 MB / 327.7 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.05805/0.3167, allocations: 60.06 MB / 387.8 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.033/0.3498, allocations: 12.42 MB / 400.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01658/0.3664, allocations: 283.3 kB / 400.5 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01165/0.3781, allocations: 3.126 MB / 403.6 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02803/0.4061, allocations: 9.101 MB / 412.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004748/0.4109, allocations: 0.6124 MB / 413.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008252/0.4192, allocations: 5.208 MB / 418.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01071/0.4299, allocations: 5.815 MB / 424.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003929/0.4339, allocations: 1.475 MB / 425.8 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004422/0.4384, allocations: 2.305 MB / 428.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001462/0.4398, allocations: 172 kB / 428.3 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003094/0.443, allocations: 0.8114 MB / 429.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003562/0.4465, allocations: 1.979 MB / 431.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002419/0.449, allocations: 1.01 MB / 432.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00954/0.4585, allocations: 6.636 MB / 438.7 MB, free: 4.117 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.4586, allocations: 0 / 438.7 MB, free: 4.117 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.117e-06/0.4586, allocations: 0 / 438.7 MB, free: 4.117 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002983/0.4589, allocations: 0 / 438.7 MB, free: 4.117 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.0176/0.4765, allocations: 5.344 MB / 444.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.4766, allocations: 12.03 kB / 444.1 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007493/0.4841, allocations: 2.036 MB / 446.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006135/0.4903, allocations: 2.714 MB / 448.8 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002525/0.4905, allocations: 303.8 kB / 449.1 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001442/0.492, allocations: 403.7 kB / 449.5 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2673/0.7593, allocations: 12.87 MB / 462.4 MB, free: 110.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002135/0.7595, allocations: 50.41 kB / 462.4 MB, free: 110.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007147/0.7603, allocations: 187.4 kB / 462.6 MB, free: 110.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0048/0.7651, allocations: 2.37 MB / 465 MB, free: 109.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02304/0.7881, allocations: 11.72 MB / 476.7 MB, free: 103.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05193/0.8401, allocations: 48.6 MB / 0.513 GB, free: 54.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01486/0.855, allocations: 5.579 MB / 0.5185 GB, free: 48.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003957/0.859, allocations: 3.47 MB / 0.5218 GB, free: 45.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006166/0.8596, allocations: 388.1 kB / 0.5222 GB, free: 45.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/0.8597, allocations: 63.8 kB / 0.5223 GB, free: 44.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=221): time 5e-06/0.8597, allocations: 0 / 0.5223 GB, free: 44.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=252): time 0.06306/0.9228, allocations: 27.94 MB / 0.5496 GB, free: 16.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.9229, allocations: 154.5 kB / 0.5497 GB, free: 16.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004847/0.9277, allocations: 4.587 MB / 0.5542 GB, free: 12.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004989/0.9283, allocations: 61.7 kB / 0.5543 GB, free: 12.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001649/0.9299, allocations: 3.583 MB / 0.5578 GB, free: 8.469 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001075/0.931, allocations: 0.947 MB / 0.5587 GB, free: 7.531 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003535/0.9314, allocations: 140 kB / 0.5588 GB, free: 7.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002953/0.9317, allocations: 0.6035 MB / 0.5594 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004198/0.9359, allocations: 3.434 MB / 0.5628 GB, free: 3.348 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007108/0.943, allocations: 7.501 MB / 0.5701 GB, free: 9.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007543/0.9506, allocations: 4.959 MB / 0.5749 GB, free: 4.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.23e-05/0.9507, allocations: 40.75 kB / 0.575 GB, free: 4.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02258/0.9733, allocations: 11.85 MB / 0.5865 GB, free: 8.977 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.441e-05/0.9734, allocations: 68 kB / 0.5866 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001898/0.9736, allocations: 144 kB / 0.5867 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002917/0.9765, allocations: 1.144 MB / 0.5878 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007163/0.9837, allocations: 1.805 MB / 0.5896 GB, free: 5.812 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007943/0.9917, allocations: 6.029 MB / 0.5955 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005654/0.9974, allocations: 431.5 kB / 0.5959 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001177/0.9986, allocations: 467.8 kB / 0.5964 GB, free: 14.78 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.00473/1.003, allocations: 2.436 MB / 0.5987 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009138/1.004, allocations: 414.7 kB / 0.5991 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/1.015, allocations: 6.497 MB / 0.6055 GB, free: 5.402 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.988e-05/1.015, allocations: 27.83 kB / 0.6055 GB, free: 5.379 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/1.015, allocations: 7.953 kB / 0.6055 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.212e-05/1.015, allocations: 15.95 kB / 0.6055 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2411/1.256, allocations: 13.6 MB / 0.6188 GB, free: 140.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.075e-05/1.256, allocations: 3.969 kB / 0.6188 GB, free: 140.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002777/1.259, allocations: 0.5899 MB / 0.6194 GB, free: 140.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002185/1.261, allocations: 0.9455 MB / 0.6203 GB, free: 139.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005032/1.262, allocations: 90.75 kB / 0.6204 GB, free: 139.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006297/1.268, allocations: 5.72 MB / 0.626 GB, free: 137 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/1.268, allocations: 7.859 kB / 0.626 GB, free: 137 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/1.283, allocations: 10.92 MB / 0.6367 GB, free: 133.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002626/1.285, allocations: 0.9379 MB / 0.6376 GB, free: 132.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009239/1.286, allocations: 50.14 kB / 0.6376 GB, free: 132.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002467/1.289, allocations: 178.5 kB / 0.6378 GB, free: 132.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007287/1.289, allocations: 194.1 kB / 0.638 GB, free: 132.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004329/1.29, allocations: 106.8 kB / 0.6381 GB, free: 132.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.007588/1.298, allocations: 2.872 MB / 0.6409 GB, free: 130.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.62e-07/1.298, allocations: 0 / 0.6409 GB, free: 130.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.01316/1.311, allocations: 1.268 MB / 0.6421 GB, free: 128.9 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.001328/1.312, allocations: 182.6 kB / 0.6423 GB, free: 128.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01883/1.331, allocations: 8.111 MB / 0.6502 GB, free: 120.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/1.331, allocations: 0 / 0.6502 GB, free: 120.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006464/1.338, allocations: 3.177 MB / 0.6533 GB, free: 117.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006612/1.344, allocations: 493 kB / 0.6538 GB, free: 117 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0311/1.375, allocations: 14.6 MB / 0.668 GB, free: 102.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005819/1.381, allocations: 3.799 MB / 0.6718 GB, free: 98.71 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.009335/1.391, allocations: 2.388 MB / 0.6741 GB, free: 96.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002689/1.393, allocations: 439.1 kB / 0.6745 GB, free: 95.89 MB / 430.1 MB Notification: Performance of SimCode: time 1.503e-06/1.393, allocations: 0 / 0.6745 GB, free: 95.89 MB / 430.1 MB Notification: Performance of Templates: time 0.1173/1.511, allocations: 54.04 MB / 0.7273 GB, free: 41.84 MB / 430.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)