Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.2.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.2.1_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001492/0.001493, allocations: 165.2 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.413/1.413, allocations: 170.6 MB / 178.7 MB, free: 15.65 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001688/0.001688, allocations: 115.5 kB / 218 MB, free: 8.41 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.243e-05/1.247e-05, allocations: 0 / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07742/0.07745, allocations: 38.78 MB / 301 MB, free: 3.621 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3113/0.3888, allocations: 83 MB / 384 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/0.3891, allocations: 83.14 kB / 384.1 MB, free: 1.566 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09094/0.48, allocations: 37.76 MB / 421.8 MB, free: 1.809 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.4801, allocations: 0 / 421.8 MB, free: 1.809 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001003/0.4802, allocations: 28 kB / 421.9 MB, free: 1.781 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 387 * Number of variables: 387 Notification: Performance of Generate backend data structure: time 0.003429/0.4837, allocations: 1.519 MB / 423.4 MB, free: 216 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.4837, allocations: 8.031 kB / 423.4 MB, free: 208 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004855/0.4842, allocations: 181.9 kB / 423.6 MB, free: 24 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.4856, allocations: 0.7945 MB / 424.4 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002694/0.4859, allocations: 192.1 kB / 424.6 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001939/0.4861, allocations: 92 kB / 424.6 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002557/0.4886, allocations: 1.349 MB / 426 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002521/0.4912, allocations: 1.368 MB / 427.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.622e-05/0.4912, allocations: 3.906 kB / 427.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.4913, allocations: 8 kB / 427.4 MB, free: 12.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/0.4914, allocations: 36 kB / 427.4 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009769/0.5012, allocations: 5.841 MB / 433.3 MB, free: 6.035 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.5027, allocations: 0.8484 MB / 434.1 MB, free: 5.164 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006846/0.5034, allocations: 468.6 kB / 434.6 MB, free: 4.703 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.615e-05/0.5035, allocations: 8.781 kB / 434.6 MB, free: 4.695 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009365/0.5045, allocations: 0.5736 MB / 435.1 MB, free: 4.078 MB / 314.7 MB Notification: Performance of pre-optimization done (n=90): time 3.667e-06/0.5045, allocations: 0 / 435.1 MB, free: 4.078 MB / 314.7 MB Notification: Performance of matching and sorting (n=121): time 0.01231/0.5168, allocations: 5.381 MB / 440.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/0.517, allocations: 308.1 kB / 440.8 MB, free: 14.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009819/0.518, allocations: 0.6245 MB / 441.4 MB, free: 13.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000139/0.5181, allocations: 33.7 kB / 441.5 MB, free: 13.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006714/0.5188, allocations: 0.6545 MB / 442.1 MB, free: 12.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003694/0.5192, allocations: 394.1 kB / 442.5 MB, free: 12.49 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.578e-05/0.5193, allocations: 4 kB / 442.5 MB, free: 12.49 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.5195, allocations: 406.7 kB / 442.9 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.5205, allocations: 0.6406 MB / 443.6 MB, free: 11.44 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.5218, allocations: 0.9432 MB / 444.5 MB, free: 10.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.5228, allocations: 0.6467 MB / 445.2 MB, free: 9.746 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.5228, allocations: 0 / 445.2 MB, free: 9.746 MB / 330.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002827/0.5257, allocations: 1.662 MB / 446.8 MB, free: 8.066 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.5257, allocations: 11.94 kB / 446.8 MB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.5257, allocations: 8.594 kB / 446.8 MB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004059/0.5262, allocations: 182.4 kB / 447 MB, free: 7.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/0.5279, allocations: 371.5 kB / 447.4 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004002/0.5319, allocations: 4.308 MB / 451.7 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/0.5337, allocations: 175.8 kB / 451.9 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/0.5339, allocations: 59.98 kB / 451.9 MB, free: 2.613 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: axis.gear.bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real 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 (169): * Single equations (assignments): 166 * 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.0004617/0.5344, allocations: 144.4 kB / 452.1 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.5346, allocations: 98.83 kB / 452.2 MB, free: 2.371 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003587/0.535, allocations: 117.6 kB / 452.3 MB, free: 2.246 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.535, allocations: 12 kB / 452.3 MB, free: 2.234 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.535, allocations: 8 kB / 452.3 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.535, allocations: 7.984 kB / 452.3 MB, free: 2.219 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006903/0.5419, allocations: 3.971 MB / 456.3 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/0.542, allocations: 8 kB / 456.3 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.5432, allocations: 284.3 kB / 456.5 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007259/0.5439, allocations: 481.4 kB / 457 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.709e-05/0.544, allocations: 20 kB / 457 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/0.5458, allocations: 2.14 MB / 459.2 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.209e-05/0.5458, allocations: 15.98 kB / 459.2 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003418/0.5493, allocations: 2.526 MB / 461.7 MB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005678/0.5498, allocations: 323.8 kB / 462 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/0.55, allocations: 24 kB / 462.1 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.5511, allocations: 140 kB / 462.2 MB, free: 7.605 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003469/0.5515, allocations: 180.3 kB / 462.4 MB, free: 7.426 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.123e-05/0.5516, allocations: 51.98 kB / 462.4 MB, free: 7.375 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007237/0.5523, allocations: 467.2 kB / 462.9 MB, free: 6.926 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5523, allocations: 7.938 kB / 462.9 MB, free: 6.918 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001405/0.5537, allocations: 300 kB / 463.2 MB, free: 6.625 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * 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 (113): * Single equations (assignments): 111 * 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.0003444/0.5541, allocations: 159.5 kB / 463.3 MB, free: 6.461 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002718/0.5568, allocations: 1.665 MB / 465 MB, free: 4.766 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.5568, allocations: 0 / 465 MB, free: 4.766 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001456/0.5583, allocations: 0.8844 MB / 465.9 MB, free: 3.875 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009975/0.5593, allocations: 132.2 kB / 466 MB, free: 3.742 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004909/0.5642, allocations: 2.379 MB / 468.4 MB, free: 1.211 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.178/0.7423, allocations: 1.21 MB / 469.6 MB, free: 95.46 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001864/0.7442, allocations: 152.3 kB / 469.8 MB, free: 95.45 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005396/0.7447, allocations: 73.8 kB / 469.8 MB, free: 95.45 MB / 346.7 MB Notification: Performance of SimCode: time 1.633e-06/0.7448, allocations: 0 / 469.8 MB, free: 95.45 MB / 346.7 MB Notification: Performance of Templates: time 0.04235/0.7871, allocations: 15.51 MB / 485.3 MB, free: 94.93 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.pipe 2>&1)