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.00091/0.00091, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005756/0.005757, allocations: 169 kB / 16.26 MB, free: 6.652 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.624/1.624, allocations: 205.4 MB / 222.5 MB, free: 5.551 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.0005055/0.0005057, allocations: 12 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.287, allocations: 47.58 MB / 327 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.04699/0.3341, allocations: 48.91 MB / 375.9 MB, free: 2.266 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03048/0.3646, allocations: 10.27 MB / 386.2 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01219/0.3769, allocations: 207.6 kB / 386.4 MB, free: 7.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002134/0.379, allocations: 429.9 kB / 386.8 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007411/0.3865, allocations: 1.767 MB / 388.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.3887, allocations: 0.5227 MB / 389.1 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007723/0.3964, allocations: 5.513 MB / 394.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007461/0.4039, allocations: 5.009 MB / 399.7 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002535/0.4065, allocations: 1.116 MB / 400.8 MB, free: 9.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003033/0.4096, allocations: 1.97 MB / 402.7 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000519/0.4101, allocations: 144 kB / 402.9 MB, free: 7.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00199/0.4121, allocations: 0.9203 MB / 403.8 MB, free: 6.258 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001699/0.4138, allocations: 1.718 MB / 405.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002202/0.4161, allocations: 2.004 MB / 407.5 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007843/0.4239, allocations: 6.664 MB / 414.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.424, allocations: 0 / 414.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.424, allocations: 3.938 kB / 414.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002354/0.4242, allocations: 0 / 414.2 MB, free: 11.82 MB / 350.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.01947/0.4437, allocations: 4.386 MB / 418.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.4438, allocations: 8.031 kB / 418.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007489/0.4513, allocations: 1.933 MB / 420.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005063/0.4563, allocations: 2.35 MB / 422.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/0.4565, allocations: 238 kB / 423.1 MB, free: 2.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006691/0.4572, allocations: 307.8 kB / 423.4 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02084/0.4781, allocations: 10.74 MB / 434.1 MB, free: 7.043 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001358/0.4782, allocations: 43.53 kB / 434.2 MB, free: 7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004509/0.4787, allocations: 155.8 kB / 434.3 MB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003509/0.4822, allocations: 1.982 MB / 436.3 MB, free: 4.859 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02153/0.5038, allocations: 9.59 MB / 445.9 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2755/0.7793, allocations: 39.89 MB / 485.8 MB, free: 84.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01247/0.7918, allocations: 3.849 MB / 489.6 MB, free: 82.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0023/0.7942, allocations: 1.853 MB / 491.5 MB, free: 82.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005281/0.7947, allocations: 364.9 kB / 491.9 MB, free: 81.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.7948, allocations: 50.23 kB / 491.9 MB, free: 81.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 3.737e-06/0.7948, allocations: 3.969 kB / 491.9 MB, free: 81.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=154): time 0.03946/0.8342, allocations: 13.78 MB / 0.4938 GB, free: 71.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.8343, allocations: 148.7 kB / 0.494 GB, free: 70.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005446/0.8398, allocations: 4.159 MB / 0.498 GB, free: 66.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003416/0.8402, allocations: 41.7 kB / 0.4981 GB, free: 66.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001588/0.8417, allocations: 3.164 MB / 0.5012 GB, free: 63.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007092/0.8425, allocations: 0.6195 MB / 0.5018 GB, free: 62.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005168/0.843, allocations: 0.5031 MB / 0.5023 GB, free: 62.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.89e-05/0.8431, allocations: 313.1 kB / 0.5026 GB, free: 62.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002725/0.8458, allocations: 2.139 MB / 0.5047 GB, free: 59.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004328/0.8501, allocations: 5.972 MB / 0.5105 GB, free: 52.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008037/0.8582, allocations: 8.777 MB / 0.5191 GB, free: 41.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-05/0.8583, allocations: 44 kB / 0.5191 GB, free: 41.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.01471/0.873, allocations: 8.58 MB / 0.5275 GB, free: 32.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.186e-05/0.8731, allocations: 64.62 kB / 0.5275 GB, free: 32.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001245/0.8733, allocations: 136.8 kB / 0.5277 GB, free: 32.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002177/0.8755, allocations: 0.9104 MB / 0.5286 GB, free: 31.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004928/0.8804, allocations: 1.407 MB / 0.5299 GB, free: 30.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00788/0.8883, allocations: 4.867 MB / 0.5347 GB, free: 25.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005997/0.8944, allocations: 342.8 kB / 0.535 GB, free: 24.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001265/0.8957, allocations: 388 kB / 0.5354 GB, free: 24.53 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.004583/0.9003, allocations: 2.095 MB / 0.5374 GB, free: 22.42 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008818/0.9012, allocations: 347.4 kB / 0.5378 GB, free: 22.08 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006232/0.9074, allocations: 3.156 MB / 0.5408 GB, free: 18.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-05/0.9075, allocations: 23.94 kB / 0.5409 GB, free: 18.88 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.926e-05/0.9075, allocations: 8 kB / 0.5409 GB, free: 18.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.006e-05/0.9075, allocations: 7.969 kB / 0.5409 GB, free: 18.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01464/0.9222, allocations: 7.843 MB / 0.5485 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/0.9222, allocations: 96 / 0.5485 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/0.9235, allocations: 267.6 kB / 0.5488 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002033/0.9255, allocations: 0.7146 MB / 0.5495 GB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001793/0.9257, allocations: 37.38 kB / 0.5495 GB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004877/0.9306, allocations: 4.413 MB / 0.5538 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.9306, allocations: 7.969 kB / 0.5538 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007818/0.9385, allocations: 5.699 MB / 0.5594 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001856/0.9403, allocations: 0.6368 MB / 0.56 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008395/0.9412, allocations: 20 kB / 0.56 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001767/0.943, allocations: 89.38 kB / 0.5601 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003493/0.9433, allocations: 112.8 kB / 0.5602 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/0.9435, allocations: 55.97 kB / 0.5603 GB, free: 14.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.005548/0.9491, allocations: 2.607 MB / 0.5628 GB, free: 12.12 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.9491, allocations: 0 / 0.5628 GB, free: 12.12 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00534/0.9544, allocations: 0.9648 MB / 0.5638 GB, free: 11.16 MB / 398.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.0004332/0.9549, allocations: 159 kB / 0.5639 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008491/0.9634, allocations: 5.087 MB / 0.5689 GB, free: 5.938 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.9634, allocations: 0 / 0.5689 GB, free: 5.938 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002279/0.9657, allocations: 1.531 MB / 0.5704 GB, free: 4.395 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003521/0.9693, allocations: 426.6 kB / 0.5708 GB, free: 3.977 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02019/0.9895, allocations: 11.12 MB / 0.5817 GB, free: 8.805 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004281/0.9938, allocations: 3.243 MB / 0.5848 GB, free: 5.531 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.005256/0.9991, allocations: 1.937 MB / 0.5867 GB, free: 3.586 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008332/1, allocations: 271.3 kB / 0.587 GB, free: 3.32 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/1, allocations: 0 / 0.587 GB, free: 3.32 MB / 414.1 MB Notification: Performance of Templates: time 0.289/1.289, allocations: 35.22 MB / 0.6214 GB, free: 135.9 MB / 430.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)