Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001588/0.001588, allocations: 189.8 kB / 8.135 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.171/1.171, allocations: 194.2 MB / 202.8 MB, free: 8.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001798/0.001798, allocations: 117.8 kB / 247.8 MB, free: 6.281 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.032e-06/6.072e-06, allocations: 0 / 297.6 MB, free: 7.973 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0725/0.07252, allocations: 44.48 MB / 342.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2113/0.2839, allocations: 92.26 MB / 434.3 MB, free: 3.062 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/0.2841, allocations: 83.05 kB / 434.4 MB, free: 3.023 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.3812/0.6654, allocations: 93.89 MB / 0.5159 GB, free: 48.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000181/0.6656, allocations: 99.31 kB / 0.516 GB, free: 48.09 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.017/0.6826, allocations: 5.435 MB / 0.5213 GB, free: 46.29 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.6827, allocations: 6.031 kB / 0.5213 GB, free: 46.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009778/0.6924, allocations: 1.931 MB / 0.5232 GB, free: 45.94 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/0.704, allocations: 4.97 MB / 0.5281 GB, free: 45.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.7042, allocations: 167 kB / 0.5282 GB, free: 45.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00117/0.7053, allocations: 308.9 kB / 0.5285 GB, free: 45.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01199/0.7173, allocations: 7.977 MB / 0.5363 GB, free: 45.29 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01675/0.7341, allocations: 11.74 MB / 0.5478 GB, free: 42.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001745/0.7343, allocations: 73.03 kB / 0.5478 GB, free: 42.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007242/0.7351, allocations: 34.38 kB / 0.5479 GB, free: 42.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001423/0.7365, allocations: 1.261 MB / 0.5491 GB, free: 42.29 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05592/0.7924, allocations: 55.59 MB / 0.6034 GB, free: 24.85 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005053/0.7975, allocations: 4.442 MB / 0.6077 GB, free: 22.71 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003287/0.8009, allocations: 3.317 MB / 0.611 GB, free: 21.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01562/0.8165, allocations: 9.985 MB / 0.6207 GB, free: 16.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.8166, allocations: 57.83 kB / 0.6208 GB, free: 16.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=215): time 5.33e-06/0.8166, allocations: 3.938 kB / 0.6208 GB, free: 16.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=246): time 0.04531/0.8619, allocations: 22.27 MB / 0.6425 GB, free: 7.562 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.862, allocations: 151.2 kB / 0.6427 GB, free: 7.402 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005332/0.8673, allocations: 3.404 MB / 0.646 GB, free: 4.828 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005083/0.8678, allocations: 25.7 kB / 0.646 GB, free: 4.797 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002089/0.8699, allocations: 3.414 MB / 0.6493 GB, free: 1.723 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001086/0.871, allocations: 0.9069 MB / 0.6502 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003462/0.8714, allocations: 4 kB / 0.6502 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004136/0.8718, allocations: 0.6072 MB / 0.6508 GB, free: 388 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01503/0.8869, allocations: 3.86 MB / 0.6546 GB, free: 0 / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007443/0.8943, allocations: 7.133 MB / 0.6616 GB, free: 7.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006899/0.9012, allocations: 4.552 MB / 0.666 GB, free: 3.344 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.926e-05/0.9013, allocations: 47.94 kB / 0.6661 GB, free: 3.297 MB / 426.7 MB Notification: Performance of matching and sorting (n=933) (initialization): time 0.1249/1.026, allocations: 10.09 MB / 0.6759 GB, free: 127.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.026, allocations: 7.062 kB / 0.6759 GB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/1.026, allocations: 149.1 kB / 0.6761 GB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002762/1.029, allocations: 1.078 MB / 0.6771 GB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006581/1.036, allocations: 1.733 MB / 0.6788 GB, free: 127.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006517/1.042, allocations: 5.55 MB / 0.6842 GB, free: 126.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005579/1.048, allocations: 244.3 kB / 0.6845 GB, free: 126.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000763/1.049, allocations: 453.4 kB / 0.6849 GB, free: 126.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * Number of states: 0 () * Number of discrete variables: 39 (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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (894): * Single equations (assignments): 890 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009162/1.05, allocations: 483.6 kB / 0.6854 GB, free: 126.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005717/1.05, allocations: 365.7 kB / 0.6857 GB, free: 126.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008624/1.059, allocations: 5.349 MB / 0.6909 GB, free: 126.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.143e-05/1.059, allocations: 27.59 kB / 0.691 GB, free: 126.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/1.059, allocations: 3.844 kB / 0.691 GB, free: 126.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-05/1.059, allocations: 13.88 kB / 0.691 GB, free: 126.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01786/1.077, allocations: 10.74 MB / 0.7015 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/1.077, allocations: 5.594 kB / 0.7015 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002793/1.08, allocations: 461.3 kB / 0.7019 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00251/1.082, allocations: 0.8698 MB / 0.7028 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002845/1.083, allocations: 12.81 kB / 0.7028 GB, free: 125.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006256/1.089, allocations: 5.242 MB / 0.7079 GB, free: 124.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.089, allocations: 3.938 kB / 0.7079 GB, free: 124.2 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01227/1.101, allocations: 9.563 MB / 0.7172 GB, free: 122.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001903/1.103, allocations: 0.8313 MB / 0.718 GB, free: 121.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007336/1.104, allocations: 3.906 kB / 0.718 GB, free: 121.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00232/1.106, allocations: 97.45 kB / 0.7181 GB, free: 121.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003843/1.107, allocations: 126.9 kB / 0.7183 GB, free: 121.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002329/1.107, allocations: 69.61 kB / 0.7183 GB, free: 121.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.003196/1.11, allocations: 2.274 MB / 0.7205 GB, free: 120.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00556/1.116, allocations: 1.081 MB / 0.7216 GB, free: 120.8 MB / 426.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 215 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004866/1.116, allocations: 149.1 kB / 0.7217 GB, free: 120.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008709/1.125, allocations: 7.007 MB / 0.7286 GB, free: 118.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.125, allocations: 0 / 0.7286 GB, free: 118.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003742/1.129, allocations: 2.638 MB / 0.7312 GB, free: 117.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/1.13, allocations: 344.3 kB / 0.7315 GB, free: 117.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01768/1.148, allocations: 10 MB / 0.7413 GB, free: 114.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005227/1.153, allocations: 4.237 MB / 0.7454 GB, free: 112.6 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/1.153, allocations: 0 / 0.7454 GB, free: 112.6 MB / 426.7 MB Notification: Performance of Templates: time 0.08135/1.235, allocations: 48.33 MB / 0.7926 GB, free: 80.22 MB / 426.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1)