Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.ActuatedDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001356, allocations: 97.92 kB / 16.3 MB, free: 5.57 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.001537/0.001537, allocations: 184.6 kB / 17.2 MB, free: 5.504 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.547/1.547, allocations: 205.4 MB / 223.3 MB, free: 13.18 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.0005378/0.0005381, allocations: 19.28 kB / 280.1 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1213, allocations: 47.58 MB / 327.7 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.04306/0.1644, allocations: 42.99 MB / 370.7 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2454/0.4098, allocations: 10.22 MB / 380.9 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01084/0.4207, allocations: 207.3 kB / 381.1 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008767/0.4295, allocations: 2.111 MB / 383.2 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0212/0.4508, allocations: 6.212 MB / 389.4 MB, free: 8.637 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003272/0.4541, allocations: 0.5059 MB / 389.9 MB, free: 8.633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004955/0.459, allocations: 2.123 MB / 392.1 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006027/0.4651, allocations: 4.298 MB / 396.4 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001789/0.4669, allocations: 0.9888 MB / 397.4 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001814/0.4687, allocations: 1.376 MB / 398.7 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004425/0.4692, allocations: 140.4 kB / 398.9 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.4707, allocations: 0.7556 MB / 399.6 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001146/0.4719, allocations: 1.553 MB / 401.2 MB, free: 6.254 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007232/0.4726, allocations: 0.8344 MB / 402 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004511/0.4771, allocations: 5.533 MB / 407.5 MB, free: 3.207 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4771, allocations: 0 / 407.5 MB, free: 3.207 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4771, allocations: 2.078 kB / 407.5 MB, free: 3.207 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001868/0.4773, allocations: 0 / 407.5 MB, free: 3.207 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01427/0.4916, allocations: 4.519 MB / 412.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.4917, allocations: 6.75 kB / 412.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008072/0.4998, allocations: 2.257 MB / 414.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007587/0.5074, allocations: 2.523 MB / 416.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002293/0.5076, allocations: 232.8 kB / 417.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001322/0.509, allocations: 319.9 kB / 417.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02142/0.5304, allocations: 10.76 MB / 428.1 MB, free: 5.977 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001952/0.5307, allocations: 40.81 kB / 428.2 MB, free: 5.957 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008851/0.5316, allocations: 154.4 kB / 428.3 MB, free: 5.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005266/0.5368, allocations: 1.985 MB / 430.3 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02959/0.5664, allocations: 9.612 MB / 439.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06442/0.6309, allocations: 39.97 MB / 479.9 MB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01326/0.6442, allocations: 3.87 MB / 483.8 MB, free: 4.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006314/0.6449, allocations: 361.5 kB / 484.1 MB, free: 3.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.937e-05/0.645, allocations: 45.91 kB / 484.2 MB, free: 3.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 4.618e-06/0.645, allocations: 4 kB / 484.2 MB, free: 3.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=154): time 0.04833/0.6933, allocations: 14.1 MB / 498.3 MB, free: 5.492 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.316e-05/0.6934, allocations: 147.7 kB / 498.4 MB, free: 5.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009107/0.7026, allocations: 4.272 MB / 0.4909 GB, free: 1.027 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003947/0.703, allocations: 45.7 kB / 0.491 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003076/0.7061, allocations: 3.171 MB / 0.4941 GB, free: 13.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001076/0.7072, allocations: 0.6152 MB / 0.4947 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006789/0.7079, allocations: 116 kB / 0.4948 GB, free: 13.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0006245/0.7085, allocations: 0.5656 MB / 0.4953 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003693/0.7122, allocations: 2.102 MB / 0.4974 GB, free: 10.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006389/0.7186, allocations: 5.912 MB / 0.5031 GB, free: 2.652 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005328/0.724, allocations: 3.447 MB / 0.5065 GB, free: 15.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001303/0.7241, allocations: 40 kB / 0.5065 GB, free: 15.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01655/0.7407, allocations: 8.533 MB / 0.5149 GB, free: 6.703 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000169/0.7409, allocations: 60 kB / 0.5149 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002202/0.7411, allocations: 136 kB / 0.5151 GB, free: 6.512 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002546/0.7437, allocations: 0.9298 MB / 0.516 GB, free: 5.582 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005005/0.7487, allocations: 1.396 MB / 0.5173 GB, free: 4.184 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006772/0.7555, allocations: 4.976 MB / 0.5222 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00536/0.7609, allocations: 335.6 kB / 0.5225 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001316/0.7623, allocations: 384 kB / 0.5229 GB, free: 14.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 620 * Number of states: 0 () * Number of discrete variables: 36 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (736): * Single equations (assignments): 732 * 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.005182/0.7675, allocations: 2.094 MB / 0.5249 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/0.7686, allocations: 347.5 kB / 0.5253 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007228/0.7758, allocations: 3.16 MB / 0.5283 GB, free: 8.746 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-05/0.7759, allocations: 16 kB / 0.5284 GB, free: 8.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/0.7759, allocations: 4 kB / 0.5284 GB, free: 8.727 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.552e-05/0.7759, allocations: 8.078 kB / 0.5284 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01943/0.7954, allocations: 7.84 MB / 0.536 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/0.7954, allocations: 4 kB / 0.536 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/0.7967, allocations: 263.7 kB / 0.5363 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2192/1.016, allocations: 0.7124 MB / 0.537 GB, free: 156.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004899/1.017, allocations: 38.69 kB / 0.537 GB, free: 156.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006507/1.023, allocations: 4.516 MB / 0.5414 GB, free: 155.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.023, allocations: 3.719 kB / 0.5414 GB, free: 155.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00936/1.032, allocations: 5.844 MB / 0.5471 GB, free: 153.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001972/1.034, allocations: 0.6381 MB / 0.5478 GB, free: 153.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004322/1.035, allocations: 28.02 kB / 0.5478 GB, free: 153.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/1.036, allocations: 87.72 kB / 0.5479 GB, free: 153.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003151/1.037, allocations: 100.3 kB / 0.548 GB, free: 153.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/1.037, allocations: 57.27 kB / 0.548 GB, free: 153.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004827/1.042, allocations: 2.693 MB / 0.5507 GB, free: 152.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.7e-07/1.042, allocations: 0 / 0.5507 GB, free: 152.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00533/1.047, allocations: 0.9793 MB / 0.5516 GB, free: 152.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (123): * Single equations (assignments): 119 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004719/1.047, allocations: 176 kB / 0.5518 GB, free: 152.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006992/1.054, allocations: 5.05 MB / 0.5567 GB, free: 150.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.054, allocations: 0 / 0.5567 GB, free: 150.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001807/1.056, allocations: 1.541 MB / 0.5582 GB, free: 149.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/1.058, allocations: 401.1 kB / 0.5586 GB, free: 149.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01571/1.074, allocations: 10.62 MB / 0.569 GB, free: 144.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00294/1.077, allocations: 3.332 MB / 0.5722 GB, free: 143.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.004441/1.082, allocations: 1.934 MB / 0.5741 GB, free: 142.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006992/1.082, allocations: 269 kB / 0.5744 GB, free: 142.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.002e-06/1.082, allocations: 0 / 0.5744 GB, free: 142.3 MB / 446.1 MB Notification: Performance of Templates: time 0.06092/1.143, allocations: 35.15 MB / 0.6087 GB, free: 107.3 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) Environment - environmentSimulation: