Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001177/0.001178, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001461/0.001461, allocations: 195.1 kB / 16.25 MB, free: 6.621 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.481/1.481, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.00156/0.00156, allocations: 47.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2961, allocations: 46.63 MB / 324.8 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.04587/0.342, allocations: 50.21 MB / 375.1 MB, free: 1.723 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02649/0.3686, allocations: 10.24 MB / 385.3 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01277/0.3815, allocations: 215.5 kB / 385.5 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006004/0.3875, allocations: 2.598 MB / 388.1 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006059/0.3936, allocations: 1.771 MB / 389.9 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.3956, allocations: 0.5344 MB / 390.4 MB, free: 2.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006344/0.4019, allocations: 3.785 MB / 394.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006514/0.4085, allocations: 3.905 MB / 398.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003398/0.4119, allocations: 1.55 MB / 399.6 MB, free: 9.004 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004004/0.4159, allocations: 2.36 MB / 402 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001444/0.4174, allocations: 340 kB / 402.3 MB, free: 6.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003096/0.4205, allocations: 1.073 MB / 403.4 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002923/0.4235, allocations: 1.94 MB / 405.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004392/0.4279, allocations: 2.272 MB / 407.6 MB, free: 1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01031/0.4382, allocations: 6.99 MB / 414.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.4383, allocations: 0 / 414.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4383, allocations: 0 / 414.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003062/0.4386, allocations: 0 / 414.6 MB, free: 9.988 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.02305/0.4617, allocations: 5.314 MB / 419.9 MB, free: 4.605 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.698e-05/0.4618, allocations: 12.03 kB / 419.9 MB, free: 4.594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008365/0.4702, allocations: 1.871 MB / 421.8 MB, free: 2.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005974/0.4762, allocations: 2.354 MB / 424.2 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002599/0.4765, allocations: 242 kB / 424.4 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001754/0.4783, allocations: 307.8 kB / 424.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02359/0.5019, allocations: 10.72 MB / 435.4 MB, free: 4.348 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001974/0.5021, allocations: 35.69 kB / 435.5 MB, free: 4.312 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001308/0.5034, allocations: 159.8 kB / 435.6 MB, free: 4.156 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003642/0.5071, allocations: 1.982 MB / 437.6 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02022/0.5273, allocations: 9.566 MB / 447.2 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2726/0.7999, allocations: 39.93 MB / 487.1 MB, free: 84.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01302/0.813, allocations: 3.837 MB / 490.9 MB, free: 82.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002332/0.8154, allocations: 1.85 MB / 492.8 MB, free: 81.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005755/0.816, allocations: 355.9 kB / 493.1 MB, free: 80.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.816, allocations: 54.41 kB / 493.2 MB, free: 80.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 6.422e-06/0.816, allocations: 0 / 493.2 MB, free: 80.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=154): time 0.04451/0.8606, allocations: 13.76 MB / 0.4951 GB, free: 69.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.8607, allocations: 149.5 kB / 0.4952 GB, free: 68.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006225/0.8669, allocations: 4.163 MB / 0.4993 GB, free: 64.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004465/0.8674, allocations: 45.7 kB / 0.4993 GB, free: 64.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001493/0.8689, allocations: 3.168 MB / 0.5024 GB, free: 61.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006905/0.8696, allocations: 0.6191 MB / 0.503 GB, free: 60.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001271/0.8709, allocations: 1.221 MB / 0.5042 GB, free: 59.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.848e-05/0.8709, allocations: 305.1 kB / 0.5045 GB, free: 59.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002386/0.8733, allocations: 2.135 MB / 0.5066 GB, free: 57.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003567/0.8769, allocations: 5.957 MB / 0.5124 GB, free: 49.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007127/0.884, allocations: 8.77 MB / 0.521 GB, free: 38.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-05/0.8842, allocations: 44 kB / 0.521 GB, free: 38.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01412/0.8983, allocations: 8.58 MB / 0.5294 GB, free: 29.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001368/0.8985, allocations: 64 kB / 0.5294 GB, free: 29.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000225/0.8987, allocations: 137.2 kB / 0.5296 GB, free: 29.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002312/0.901, allocations: 0.9228 MB / 0.5305 GB, free: 28.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004327/0.9054, allocations: 1.392 MB / 0.5318 GB, free: 27.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005456/0.9109, allocations: 5.214 MB / 0.5369 GB, free: 22.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004716/0.9156, allocations: 323.7 kB / 0.5372 GB, free: 21.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/0.9166, allocations: 384 kB / 0.5376 GB, free: 21.43 MB / 382.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 (740): * Single equations (assignments): 736 * 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.004158/0.9208, allocations: 2.099 MB / 0.5396 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009111/0.9217, allocations: 351.9 kB / 0.54 GB, free: 18.97 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005826/0.9276, allocations: 3.136 MB / 0.543 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.782e-05/0.9276, allocations: 20 kB / 0.5431 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/0.9277, allocations: 4 kB / 0.5431 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.949e-05/0.9277, allocations: 11.91 kB / 0.5431 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01658/0.9443, allocations: 7.851 MB / 0.5507 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.052e-05/0.9444, allocations: 0 / 0.5507 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/0.9459, allocations: 259.6 kB / 0.551 GB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002168/0.9481, allocations: 0.7148 MB / 0.5517 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003031/0.9484, allocations: 43.88 kB / 0.5517 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005388/0.9538, allocations: 4.747 MB / 0.5564 GB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.9538, allocations: 3.938 kB / 0.5564 GB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008804/0.9627, allocations: 5.677 MB / 0.5619 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002021/0.9647, allocations: 0.6252 MB / 0.5625 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009867/0.9657, allocations: 24 kB / 0.5626 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/0.9678, allocations: 87.89 kB / 0.5626 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003853/0.9682, allocations: 104.7 kB / 0.5627 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/0.9683, allocations: 53.92 kB / 0.5628 GB, free: 11.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.006001/0.9743, allocations: 2.607 MB / 0.5653 GB, free: 8.742 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.9744, allocations: 0 / 0.5653 GB, free: 8.742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00679/0.9812, allocations: 0.9597 MB / 0.5663 GB, free: 7.785 MB / 398.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 (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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007626/0.9819, allocations: 159.6 kB / 0.5664 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01074/0.9927, allocations: 5.724 MB / 0.572 GB, free: 1.934 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/0.9927, allocations: 0 / 0.572 GB, free: 1.934 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002665/0.9954, allocations: 1.543 MB / 0.5735 GB, free: 388 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004315/0.9998, allocations: 444.6 kB / 0.5739 GB, free: 15.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02296/1.023, allocations: 11.02 MB / 0.5847 GB, free: 4.875 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006609/1.029, allocations: 3.247 MB / 0.5879 GB, free: 1.594 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.006309/1.036, allocations: 1.933 MB / 0.5898 GB, free: 15.65 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001269/1.037, allocations: 275.3 kB / 0.59 GB, free: 15.38 MB / 430.1 MB Notification: Performance of SimCode: time 1.102e-06/1.037, allocations: 0 / 0.59 GB, free: 15.38 MB / 430.1 MB Notification: Performance of Templates: time 0.2888/1.326, allocations: 37.02 MB / 0.6262 GB, free: 137 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1)