Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.007843/0.007843, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001596/0.001596, allocations: 194 kB / 16.67 MB, free: 5.93 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.5 MB, free: 4.52 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.001435/0.001436, allocations: 49.58 kB / 326.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09969/0.1011, allocations: 46.64 MB / 373.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01413/0.1153, allocations: 13.75 MB / 386.9 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01114/0.1265, allocations: 4.365 MB / 391.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003227/0.1298, allocations: 79.81 kB / 391.4 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007458/0.1373, allocations: 3.746 MB / 395.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006314/0.1437, allocations: 2.159 MB / 397.3 MB, free: 9.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002015/0.1457, allocations: 0.6941 MB / 398 MB, free: 8.406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006413/0.1521, allocations: 4.408 MB / 402.4 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005549/0.1577, allocations: 4.839 MB / 407.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003272/0.161, allocations: 1.92 MB / 409.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003082/0.1641, allocations: 2.601 MB / 411.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009491/0.1651, allocations: 432 kB / 412.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002243/0.1673, allocations: 1.151 MB / 413.3 MB, free: 8.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002056/0.1694, allocations: 2.35 MB / 415.7 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002639/0.1721, allocations: 2.742 MB / 418.4 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008668/0.1807, allocations: 8.603 MB / 427 MB, free: 11.22 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.1808, allocations: 0 / 427 MB, free: 11.22 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1808, allocations: 4 kB / 427 MB, free: 11.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003008/0.1811, allocations: 0 / 427 MB, free: 11.21 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.02075/0.2019, allocations: 6.427 MB / 433.4 MB, free: 4.715 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.2019, allocations: 15.89 kB / 433.5 MB, free: 4.699 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006348/0.2083, allocations: 1.99 MB / 435.4 MB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004915/0.2132, allocations: 2.811 MB / 438.3 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/0.2134, allocations: 299.7 kB / 438.6 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007258/0.2142, allocations: 407.7 kB / 439 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02144/0.2356, allocations: 12.87 MB / 451.8 MB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001199/0.2358, allocations: 51.58 kB / 451.9 MB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004876/0.2363, allocations: 191.8 kB / 452.1 MB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2208/0.4571, allocations: 2.365 MB / 454.4 MB, free: 65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0306/0.4877, allocations: 11.73 MB / 466.2 MB, free: 62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05819/0.546, allocations: 48.43 MB / 0.5025 GB, free: 17.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01604/0.5621, allocations: 5.571 MB / 0.508 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00403/0.5662, allocations: 3.483 MB / 0.5114 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006446/0.5668, allocations: 375.5 kB / 0.5117 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.5669, allocations: 59.81 kB / 0.5118 GB, free: 7.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=221): time 6.042e-06/0.5669, allocations: 4 kB / 0.5118 GB, free: 7.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=252): time 0.08504/0.6519, allocations: 27.94 MB / 0.5391 GB, free: 11.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001409/0.6521, allocations: 154.5 kB / 0.5392 GB, free: 11.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008857/0.661, allocations: 4.611 MB / 0.5437 GB, free: 6.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009909/0.6621, allocations: 65.69 kB / 0.5438 GB, free: 6.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003073/0.6651, allocations: 3.578 MB / 0.5473 GB, free: 3.262 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001744/0.6669, allocations: 0.9506 MB / 0.5482 GB, free: 2.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002599/0.6695, allocations: 1.506 MB / 0.5497 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.6697, allocations: 305.1 kB / 0.55 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005939/0.6756, allocations: 3.457 MB / 0.5533 GB, free: 13.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009894/0.6855, allocations: 7.528 MB / 0.5607 GB, free: 3.508 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0159/0.7015, allocations: 11.82 MB / 0.5722 GB, free: 5.684 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001419/0.7017, allocations: 44 kB / 0.5723 GB, free: 5.641 MB / 446.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02736/0.7291, allocations: 11.88 MB / 0.5839 GB, free: 9.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001994/0.7293, allocations: 71.89 kB / 0.5839 GB, free: 9.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002899/0.7296, allocations: 144 kB / 0.5841 GB, free: 9.539 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003101/0.7327, allocations: 1.13 MB / 0.5852 GB, free: 8.406 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007133/0.7399, allocations: 1.801 MB / 0.5869 GB, free: 6.602 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008493/0.7484, allocations: 6.35 MB / 0.5931 GB, free: 120 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006895/0.7553, allocations: 423.5 kB / 0.5935 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001774/0.7571, allocations: 467.8 kB / 0.594 GB, free: 15.25 MB / 478.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.006275/0.7634, allocations: 2.44 MB / 0.5964 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001618/0.7651, allocations: 418.6 kB / 0.5968 GB, free: 12.38 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01373/0.7788, allocations: 6.485 MB / 0.6031 GB, free: 5.871 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.211e-05/0.779, allocations: 24 kB / 0.6031 GB, free: 5.848 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.924e-05/0.779, allocations: 4 kB / 0.6031 GB, free: 5.844 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.665e-05/0.7791, allocations: 15.95 kB / 0.6032 GB, free: 5.828 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0327/0.8118, allocations: 13.49 MB / 0.6163 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.59e-05/0.8119, allocations: 9.875 kB / 0.6163 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003197/0.8151, allocations: 0.5772 MB / 0.6169 GB, free: 7.676 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002581/0.8177, allocations: 0.9492 MB / 0.6178 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005669/0.8183, allocations: 87.89 kB / 0.6179 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007847/0.8261, allocations: 6.089 MB / 0.6239 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.229e-05/0.8262, allocations: 11.98 kB / 0.6239 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.304/1.13, allocations: 10.92 MB / 0.6345 GB, free: 156.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002735/1.133, allocations: 0.9357 MB / 0.6354 GB, free: 156.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001525/1.134, allocations: 45.06 kB / 0.6355 GB, free: 156.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003232/1.138, allocations: 176.4 kB / 0.6357 GB, free: 156.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007843/1.139, allocations: 190.7 kB / 0.6358 GB, free: 156.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004925/1.139, allocations: 111.2 kB / 0.6359 GB, free: 156.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006684/1.146, allocations: 2.896 MB / 0.6388 GB, free: 155.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.41e-07/1.146, allocations: 3.938 kB / 0.6388 GB, free: 155.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008213/1.154, allocations: 1.27 MB / 0.64 GB, free: 155.2 MB / 494.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.0009833/1.155, allocations: 183.5 kB / 0.6402 GB, free: 155.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01412/1.169, allocations: 8.156 MB / 0.6482 GB, free: 152.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/1.169, allocations: 3.906 kB / 0.6482 GB, free: 152.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00553/1.175, allocations: 3.165 MB / 0.6513 GB, free: 151.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008242/1.183, allocations: 0.5071 MB / 0.6517 GB, free: 151.1 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0228/1.206, allocations: 12.45 MB / 0.6639 GB, free: 141.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003632/1.21, allocations: 3.803 MB / 0.6676 GB, free: 138.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005127/1.215, allocations: 2.388 MB / 0.67 GB, free: 136.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/1.216, allocations: 439.1 kB / 0.6704 GB, free: 136.4 MB / 494.1 MB Notification: Performance of SimCode: time 6.71e-07/1.216, allocations: 0 / 0.6704 GB, free: 136.4 MB / 494.1 MB Notification: Performance of Templates: time 0.08889/1.305, allocations: 54.54 MB / 0.7236 GB, free: 81.92 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1)