Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.00167/0.001671, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.593/1.593, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.001375/0.001375, allocations: 55.92 kB / 278.7 MB, free: 12.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2453, allocations: 46.63 MB / 325.3 MB, free: 1.891 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01328/0.2587, allocations: 11.75 MB / 337.1 MB, free: 8.172 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.009566/0.2683, allocations: 3.904 MB / 341 MB, free: 4.258 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002585/0.2709, allocations: 71.81 kB / 341 MB, free: 4.188 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004987/0.276, allocations: 2.718 MB / 343.8 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006459/0.2824, allocations: 1.879 MB / 345.6 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.2841, allocations: 0.5693 MB / 346.2 MB, free: 15 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006429/0.2905, allocations: 3.75 MB / 349.9 MB, free: 11.24 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0052/0.2958, allocations: 3.702 MB / 353.7 MB, free: 7.48 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003387/0.2992, allocations: 1.53 MB / 355.2 MB, free: 5.945 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003255/0.3024, allocations: 2.13 MB / 357.3 MB, free: 3.809 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008191/0.3033, allocations: 340 kB / 357.6 MB, free: 3.477 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.3056, allocations: 1.057 MB / 358.7 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001839/0.3075, allocations: 1.917 MB / 360.6 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002381/0.3099, allocations: 2.249 MB / 362.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008344/0.3182, allocations: 6.931 MB / 369.8 MB, free: 7.281 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.3183, allocations: 7.938 kB / 369.8 MB, free: 7.273 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3183, allocations: 0 / 369.8 MB, free: 7.273 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002126/0.3185, allocations: 0 / 369.8 MB, free: 7.273 MB / 302.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.01886/0.3374, allocations: 5.31 MB / 375.1 MB, free: 1.895 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.3375, allocations: 8.031 kB / 375.1 MB, free: 1.887 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007151/0.3446, allocations: 1.879 MB / 377 MB, free: 15.99 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005452/0.3501, allocations: 2.354 MB / 379.4 MB, free: 13.58 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002263/0.3504, allocations: 238 kB / 379.6 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008629/0.3513, allocations: 315.8 kB / 379.9 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02276/0.374, allocations: 10.72 MB / 390.6 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002657/0.3743, allocations: 39.69 kB / 390.7 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001566/0.3759, allocations: 151.8 kB / 390.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004067/0.38, allocations: 1.993 MB / 392.8 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0241/0.4041, allocations: 9.559 MB / 402.4 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06127/0.4655, allocations: 39.93 MB / 442.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01438/0.4799, allocations: 3.833 MB / 446.1 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00284/0.4828, allocations: 1.849 MB / 448 MB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007124/0.4835, allocations: 352.2 kB / 448.3 MB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/0.4836, allocations: 63.53 kB / 448.4 MB, free: 6.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 4.007e-06/0.4836, allocations: 0 / 448.4 MB, free: 6.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=154): time 0.2442/0.7279, allocations: 13.75 MB / 462.1 MB, free: 108.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/0.728, allocations: 143.2 kB / 462.3 MB, free: 108 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005311/0.7333, allocations: 4.164 MB / 466.4 MB, free: 106.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002765/0.7336, allocations: 45.52 kB / 466.5 MB, free: 106.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00148/0.7351, allocations: 3.167 MB / 469.6 MB, free: 104 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005718/0.7357, allocations: 0.6155 MB / 470.3 MB, free: 103.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001202/0.7369, allocations: 1.227 MB / 471.5 MB, free: 103 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.285e-05/0.7369, allocations: 310.2 kB / 471.8 MB, free: 102.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002426/0.7394, allocations: 2.132 MB / 473.9 MB, free: 102 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004045/0.7434, allocations: 5.963 MB / 479.9 MB, free: 96.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007514/0.7509, allocations: 8.779 MB / 488.7 MB, free: 86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-05/0.7511, allocations: 41.44 kB / 488.7 MB, free: 85.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01238/0.7634, allocations: 8.564 MB / 497.3 MB, free: 77.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.068e-05/0.7636, allocations: 64 kB / 497.3 MB, free: 77.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001/0.7637, allocations: 136.9 kB / 497.5 MB, free: 77.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002081/0.7658, allocations: 0.9233 MB / 498.4 MB, free: 76.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003795/0.7696, allocations: 1.392 MB / 499.8 MB, free: 74.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005871/0.7755, allocations: 5.222 MB / 0.4932 GB, free: 69.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006687/0.7822, allocations: 319.7 kB / 0.4935 GB, free: 69.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/0.7833, allocations: 384 kB / 0.4938 GB, free: 68.83 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.004361/0.7877, allocations: 2.105 MB / 0.4959 GB, free: 66.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001227/0.7889, allocations: 355.4 kB / 0.4962 GB, free: 66.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006129/0.7951, allocations: 3.136 MB / 0.4993 GB, free: 63.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-05/0.7951, allocations: 20 kB / 0.4993 GB, free: 63.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.012e-05/0.7951, allocations: 7.938 kB / 0.4993 GB, free: 63.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.075e-05/0.7952, allocations: 7.969 kB / 0.4993 GB, free: 63.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01592/0.8111, allocations: 7.82 MB / 0.507 GB, free: 55.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/0.8112, allocations: 7.938 kB / 0.507 GB, free: 55.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/0.8124, allocations: 255.6 kB / 0.5072 GB, free: 55.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00195/0.8144, allocations: 0.7225 MB / 0.5079 GB, free: 54.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001816/0.8146, allocations: 35.97 kB / 0.508 GB, free: 54.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005375/0.82, allocations: 4.753 MB / 0.5126 GB, free: 49.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.82, allocations: 4 kB / 0.5126 GB, free: 49.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008638/0.8286, allocations: 5.678 MB / 0.5181 GB, free: 43.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002214/0.8309, allocations: 0.6291 MB / 0.5188 GB, free: 43.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001259/0.8322, allocations: 24 kB / 0.5188 GB, free: 43.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002473/0.8347, allocations: 95.48 kB / 0.5189 GB, free: 42.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003676/0.8351, allocations: 96.84 kB / 0.519 GB, free: 42.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001617/0.8352, allocations: 47.97 kB / 0.519 GB, free: 42.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.005733/0.841, allocations: 2.61 MB / 0.5216 GB, free: 40.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.841, allocations: 0 / 0.5216 GB, free: 40.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.006628/0.8476, allocations: 0.9558 MB / 0.5225 GB, free: 39.22 MB / 382.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.0005037/0.8481, allocations: 173 kB / 0.5227 GB, free: 39.04 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008863/0.857, allocations: 5.731 MB / 0.5283 GB, free: 33.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/0.8571, allocations: 0 / 0.5283 GB, free: 33.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001888/0.8589, allocations: 1.533 MB / 0.5298 GB, free: 31.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003966/0.8629, allocations: 433.5 kB / 0.5302 GB, free: 31.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/0.8797, allocations: 9.112 MB / 0.5391 GB, free: 22.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004976/0.8847, allocations: 3.235 MB / 0.5422 GB, free: 18.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.005443/0.8902, allocations: 1.941 MB / 0.5441 GB, free: 17.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/0.8913, allocations: 271.3 kB / 0.5444 GB, free: 16.75 MB / 382.1 MB Notification: Performance of SimCode: time 1.543e-06/0.8914, allocations: 3.938 kB / 0.5444 GB, free: 16.75 MB / 382.1 MB Notification: Performance of Templates: time 0.07894/0.9703, allocations: 37.1 MB / 0.5806 GB, free: 11.66 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1)