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.001222/0.001223, allocations: 108 kB / 15.61 MB, free: 152 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.001358/0.001358, allocations: 193.9 kB / 16.53 MB, free: 6.66 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.564/1.564, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.001256/0.001256, allocations: 55.94 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3072, allocations: 46.64 MB / 325.3 MB, free: 1.863 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01686/0.3241, allocations: 13.76 MB / 339.1 MB, free: 6.121 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01226/0.3364, allocations: 4.379 MB / 343.4 MB, free: 1.73 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003721/0.3402, allocations: 79.81 kB / 343.5 MB, free: 1.652 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007205/0.3475, allocations: 3.742 MB / 347.3 MB, free: 13.9 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006545/0.3541, allocations: 2.112 MB / 349.4 MB, free: 11.78 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002258/0.3564, allocations: 0.6863 MB / 350.1 MB, free: 11.09 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007/0.3634, allocations: 4.401 MB / 354.5 MB, free: 6.676 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007579/0.371, allocations: 4.836 MB / 359.3 MB, free: 1.773 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005698/0.3767, allocations: 1.908 MB / 361.2 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005402/0.3822, allocations: 2.597 MB / 363.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002976/0.3852, allocations: 432 kB / 364.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005285/0.3905, allocations: 1.159 MB / 365.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005367/0.3959, allocations: 2.314 MB / 367.7 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006299/0.4023, allocations: 2.758 MB / 370.5 MB, free: 6.578 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01178/0.4141, allocations: 8.325 MB / 378.8 MB, free: 14.22 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.4141, allocations: 4 kB / 378.8 MB, free: 14.22 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4141, allocations: 0 / 378.8 MB, free: 14.22 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002959/0.4144, allocations: 0 / 378.8 MB, free: 14.22 MB / 318.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.0228/0.4373, allocations: 6.427 MB / 385.2 MB, free: 7.719 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.182e-05/0.4373, allocations: 15.89 kB / 385.2 MB, free: 7.703 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00686/0.4442, allocations: 1.983 MB / 387.2 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005425/0.4497, allocations: 2.761 MB / 390 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002242/0.4499, allocations: 311.8 kB / 390.3 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009139/0.4508, allocations: 403.7 kB / 390.7 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02325/0.4741, allocations: 12.87 MB / 403.5 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001399/0.4743, allocations: 59.41 kB / 403.6 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005156/0.4748, allocations: 195.8 kB / 403.8 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00415/0.4789, allocations: 2.366 MB / 406.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02244/0.5014, allocations: 11.74 MB / 417.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3124/0.8138, allocations: 48.62 MB / 466.5 MB, free: 79.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01798/0.8318, allocations: 5.563 MB / 472.1 MB, free: 79.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004468/0.8364, allocations: 3.479 MB / 475.6 MB, free: 78.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000645/0.837, allocations: 388.5 kB / 476 MB, free: 78.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.8371, allocations: 55.25 kB / 476 MB, free: 78.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=221): time 4.218e-06/0.8371, allocations: 1.969 kB / 476 MB, free: 78.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=252): time 0.06985/0.907, allocations: 27.94 MB / 0.4921 GB, free: 57.51 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/0.9071, allocations: 158 kB / 0.4923 GB, free: 57.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005438/0.9125, allocations: 4.612 MB / 0.4968 GB, free: 52.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004366/0.913, allocations: 61.7 kB / 0.4968 GB, free: 52.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001594/0.9146, allocations: 3.581 MB / 0.5003 GB, free: 49.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008418/0.9154, allocations: 0.9477 MB / 0.5013 GB, free: 48.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001655/0.9171, allocations: 1.498 MB / 0.5027 GB, free: 46.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.307e-05/0.9172, allocations: 311.5 kB / 0.503 GB, free: 46.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003725/0.9209, allocations: 3.453 MB / 0.5064 GB, free: 42.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005472/0.9264, allocations: 7.523 MB / 0.5137 GB, free: 33.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01043/0.9368, allocations: 11.83 MB / 0.5253 GB, free: 19.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.788e-05/0.9369, allocations: 40 kB / 0.5253 GB, free: 19.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.01583/0.9528, allocations: 11.89 MB / 0.5369 GB, free: 7.809 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.121e-05/0.9529, allocations: 64 kB / 0.537 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001962/0.9531, allocations: 144 kB / 0.5371 GB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002531/0.9556, allocations: 1.131 MB / 0.5383 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005284/0.9609, allocations: 1.801 MB / 0.54 GB, free: 4.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007066/0.968, allocations: 6.362 MB / 0.5462 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005632/0.9737, allocations: 431.2 kB / 0.5466 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001129/0.9748, allocations: 471.8 kB / 0.5471 GB, free: 13.3 MB / 398.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.004946/0.9798, allocations: 2.441 MB / 0.5495 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001263/0.981, allocations: 414.7 kB / 0.5499 GB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01246/0.9935, allocations: 6.481 MB / 0.5562 GB, free: 3.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.298e-05/0.9936, allocations: 31.56 kB / 0.5562 GB, free: 3.902 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.323e-05/0.9936, allocations: 4 kB / 0.5562 GB, free: 3.898 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.04e-05/0.9937, allocations: 11.95 kB / 0.5562 GB, free: 3.887 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02602/1.02, allocations: 13.61 MB / 0.5695 GB, free: 6.207 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.148e-05/1.02, allocations: 8 kB / 0.5695 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002893/1.023, allocations: 0.5811 MB / 0.5701 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002486/1.025, allocations: 0.9491 MB / 0.571 GB, free: 4.664 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003204/1.026, allocations: 91.89 kB / 0.5711 GB, free: 4.574 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007558/1.033, allocations: 6.054 MB / 0.577 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.033, allocations: 8 kB / 0.577 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01589/1.049, allocations: 10.92 MB / 0.5877 GB, free: 3.352 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003361/1.052, allocations: 0.9366 MB / 0.5886 GB, free: 2.391 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001124/1.054, allocations: 47.66 kB / 0.5887 GB, free: 2.348 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002583/1.056, allocations: 171.8 kB / 0.5888 GB, free: 2.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005442/1.057, allocations: 185.6 kB / 0.589 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002638/1.057, allocations: 115.9 kB / 0.5891 GB, free: 1.883 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.005236/1.062, allocations: 2.891 MB / 0.5919 GB, free: 14.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.605e-06/1.062, allocations: 3.938 kB / 0.5919 GB, free: 14.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00845/1.071, allocations: 1.268 MB / 0.5932 GB, free: 13.72 MB / 446.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.0005877/1.071, allocations: 189 kB / 0.5934 GB, free: 13.53 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01788/1.089, allocations: 10.65 MB / 0.6038 GB, free: 2.922 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/1.089, allocations: 0 / 0.6038 GB, free: 2.922 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2056/1.295, allocations: 3.161 MB / 0.6068 GB, free: 161.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004791/1.3, allocations: 0.5079 MB / 0.6073 GB, free: 161 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02404/1.324, allocations: 12.59 MB / 0.6196 GB, free: 157 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003499/1.327, allocations: 3.807 MB / 0.6234 GB, free: 155.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005787/1.333, allocations: 2.396 MB / 0.6257 GB, free: 155.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001411/1.335, allocations: 431.5 kB / 0.6261 GB, free: 155.3 MB / 446.1 MB Notification: Performance of SimCode: time 1.353e-06/1.335, allocations: 0 / 0.6261 GB, free: 155.3 MB / 446.1 MB Notification: Performance of Templates: time 0.09871/1.433, allocations: 58.23 MB / 0.683 GB, free: 99.54 MB / 446.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)