Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.ActuatedDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [: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.001081/0.001081, allocations: 197.1 kB / 8.139 MB, free: 2.191 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.092/1.092, allocations: 194.2 MB / 202.8 MB, free: 8.676 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.001814/0.001814, allocations: 117.3 kB / 247.7 MB, free: 6.395 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.092e-06/6.122e-06, allocations: 0 / 297.6 MB, free: 7.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06938/0.06941, allocations: 44.48 MB / 342.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2151/0.2846, allocations: 91.56 MB / 433.6 MB, free: 3.762 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001728/0.2848, allocations: 86.27 kB / 433.7 MB, free: 3.719 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.2237/0.5084, allocations: 81.09 MB / 0.5027 GB, free: 9.672 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002262/0.5087, allocations: 76 kB / 0.5028 GB, free: 9.598 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: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.01652/0.5253, allocations: 4.409 MB / 0.5071 GB, free: 5.125 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.5253, allocations: 8.031 kB / 0.5071 GB, free: 5.117 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/0.5359, allocations: 1.823 MB / 0.5089 GB, free: 3.281 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1203/0.6563, allocations: 4.502 MB / 0.5133 GB, free: 119.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001961/0.6565, allocations: 146.6 kB / 0.5134 GB, free: 119.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001648/0.6582, allocations: 250.7 kB / 0.5137 GB, free: 119.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0101/0.6683, allocations: 6.53 MB / 0.52 GB, free: 119.1 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01222/0.6805, allocations: 9.859 MB / 0.5297 GB, free: 116.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001426/0.6807, allocations: 56.81 kB / 0.5297 GB, free: 116.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000556/0.6812, allocations: 34 kB / 0.5298 GB, free: 116.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001227/0.6825, allocations: 1.058 MB / 0.5308 GB, free: 116.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0406/0.7231, allocations: 47.6 MB / 0.5773 GB, free: 85.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003417/0.7265, allocations: 3.32 MB / 0.5805 GB, free: 83.72 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001899/0.7285, allocations: 1.908 MB / 0.5824 GB, free: 82.94 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007564/0.736, allocations: 5.921 MB / 0.5882 GB, free: 79.62 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.7361, allocations: 49.5 kB / 0.5882 GB, free: 79.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=139): time 3.456e-06/0.7361, allocations: 0 / 0.5882 GB, free: 79.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=146): time 0.01956/0.7557, allocations: 11.24 MB / 0.5992 GB, free: 74.68 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.7557, allocations: 147.9 kB / 0.5993 GB, free: 74.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003739/0.7595, allocations: 3.183 MB / 0.6024 GB, free: 73.38 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001416/0.7596, allocations: 25.7 kB / 0.6025 GB, free: 73.35 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001414/0.7611, allocations: 3.047 MB / 0.6054 GB, free: 71.01 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004929/0.7616, allocations: 0.578 MB / 0.606 GB, free: 70.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/0.7618, allocations: 1.219 kB / 0.606 GB, free: 70.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002929/0.7621, allocations: 0.5608 MB / 0.6065 GB, free: 70.19 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002402/0.7645, allocations: 1.93 MB / 0.6084 GB, free: 69.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003481/0.768, allocations: 5.849 MB / 0.6141 GB, free: 63.54 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003765/0.7718, allocations: 3.361 MB / 0.6174 GB, free: 62.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.942e-05/0.7718, allocations: 46.22 kB / 0.6175 GB, free: 62.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01154/0.7834, allocations: 7.421 MB / 0.6247 GB, free: 58.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.7834, allocations: 4 kB / 0.6247 GB, free: 58.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001172/0.7835, allocations: 144 kB / 0.6249 GB, free: 58.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002297/0.7858, allocations: 0.87 MB / 0.6257 GB, free: 57.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004248/0.7901, allocations: 1.422 MB / 0.6271 GB, free: 56.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005147/0.7953, allocations: 4.496 MB / 0.6315 GB, free: 52.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004595/0.7999, allocations: 197.3 kB / 0.6317 GB, free: 52.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007671/0.8007, allocations: 393.3 kB / 0.632 GB, free: 52.13 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 649 * Number of states: 0 () * Number of discrete variables: 33 (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.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 (760): * Single equations (assignments): 756 * 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.000833/0.8015, allocations: 456.6 kB / 0.6325 GB, free: 51.68 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005152/0.802, allocations: 311.9 kB / 0.6328 GB, free: 51.37 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00488/0.8069, allocations: 2.697 MB / 0.6354 GB, free: 49.22 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-05/0.807, allocations: 16 kB / 0.6354 GB, free: 49.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.807, allocations: 0 / 0.6354 GB, free: 49.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.807, allocations: 10.89 kB / 0.6354 GB, free: 49.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/0.8176, allocations: 6.135 MB / 0.6414 GB, free: 44.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.8176, allocations: 0 / 0.6414 GB, free: 44.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001412/0.819, allocations: 236.1 kB / 0.6417 GB, free: 44.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002237/0.8213, allocations: 0.6367 MB / 0.6423 GB, free: 43.65 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/0.8214, allocations: 14.39 kB / 0.6423 GB, free: 43.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004778/0.8262, allocations: 4.11 MB / 0.6463 GB, free: 39.92 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.8263, allocations: 4 kB / 0.6463 GB, free: 39.92 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006737/0.833, allocations: 5.074 MB / 0.6513 GB, free: 35.49 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/0.8342, allocations: 0.5674 MB / 0.6518 GB, free: 34.95 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000483/0.8347, allocations: 8 kB / 0.6518 GB, free: 34.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/0.8361, allocations: 44.31 kB / 0.6519 GB, free: 34.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002075/0.8363, allocations: 69.38 kB / 0.6519 GB, free: 34.87 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/0.8364, allocations: 39.84 kB / 0.652 GB, free: 34.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002989/0.8394, allocations: 2.131 MB / 0.6541 GB, free: 32.99 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004994/0.8444, allocations: 0.8175 MB / 0.6549 GB, free: 32.18 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 111 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003718/0.8448, allocations: 146.5 kB / 0.655 GB, free: 32.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005735/0.8506, allocations: 4.553 MB / 0.6594 GB, free: 27.92 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.8506, allocations: 0 / 0.6594 GB, free: 27.92 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.8521, allocations: 1.329 MB / 0.6607 GB, free: 26.72 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.8537, allocations: 310.1 kB / 0.661 GB, free: 26.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/0.8661, allocations: 7.227 MB / 0.6681 GB, free: 19.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00408/0.8703, allocations: 3.577 MB / 0.6716 GB, free: 17.2 MB / 394.7 MB Notification: Performance of SimCode: time 7.31e-07/0.8703, allocations: 0 / 0.6716 GB, free: 17.2 MB / 394.7 MB Notification: Performance of Templates: time 0.1635/1.034, allocations: 32.91 MB / 0.7037 GB, free: 103.2 MB / 394.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1)