Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis") translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.8137/0.8137, allocations: 110.8 MB / 123.3 MB, free: 10.77 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001574/0.001574, allocations: 147.5 kB / 149.1 MB, free: 0.9844 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 3.68e-05/3.684e-05, allocations: 4 kB / 180.2 MB, free: 17.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05299/0.05304, allocations: 25.18 MB / 205.4 MB, free: 8.41 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2003/0.2534, allocations: 46.59 MB / 252 MB, free: 20.07 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002262/0.2537, allocations: 74.19 kB / 252.1 MB, free: 20.07 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1077/0.3614, allocations: 48.2 MB / 300.3 MB, free: 6.055 MB / 202.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3615, allocations: 4 kB / 300.3 MB, free: 6.051 MB / 202.7 MB Notification: Performance of Transformations before backend: time 7.544e-05/0.3615, allocations: 28 kB / 300.3 MB, free: 6.023 MB / 202.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 375 * Number of variables: 375 Notification: Performance of Generate backend data structure: time 0.003364/0.3649, allocations: 1.5 MB / 301.8 MB, free: 4.566 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.365, allocations: 12.03 kB / 301.8 MB, free: 4.555 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003546/0.3653, allocations: 181.7 kB / 302 MB, free: 4.379 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.3666, allocations: 0.7714 MB / 302.8 MB, free: 3.801 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003165/0.3669, allocations: 248.2 kB / 303 MB, free: 3.594 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002511/0.3672, allocations: 154.6 kB / 303.2 MB, free: 3.484 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003078/0.3703, allocations: 1.579 MB / 304.7 MB, free: 1.875 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.224e-05/0.3704, allocations: 19.88 kB / 304.8 MB, free: 1.855 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.3705, allocations: 60 kB / 304.8 MB, free: 1.797 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.072e-05/0.3706, allocations: 36 kB / 304.9 MB, free: 1.762 MB / 202.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002804/0.3734, allocations: 1.476 MB / 306.3 MB, free: 288 kB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01028/0.3837, allocations: 6.1 MB / 312.4 MB, free: 9.949 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.3855, allocations: 0.9163 MB / 313.3 MB, free: 9.012 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000768/0.3862, allocations: 0.4922 MB / 313.8 MB, free: 8.516 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001872/0.3864, allocations: 89.89 kB / 313.9 MB, free: 8.406 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/0.3875, allocations: 0.6298 MB / 314.6 MB, free: 7.734 MB / 218.7 MB Notification: Performance of pre-optimization done (n=89): time 3.417e-06/0.3875, allocations: 0 / 314.6 MB, free: 7.734 MB / 218.7 MB Notification: Performance of matching and sorting (n=98): time 0.00605/0.3936, allocations: 3.194 MB / 317.7 MB, free: 4.441 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/0.3938, allocations: 295.5 kB / 318 MB, free: 4.086 MB / 218.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.3948, allocations: 0.6913 MB / 318.7 MB, free: 3.387 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 9.706e-05/0.3949, allocations: 57.69 kB / 318.8 MB, free: 3.324 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005862/0.3955, allocations: 0.6464 MB / 319.4 MB, free: 2.668 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002775/0.3958, allocations: 331.3 kB / 319.8 MB, free: 2.34 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-05/0.3959, allocations: 28 kB / 319.8 MB, free: 2.312 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.3961, allocations: 402.7 kB / 320.2 MB, free: 1.91 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000892/0.397, allocations: 0.4947 MB / 320.7 MB, free: 1.418 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.3981, allocations: 0.7957 MB / 321.5 MB, free: 0.5039 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008441/0.3989, allocations: 0.5085 MB / 322 MB, free: 15.99 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.399, allocations: 0 / 322 MB, free: 15.99 MB / 234.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.002571/0.4015, allocations: 1.432 MB / 323.4 MB, free: 14.55 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.4016, allocations: 8.688 kB / 323.4 MB, free: 14.54 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.4016, allocations: 8 kB / 323.4 MB, free: 14.53 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004781/0.4021, allocations: 186.4 kB / 323.6 MB, free: 14.34 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.4034, allocations: 327.5 kB / 323.9 MB, free: 14.02 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004282/0.4077, allocations: 4.451 MB / 328.4 MB, free: 9.168 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/0.4094, allocations: 191.9 kB / 328.6 MB, free: 8.98 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/0.4096, allocations: 52.06 kB / 328.6 MB, free: 8.93 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 (axis.gear.bearingFriction.free,$whenCondition1,$PRE.axis.gear.bearingFriction.startForward,axis.gear.bearingFriction.startForward,$PRE.axis.gear.bearingFriction.startBackward,axis.gear.bearingFriction.startBackward,axis.gear.bearingFriction.locked,$PRE.axis.gear.bearingFriction.mode,axis.gear.bearingFriction.mode,pathPlanning.path.motion_ref,pathPlanning.path.noWphase,pathPlanning.pathToAxis1.moving[1],pathPlanning.terminateSimulation.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003392/0.4099, allocations: 191 kB / 328.8 MB, free: 8.734 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.4101, allocations: 90.88 kB / 328.9 MB, free: 8.645 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002437/0.4126, allocations: 1.156 MB / 330 MB, free: 7.469 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/0.4126, allocations: 8 kB / 330 MB, free: 7.461 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.4126, allocations: 8 kB / 330.1 MB, free: 7.453 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/0.4127, allocations: 7.969 kB / 330.1 MB, free: 7.445 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007102/0.4198, allocations: 3.36 MB / 333.4 MB, free: 3.973 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/0.4198, allocations: 4 kB / 333.4 MB, free: 3.969 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/0.421, allocations: 244.2 kB / 333.7 MB, free: 3.73 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000862/0.4219, allocations: 469.4 kB / 334.1 MB, free: 3.266 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/0.4221, allocations: 28 kB / 334.2 MB, free: 3.238 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/0.4242, allocations: 2.161 MB / 336.3 MB, free: 0.918 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.936e-06/0.4243, allocations: 7.938 kB / 336.3 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1483/0.5725, allocations: 2.061 MB / 338.4 MB, free: 60.71 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006146/0.5732, allocations: 310.1 kB / 338.7 MB, free: 60.62 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.5734, allocations: 35.31 kB / 338.7 MB, free: 60.62 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009412/0.5743, allocations: 150 kB / 338.9 MB, free: 60.62 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003158/0.5746, allocations: 152.5 kB / 339 MB, free: 60.62 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.221e-05/0.5747, allocations: 39.94 kB / 339.1 MB, free: 60.62 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0007504/0.5755, allocations: 0.5167 MB / 339.6 MB, free: 60.51 MB / 234.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5755, allocations: 0 / 339.6 MB, free: 60.51 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001388/0.5769, allocations: 315.3 kB / 339.9 MB, free: 60.51 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 7 (axis.gear.gear.phi_a,axis.gear.spring.phi_rel,axis.gear.spring.w_rel,axis.motor.La.i,axis.motor.C.v,axis.controller.PI.x,load.w) * Number of discrete variables: 9 (pathPlanning.terminateSimulation.condition,$whenCondition1,axis.gear.bearingFriction.startForward,axis.gear.bearingFriction.startBackward,axis.gear.bearingFriction.locked,axis.gear.bearingFriction.mode,pathPlanning.path.motion_ref,pathPlanning.pathToAxis1.moving[1],pathPlanning.path.noWphase) * Number of discrete states: 3 (axis.gear.bearingFriction.mode,axis.gear.bearingFriction.startForward,axis.gear.bearingFriction.startBackward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003357/0.5773, allocations: 186.1 kB / 340.1 MB, free: 60.43 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.002233/0.5795, allocations: 1.466 MB / 341.5 MB, free: 60.1 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.5795, allocations: 1.312 kB / 341.5 MB, free: 60.1 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.5806, allocations: 0.7099 MB / 342.2 MB, free: 59.99 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.5818, allocations: 196.8 kB / 342.4 MB, free: 59.99 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003959/0.5857, allocations: 2.141 MB / 344.6 MB, free: 59.35 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/0.5864, allocations: 1.159 MB / 345.7 MB, free: 58.64 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.000844/0.5872, allocations: 148.3 kB / 345.9 MB, free: 58.6 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000306/0.5875, allocations: 65.75 kB / 345.9 MB, free: 58.59 MB / 234.7 MB Notification: Performance of SimCode: time 2.384e-06/0.5875, allocations: 5.438 kB / 345.9 MB, free: 58.59 MB / 234.7 MB Notification: Performance of Templates: time 0.02454/0.6121, allocations: 15.32 MB / 361.3 MB, free: 57.79 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.pipe 2>&1)