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/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.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") [: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.8805/0.8805, allocations: 110.8 MB / 118 MB, free: 14.54 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001771/0.001771, allocations: 152 kB / 143.7 MB, free: 4.867 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 5.68e-06/5.7e-06, allocations: 0 / 173.5 MB, free: 23.02 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04454/0.04456, allocations: 25.17 MB / 198.6 MB, free: 13.93 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1821/0.2267, allocations: 50.8 MB / 249.4 MB, free: 2 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.227, allocations: 72.59 kB / 249.5 MB, free: 1.992 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.7931/1.02, allocations: 194.5 MB / 444 MB, free: 26.35 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.0004053/1.021, allocations: 127.6 kB / 444.1 MB, free: 26.35 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: 2462 * Number of variables: 2462 Notification: Performance of Generate backend data structure: time 0.0396/1.06, allocations: 8.77 MB / 452.9 MB, free: 23.63 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/1.06, allocations: 14.14 kB / 452.9 MB, free: 23.63 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1334/1.194, allocations: 22.56 MB / 475.5 MB, free: 21.02 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02031/1.214, allocations: 7.055 MB / 482.5 MB, free: 17.08 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005071/1.215, allocations: 238.8 kB / 482.7 MB, free: 16.85 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00557/1.22, allocations: 394.1 kB / 483.1 MB, free: 16.47 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03325/1.253, allocations: 19.06 MB / 0.4904 GB, free: 1.5 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1565/1.41, allocations: 21.24 MB / 0.5112 GB, free: 46.41 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002938/1.41, allocations: 43 kB / 0.5112 GB, free: 46.41 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003707/1.414, allocations: 23.69 kB / 0.5112 GB, free: 46.41 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.04959/1.464, allocations: 9.22 MB / 0.5202 GB, free: 46.39 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6726/2.136, allocations: 132.4 MB / 0.6495 GB, free: 32.47 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01017/2.146, allocations: 7.239 MB / 0.6566 GB, free: 31.59 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008054/2.155, allocations: 5.752 MB / 0.6622 GB, free: 31.47 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1654/2.32, allocations: 38.98 MB / 0.7003 GB, free: 15.94 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.462e-05/2.32, allocations: 70.34 kB / 0.7003 GB, free: 15.87 MB / 250.7 MB Notification: Performance of pre-optimization done (n=355): time 9.508e-06/2.32, allocations: 0 / 0.7003 GB, free: 15.87 MB / 250.7 MB Notification: Performance of matching and sorting (n=404): time 0.1625/2.483, allocations: 31.83 MB / 0.7314 GB, free: 45.25 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/2.483, allocations: 196.4 kB / 0.7316 GB, free: 45.05 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007031/2.49, allocations: 4.436 MB / 0.7359 GB, free: 44.64 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001517/2.491, allocations: 29.42 kB / 0.736 GB, free: 44.61 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00229/2.494, allocations: 4.333 MB / 0.7402 GB, free: 42 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002468/2.496, allocations: 1.425 MB / 0.7416 GB, free: 41.12 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009689/2.497, allocations: 0 / 0.7416 GB, free: 41.12 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0005144/2.498, allocations: 0.7216 MB / 0.7423 GB, free: 40.8 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01013/2.508, allocations: 5.617 MB / 0.7478 GB, free: 40.77 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01955/2.527, allocations: 10.78 MB / 0.7583 GB, free: 33.36 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01637/2.544, allocations: 6.725 MB / 0.7649 GB, free: 31.29 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000198/2.544, allocations: 52.62 kB / 0.7649 GB, free: 31.29 MB / 250.7 MB Notification: Performance of matching and sorting (n=1272) (initialization): time 0.05556/2.6, allocations: 15.67 MB / 0.7802 GB, free: 26.57 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/2.6, allocations: 7.281 kB / 0.7802 GB, free: 26.57 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003834/2.6, allocations: 180.7 kB / 0.7804 GB, free: 26.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005587/2.606, allocations: 1.134 MB / 0.7815 GB, free: 26.39 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02066/2.626, allocations: 2.411 MB / 0.7839 GB, free: 26.12 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01285/2.639, allocations: 5.6 MB / 0.7893 GB, free: 23.38 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03769/2.677, allocations: 1.998 MB / 0.7913 GB, free: 22.95 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00517/2.682, allocations: 0.8682 MB / 0.7921 GB, free: 22.2 MB / 250.7 MB Warning: Assuming fixed start value for the following 2 variables: r2.w:VARIABLE(start = 0.0 unit = "rad/s" stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real r1.w:VARIABLE(start = 0.0 unit = "rad/s" stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 832 * 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.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 (1201): * Single equations (assignments): 1181 * Array equations: 19 * 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.006195/2.688, allocations: 0.5611 MB / 0.7927 GB, free: 21.63 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003909/2.692, allocations: 469.8 kB / 0.7931 GB, free: 21.17 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1584/2.851, allocations: 8.429 MB / 0.8014 GB, free: 40.66 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02053/2.871, allocations: 3.161 MB / 0.8044 GB, free: 40.66 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.096e-05/2.872, allocations: 4.656 kB / 0.8045 GB, free: 40.66 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001483/2.872, allocations: 19.27 kB / 0.8045 GB, free: 40.66 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09249/2.964, allocations: 26.39 MB / 0.8302 GB, free: 39.8 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.496e-05/2.964, allocations: 3.5 kB / 0.8302 GB, free: 39.8 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004161/2.968, allocations: 0.6799 MB / 0.8309 GB, free: 39.8 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002373/2.971, allocations: 0.8653 MB / 0.8318 GB, free: 39.79 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001283/2.972, allocations: 149.5 kB / 0.8319 GB, free: 39.79 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005875/2.978, allocations: 5.238 MB / 0.837 GB, free: 38.54 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/2.978, allocations: 3.938 kB / 0.837 GB, free: 38.54 MB / 250.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02297/3.001, allocations: 17.58 MB / 0.8542 GB, free: 34 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004492/3.006, allocations: 1.602 MB / 0.8557 GB, free: 33.5 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002276/3.008, allocations: 7.484 kB / 0.8558 GB, free: 33.5 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01462/3.022, allocations: 1.731 MB / 0.8574 GB, free: 33.45 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001103/3.024, allocations: 190.1 kB / 0.8576 GB, free: 33.42 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001228/3.025, allocations: 385.3 kB / 0.858 GB, free: 33.39 MB / 250.7 MB Notification: Performance of sort global known variables: time 0.006435/3.031, allocations: 2.957 MB / 0.8609 GB, free: 32.3 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.01249/3.044, allocations: 1.599 MB / 0.8624 GB, free: 32.3 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.w,rotor1D.rotorWith3DEffects.phi,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (345): * Single equations (assignments): 325 * Array equations: 19 * 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.001707/3.046, allocations: 169.2 kB / 0.8626 GB, free: 32.21 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0469/3.092, allocations: 16.65 MB / 0.8789 GB, free: 19.36 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/3.093, allocations: 0 / 0.8789 GB, free: 19.36 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1512/3.244, allocations: 9.607 MB / 0.8882 GB, free: 40.67 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003668/3.247, allocations: 372.2 kB / 0.8886 GB, free: 40.65 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02907/3.277, allocations: 14.84 MB / 0.9031 GB, free: 38.38 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01157/3.288, allocations: 6.24 MB / 0.9092 GB, free: 37.51 MB / 250.7 MB Notification: Performance of SimCode: time 7.41e-07/3.288, allocations: 0 / 0.9092 GB, free: 37.51 MB / 250.7 MB Notification: Performance of Templates: time 0.2801/3.568, allocations: 111.1 MB / 1.018 GB, free: 36.25 MB / 250.7 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)