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.001226/0.001226, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001258/0.001258, allocations: 192 kB / 16.25 MB, free: 6.633 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.575/1.575, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.001126/0.001126, allocations: 47.94 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2687, allocations: 46.63 MB / 324.9 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.05614/0.3249, allocations: 66.21 MB / 391.1 MB, free: 1.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.03305/0.358, allocations: 12.94 MB / 404 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01501/0.3731, allocations: 283.3 kB / 404.3 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007249/0.3804, allocations: 3.611 MB / 407.9 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005893/0.3863, allocations: 1.958 MB / 409.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001869/0.3882, allocations: 0.6475 MB / 410.5 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007484/0.3957, allocations: 4.444 MB / 414.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00599/0.4017, allocations: 5.108 MB / 420 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003376/0.4051, allocations: 1.935 MB / 422 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003689/0.4088, allocations: 2.859 MB / 424.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009635/0.4098, allocations: 432 kB / 425.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002324/0.4121, allocations: 1.163 MB / 426.4 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002079/0.4142, allocations: 2.361 MB / 428.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002741/0.4169, allocations: 2.777 MB / 431.6 MB, free: 8.965 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00906/0.426, allocations: 8.376 MB / 439.9 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4261, allocations: 0 / 439.9 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4261, allocations: 0 / 439.9 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002777/0.4264, allocations: 0 / 439.9 MB, free: 0.5625 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.02152/0.4479, allocations: 6.428 MB / 446.4 MB, free: 10.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.448, allocations: 15.89 kB / 446.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00696/0.4549, allocations: 1.986 MB / 448.4 MB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005813/0.4608, allocations: 2.768 MB / 451.1 MB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/0.461, allocations: 299.8 kB / 451.4 MB, free: 4.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009826/0.462, allocations: 403.7 kB / 451.8 MB, free: 4.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2162/0.6781, allocations: 12.88 MB / 464.7 MB, free: 110.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001413/0.6783, allocations: 45.91 kB / 464.8 MB, free: 110.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005151/0.6789, allocations: 187.6 kB / 464.9 MB, free: 110.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003884/0.6827, allocations: 2.368 MB / 467.3 MB, free: 109.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0206/0.7034, allocations: 11.74 MB / 479 MB, free: 100.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05383/0.7572, allocations: 48.63 MB / 0.5153 GB, free: 51.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01665/0.7739, allocations: 5.581 MB / 0.5208 GB, free: 45.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003521/0.7775, allocations: 3.478 MB / 0.5242 GB, free: 42.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005748/0.7781, allocations: 392.3 kB / 0.5245 GB, free: 41.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.7781, allocations: 51.88 kB / 0.5246 GB, free: 41.83 MB / 382.1 MB Notification: Performance of pre-optimization done (n=221): time 4.979e-06/0.7782, allocations: 0 / 0.5246 GB, free: 41.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=252): time 0.06916/0.8473, allocations: 27.93 MB / 0.5519 GB, free: 13.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.8474, allocations: 162.4 kB / 0.552 GB, free: 13.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005744/0.8532, allocations: 4.607 MB / 0.5565 GB, free: 8.941 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009646/0.8542, allocations: 61.7 kB / 0.5566 GB, free: 8.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001915/0.8561, allocations: 3.586 MB / 0.5601 GB, free: 5.238 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001535/0.8576, allocations: 0.9524 MB / 0.561 GB, free: 4.273 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002/0.8597, allocations: 1.506 MB / 0.5625 GB, free: 2.758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.244e-05/0.8597, allocations: 301.1 kB / 0.5628 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004483/0.8642, allocations: 3.453 MB / 0.5661 GB, free: 15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008748/0.873, allocations: 7.524 MB / 0.5735 GB, free: 5.473 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01526/0.8883, allocations: 11.82 MB / 0.585 GB, free: 7.641 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001094/0.8884, allocations: 40 kB / 0.5851 GB, free: 7.602 MB / 414.1 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02212/0.9106, allocations: 11.88 MB / 0.5967 GB, free: 11.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.965e-05/0.9107, allocations: 69 kB / 0.5967 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001681/0.9109, allocations: 144 kB / 0.5969 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002798/0.9137, allocations: 1.135 MB / 0.598 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006855/0.9205, allocations: 1.801 MB / 0.5997 GB, free: 8.555 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008949/0.9295, allocations: 6.358 MB / 0.6059 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006911/0.9365, allocations: 419.4 kB / 0.6063 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001472/0.938, allocations: 467.8 kB / 0.6068 GB, free: 1.191 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.2145/1.153, allocations: 2.44 MB / 0.6092 GB, free: 142.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/1.154, allocations: 413.5 kB / 0.6096 GB, free: 142.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/1.165, allocations: 6.488 MB / 0.6159 GB, free: 141.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.317e-05/1.165, allocations: 30.75 kB / 0.6159 GB, free: 141.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/1.165, allocations: 3.906 kB / 0.6159 GB, free: 141.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.37e-05/1.165, allocations: 14.25 kB / 0.6159 GB, free: 141.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02097/1.186, allocations: 13.61 MB / 0.6292 GB, free: 136.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-05/1.186, allocations: 6 kB / 0.6292 GB, free: 136.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002785/1.189, allocations: 0.5787 MB / 0.6298 GB, free: 136.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002314/1.191, allocations: 0.9453 MB / 0.6307 GB, free: 136.1 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003444/1.192, allocations: 94.36 kB / 0.6308 GB, free: 136.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006112/1.198, allocations: 6.055 MB / 0.6367 GB, free: 132.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.198, allocations: 3.938 kB / 0.6367 GB, free: 132.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/1.211, allocations: 10.92 MB / 0.6474 GB, free: 122.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002128/1.213, allocations: 0.9339 MB / 0.6483 GB, free: 121.4 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007679/1.214, allocations: 44 kB / 0.6484 GB, free: 121.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002234/1.216, allocations: 167.8 kB / 0.6485 GB, free: 121.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004936/1.216, allocations: 197.4 kB / 0.6487 GB, free: 121 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002372/1.217, allocations: 111.5 kB / 0.6488 GB, free: 120.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.004024/1.221, allocations: 2.891 MB / 0.6516 GB, free: 118 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.3e-07/1.221, allocations: 0 / 0.6516 GB, free: 118 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.008023/1.229, allocations: 1.276 MB / 0.6529 GB, free: 116.7 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.0008933/1.23, allocations: 197.5 kB / 0.6531 GB, free: 116.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01713/1.247, allocations: 10.64 MB / 0.6635 GB, free: 105.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/1.247, allocations: 0 / 0.6635 GB, free: 105.9 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004118/1.251, allocations: 3.174 MB / 0.6666 GB, free: 102.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004379/1.255, allocations: 0.5042 MB / 0.6671 GB, free: 102.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02311/1.278, allocations: 15.01 MB / 0.6817 GB, free: 87.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003789/1.282, allocations: 3.812 MB / 0.6854 GB, free: 83.45 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.005705/1.288, allocations: 2.388 MB / 0.6878 GB, free: 81.06 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001528/1.29, allocations: 435.1 kB / 0.6882 GB, free: 80.63 MB / 430.1 MB Notification: Performance of SimCode: time 9.02e-07/1.29, allocations: 0 / 0.6882 GB, free: 80.63 MB / 430.1 MB Notification: Performance of Templates: time 0.0975/1.387, allocations: 58.14 MB / 0.745 GB, free: 22.5 MB / 430.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)