Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001689/0.001695, 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.001921/0.001921, allocations: 193.6 kB / 16.25 MB, free: 6.617 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.421/1.421, allocations: 205.1 MB / 222.1 MB, free: 4.691 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.001714/0.001714, allocations: 47.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2973, allocations: 46.62 MB / 324.9 MB, free: 1.914 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.06131/0.3586, allocations: 66.21 MB / 391.1 MB, free: 1.645 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03766/0.3963, allocations: 12.95 MB / 404 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01803/0.4144, allocations: 279.4 kB / 404.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007507/0.422, allocations: 3.604 MB / 407.9 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006748/0.4288, allocations: 1.962 MB / 409.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.4309, allocations: 0.6437 MB / 410.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006868/0.4378, allocations: 4.44 MB / 414.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006326/0.4441, allocations: 5.104 MB / 420 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004104/0.4483, allocations: 1.943 MB / 422 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005251/0.4535, allocations: 2.855 MB / 424.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001498/0.4551, allocations: 432 kB / 425.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002989/0.4581, allocations: 1.163 MB / 426.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002888/0.461, allocations: 2.361 MB / 428.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00383/0.4648, allocations: 2.777 MB / 431.6 MB, free: 8.965 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01026/0.4751, allocations: 8.38 MB / 439.9 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.4751, allocations: 0 / 439.9 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.4752, allocations: 0 / 439.9 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003431/0.4755, allocations: 0 / 439.9 MB, free: 0.5586 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.02809/0.5036, allocations: 6.42 MB / 446.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.526e-05/0.5037, allocations: 11.89 kB / 446.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008762/0.5125, allocations: 1.994 MB / 448.4 MB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007711/0.5202, allocations: 2.768 MB / 451.1 MB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004334/0.5207, allocations: 299.8 kB / 451.4 MB, free: 4.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00257/0.5233, allocations: 407.7 kB / 451.8 MB, free: 4.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2416/0.7649, allocations: 12.88 MB / 464.7 MB, free: 109.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001369/0.7651, allocations: 42.03 kB / 464.7 MB, free: 109.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006067/0.7657, allocations: 193.5 kB / 464.9 MB, free: 109.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003738/0.7694, allocations: 2.372 MB / 467.3 MB, free: 108.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01941/0.7889, allocations: 11.74 MB / 479 MB, free: 99.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06142/0.8503, allocations: 48.64 MB / 0.5153 GB, free: 50.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01741/0.8678, allocations: 5.564 MB / 0.5207 GB, free: 44.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003914/0.8717, allocations: 3.484 MB / 0.5242 GB, free: 41.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007036/0.8725, allocations: 384.3 kB / 0.5245 GB, free: 40.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.8725, allocations: 59.81 kB / 0.5246 GB, free: 40.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=221): time 5.099e-06/0.8726, allocations: 0 / 0.5246 GB, free: 40.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=252): time 0.07866/0.9512, allocations: 27.94 MB / 0.5519 GB, free: 12.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.08e-05/0.9513, allocations: 150.5 kB / 0.552 GB, free: 12.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007132/0.9585, allocations: 4.611 MB / 0.5565 GB, free: 7.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008755/0.9594, allocations: 65.7 kB / 0.5566 GB, free: 7.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001727/0.9611, allocations: 3.582 MB / 0.5601 GB, free: 3.996 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001003/0.9621, allocations: 0.9446 MB / 0.561 GB, free: 3.039 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001644/0.9638, allocations: 1.506 MB / 0.5625 GB, free: 1.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.436e-05/0.9638, allocations: 301.1 kB / 0.5627 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004616/0.9685, allocations: 3.457 MB / 0.5661 GB, free: 13.76 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008123/0.9766, allocations: 7.524 MB / 0.5735 GB, free: 4.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01557/0.9922, allocations: 11.82 MB / 0.585 GB, free: 6.402 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001416/0.9924, allocations: 44 kB / 0.5851 GB, free: 6.359 MB / 414.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02498/1.017, allocations: 11.89 MB / 0.5967 GB, free: 10.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001975/1.018, allocations: 68 kB / 0.5967 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000313/1.018, allocations: 144.1 kB / 0.5969 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003003/1.021, allocations: 1.129 MB / 0.598 GB, free: 9.117 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006688/1.028, allocations: 1.805 MB / 0.5997 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008341/1.036, allocations: 6.363 MB / 0.6059 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006104/1.042, allocations: 423.6 kB / 0.6064 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.2602/1.303, allocations: 466.5 kB / 0.6068 GB, free: 140.8 MB / 430.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.009285/1.312, allocations: 2.44 MB / 0.6092 GB, free: 140.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00171/1.314, allocations: 413 kB / 0.6096 GB, free: 140.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/1.325, allocations: 6.484 MB / 0.6159 GB, free: 138.9 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.649e-05/1.325, allocations: 26.31 kB / 0.6159 GB, free: 138.9 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.085e-05/1.325, allocations: 3.312 kB / 0.6159 GB, free: 138.9 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.683e-05/1.326, allocations: 13.58 kB / 0.6159 GB, free: 138.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02299/1.349, allocations: 13.61 MB / 0.6292 GB, free: 134.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-05/1.349, allocations: 3.656 kB / 0.6292 GB, free: 134.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002949/1.352, allocations: 0.5841 MB / 0.6298 GB, free: 134.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002278/1.354, allocations: 0.949 MB / 0.6307 GB, free: 134.1 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004011/1.354, allocations: 88.67 kB / 0.6308 GB, free: 134.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006596/1.361, allocations: 6.046 MB / 0.6367 GB, free: 130.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.361, allocations: 9.188 kB / 0.6367 GB, free: 130.1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01568/1.377, allocations: 10.92 MB / 0.6474 GB, free: 119.4 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002839/1.379, allocations: 0.9352 MB / 0.6483 GB, free: 118.6 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001738/1.381, allocations: 47.94 kB / 0.6484 GB, free: 118.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003651/1.385, allocations: 171.8 kB / 0.6485 GB, free: 118.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008286/1.386, allocations: 191.2 kB / 0.6487 GB, free: 118.2 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004294/1.386, allocations: 111.9 kB / 0.6488 GB, free: 118.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.006332/1.393, allocations: 2.893 MB / 0.6516 GB, free: 115.2 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.5e-07/1.393, allocations: 2.562 kB / 0.6516 GB, free: 115.2 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.009333/1.402, allocations: 1.268 MB / 0.6529 GB, free: 114 MB / 430.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.001555/1.404, allocations: 197.5 kB / 0.6531 GB, free: 113.8 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01695/1.421, allocations: 10.65 MB / 0.6635 GB, free: 103.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/1.421, allocations: 0 / 0.6635 GB, free: 103.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004336/1.425, allocations: 3.167 MB / 0.6666 GB, free: 100.1 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005262/1.43, allocations: 0.5049 MB / 0.6671 GB, free: 99.56 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02664/1.457, allocations: 15.01 MB / 0.6817 GB, free: 84.58 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006216/1.463, allocations: 3.808 MB / 0.6854 GB, free: 80.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.007931/1.471, allocations: 2.396 MB / 0.6878 GB, free: 78.33 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002268/1.473, allocations: 431.1 kB / 0.6882 GB, free: 77.91 MB / 430.1 MB Notification: Performance of SimCode: time 2.655e-06/1.473, allocations: 0 / 0.6882 GB, free: 77.91 MB / 430.1 MB Notification: Performance of Templates: time 0.102/1.575, allocations: 58.13 MB / 0.745 GB, free: 19.79 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1)