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/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.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") [: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/Modelica 3.1.0+maint.om/package.mo): time 0.7298/0.7298, allocations: 110.8 MB / 118 MB, free: 14.62 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001795/0.001795, allocations: 152 kB / 143.7 MB, free: 4.953 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 7.695e-06/7.715e-06, allocations: 0 / 173.5 MB, free: 23.04 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04529/0.04531, allocations: 25.17 MB / 198.6 MB, free: 13.93 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1461/0.1914, allocations: 50.35 MB / 249 MB, free: 2.117 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.1917, allocations: 74.64 kB / 249 MB, free: 2.105 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.7568/0.9485, allocations: 172.4 MB / 421.5 MB, free: 28.2 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0003345/0.949, allocations: 114.9 kB / 421.6 MB, free: 28.2 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2089 * Number of variables: 2089 Notification: Performance of Generate backend data structure: time 0.03632/0.9853, allocations: 7.491 MB / 429.1 MB, free: 26.76 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.9854, allocations: 9.875 kB / 429.1 MB, free: 26.76 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1223/1.108, allocations: 20.9 MB / 450 MB, free: 25.43 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01937/1.127, allocations: 6.458 MB / 456.5 MB, free: 24.74 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004933/1.128, allocations: 204.1 kB / 456.7 MB, free: 24.74 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005946/1.134, allocations: 332.1 kB / 457 MB, free: 24.73 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03639/1.17, allocations: 16.84 MB / 473.8 MB, free: 21.5 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04824/1.218, allocations: 18.64 MB / 492.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003383/1.219, allocations: 42.66 kB / 492.5 MB, free: 6.859 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004703/1.223, allocations: 20 kB / 492.5 MB, free: 6.84 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.04424/1.268, allocations: 8.427 MB / 0.4892 GB, free: 156 kB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6015/1.869, allocations: 117.9 MB / 0.6043 GB, free: 9.992 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007335/1.877, allocations: 5.799 MB / 0.61 GB, free: 5.836 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005106/1.882, allocations: 3.987 MB / 0.6139 GB, free: 2.199 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2243/2.106, allocations: 29.34 MB / 0.6425 GB, free: 51.98 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.657e-05/2.106, allocations: 60.62 kB / 0.6426 GB, free: 51.94 MB / 250.7 MB Notification: Performance of pre-optimization done (n=252): time 7.694e-06/2.106, allocations: 0 / 0.6426 GB, free: 51.94 MB / 250.7 MB Notification: Performance of matching and sorting (n=259): time 0.0286/2.135, allocations: 17.26 MB / 0.6594 GB, free: 48.43 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/2.135, allocations: 186.5 kB / 0.6596 GB, free: 48.24 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006521/2.141, allocations: 4.103 MB / 0.6636 GB, free: 47.84 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009237/2.142, allocations: 25.7 kB / 0.6637 GB, free: 47.8 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002033/2.144, allocations: 3.907 MB / 0.6675 GB, free: 45.36 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001419/2.146, allocations: 0.9593 MB / 0.6684 GB, free: 44.8 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005521/2.146, allocations: 0 / 0.6684 GB, free: 44.8 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003838/2.147, allocations: 0.6502 MB / 0.669 GB, free: 44.48 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005859/2.153, allocations: 4.114 MB / 0.6731 GB, free: 44.13 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007224/2.16, allocations: 9.005 MB / 0.6819 GB, free: 36.04 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00646/2.166, allocations: 5.07 MB / 0.6868 GB, free: 34.04 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001593/2.167, allocations: 52 kB / 0.6869 GB, free: 33.98 MB / 250.7 MB Notification: Performance of matching and sorting (n=1078) (initialization): time 0.02159/2.188, allocations: 12.04 MB / 0.6986 GB, free: 24.07 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/2.188, allocations: 4 kB / 0.6986 GB, free: 24.07 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003783/2.189, allocations: 177.4 kB / 0.6988 GB, free: 23.9 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002474/2.191, allocations: 0.909 MB / 0.6997 GB, free: 23.19 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007258/2.198, allocations: 1.963 MB / 0.7016 GB, free: 21.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005213/2.204, allocations: 4.57 MB / 0.7061 GB, free: 17.4 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.017/2.221, allocations: 1.743 MB / 0.7078 GB, free: 16.24 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002511/2.223, allocations: 0.7557 MB / 0.7085 GB, free: 15.57 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 799 * 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.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[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 (1011): * Single equations (assignments): 993 * Array equations: 17 * 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.003225/2.226, allocations: 0.5314 MB / 0.709 GB, free: 15.03 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002259/2.229, allocations: 393.6 kB / 0.7094 GB, free: 14.64 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.121/2.35, allocations: 4.452 MB / 0.7137 GB, free: 44 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01775/2.368, allocations: 2.82 MB / 0.7165 GB, free: 44 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.732e-05/2.368, allocations: 3.969 kB / 0.7165 GB, free: 44 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.1e-05/2.368, allocations: 8.625 kB / 0.7165 GB, free: 44 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07423/2.442, allocations: 19.23 MB / 0.7353 GB, free: 43.62 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.03e-05/2.442, allocations: 0 / 0.7353 GB, free: 43.62 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002384/2.444, allocations: 382.8 kB / 0.7356 GB, free: 43.62 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001977/2.446, allocations: 0.6428 MB / 0.7363 GB, free: 43.62 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005575/2.447, allocations: 122.1 kB / 0.7364 GB, free: 43.62 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004574/2.451, allocations: 4.107 MB / 0.7404 GB, free: 42.37 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/2.452, allocations: 5.156 kB / 0.7404 GB, free: 42.37 MB / 250.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01548/2.467, allocations: 11.49 MB / 0.7516 GB, free: 41.67 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003153/2.47, allocations: 1.208 MB / 0.7528 GB, free: 41.58 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001326/2.472, allocations: 0 / 0.7528 GB, free: 41.58 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01158/2.483, allocations: 1.506 MB / 0.7543 GB, free: 41.58 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005202/2.484, allocations: 114.2 kB / 0.7544 GB, free: 41.58 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005891/2.484, allocations: 311.1 kB / 0.7547 GB, free: 41.58 MB / 250.7 MB Notification: Performance of sort global known variables: time 0.004565/2.489, allocations: 2.731 MB / 0.7574 GB, free: 41.4 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.008962/2.498, allocations: 1.247 MB / 0.7586 GB, free: 41.4 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.w,rotor1D.rotorWith3DEffects.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (200): * Single equations (assignments): 182 * Array equations: 17 * 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.0008039/2.499, allocations: 156.3 kB / 0.7587 GB, free: 41.31 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.03632/2.535, allocations: 12.34 MB / 0.7708 GB, free: 39.17 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/2.535, allocations: 0 / 0.7708 GB, free: 39.17 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02644/2.561, allocations: 6.457 MB / 0.7771 GB, free: 36.52 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003675/2.565, allocations: 344.9 kB / 0.7774 GB, free: 36.22 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0249/2.59, allocations: 11.33 MB / 0.7885 GB, free: 26.22 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009385/2.6, allocations: 5.343 MB / 0.7937 GB, free: 22.25 MB / 250.7 MB Notification: Performance of SimCode: time 7.22e-07/2.6, allocations: 0 / 0.7937 GB, free: 22.25 MB / 250.7 MB Notification: Performance of Templates: time 0.2194/2.819, allocations: 86.18 MB / 0.8778 GB, free: 18.2 MB / 250.7 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)