Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.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.2.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/Complex 3.2.1+maint.om/package.mo): time 0.005035/0.005035, allocations: 178.9 kB / 7.451 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.5/1.5, allocations: 170.6 MB / 178.4 MB, free: 15.46 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00163/0.00163, allocations: 115.8 kB / 217.7 MB, free: 8.227 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.917e-06/9.217e-06, allocations: 4 kB / 261.7 MB, free: 26.66 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09584/0.09586, allocations: 38.75 MB / 300.5 MB, free: 3.914 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3303/0.4262, allocations: 85.82 MB / 386.3 MB, free: 14.96 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.4265, allocations: 85.89 kB / 386.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of FrontEnd: time 0.2329/0.6594, allocations: 81.08 MB / 467.5 MB, free: 3.438 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004017/0.6599, allocations: 80.19 kB / 467.6 MB, free: 3.359 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.2341/0.8941, allocations: 4.404 MB / 472 MB, free: 106.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.8942, allocations: 7.719 kB / 472 MB, free: 106.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01049/0.9046, allocations: 1.821 MB / 473.8 MB, free: 106.6 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01397/0.9187, allocations: 4.513 MB / 478.3 MB, free: 106.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004347/0.9192, allocations: 137.8 kB / 478.4 MB, free: 106.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003033/0.9222, allocations: 245.8 kB / 478.7 MB, free: 106.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01689/0.9392, allocations: 6.53 MB / 485.2 MB, free: 106.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02743/0.9667, allocations: 9.859 MB / 495.1 MB, free: 103.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004768/0.9672, allocations: 68.88 kB / 495.1 MB, free: 103.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002907/0.9701, allocations: 31 kB / 495.2 MB, free: 103.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002097/0.9723, allocations: 1.056 MB / 496.2 MB, free: 103.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06537/1.038, allocations: 47.6 MB / 0.5311 GB, free: 71.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004042/1.042, allocations: 3.328 MB / 0.5343 GB, free: 69.54 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002254/1.044, allocations: 1.911 MB / 0.5362 GB, free: 68.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01145/1.056, allocations: 5.914 MB / 0.542 GB, free: 65.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.309e-05/1.056, allocations: 43 kB / 0.542 GB, free: 65.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=139): time 7.534e-06/1.056, allocations: 6.719 kB / 0.542 GB, free: 65.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=146): time 0.02527/1.081, allocations: 11.23 MB / 0.553 GB, free: 55.72 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/1.081, allocations: 148.6 kB / 0.5531 GB, free: 55.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007408/1.088, allocations: 3.191 MB / 0.5562 GB, free: 52.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003934/1.089, allocations: 25.7 kB / 0.5563 GB, free: 52.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002008/1.091, allocations: 3.042 MB / 0.5592 GB, free: 49.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008894/1.092, allocations: 0.5745 MB / 0.5598 GB, free: 49.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006733/1.092, allocations: 0 / 0.5598 GB, free: 49.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005819/1.093, allocations: 0.5607 MB / 0.5603 GB, free: 48.96 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003095/1.096, allocations: 1.925 MB / 0.5622 GB, free: 47.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004327/1.101, allocations: 5.86 MB / 0.568 GB, free: 39.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00457/1.105, allocations: 3.359 MB / 0.5712 GB, free: 36.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.966e-05/1.105, allocations: 40 kB / 0.5713 GB, free: 36.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01333/1.119, allocations: 7.42 MB / 0.5785 GB, free: 30.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/1.119, allocations: 8 kB / 0.5785 GB, free: 30.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001306/1.119, allocations: 143.9 kB / 0.5787 GB, free: 30.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002232/1.121, allocations: 0.8626 MB / 0.5795 GB, free: 29.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004752/1.126, allocations: 1.427 MB / 0.5809 GB, free: 28.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005547/1.131, allocations: 4.503 MB / 0.5853 GB, free: 24.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005851/1.137, allocations: 202.1 kB / 0.5855 GB, free: 24.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001472/1.139, allocations: 387.4 kB / 0.5859 GB, free: 23.75 MB / 346.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.002159/1.141, allocations: 457.1 kB / 0.5863 GB, free: 23.3 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001164/1.142, allocations: 319.5 kB / 0.5866 GB, free: 22.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006319/1.148, allocations: 2.685 MB / 0.5892 GB, free: 20.85 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-05/1.148, allocations: 16 kB / 0.5892 GB, free: 20.83 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.779e-05/1.148, allocations: 7.906 kB / 0.5892 GB, free: 20.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/1.149, allocations: 18.02 kB / 0.5893 GB, free: 20.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01547/1.164, allocations: 6.119 MB / 0.5952 GB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.838e-05/1.164, allocations: 1.938 kB / 0.5952 GB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/1.165, allocations: 231.7 kB / 0.5955 GB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002093/1.168, allocations: 0.6387 MB / 0.5961 GB, free: 15 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002442/1.168, allocations: 11.84 kB / 0.5961 GB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004831/1.173, allocations: 4.111 MB / 0.6001 GB, free: 10.77 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/1.173, allocations: 7.906 kB / 0.6001 GB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007608/1.18, allocations: 5.078 MB / 0.6051 GB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00198/1.182, allocations: 0.571 MB / 0.6056 GB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/1.183, allocations: 0 / 0.6056 GB, free: 5.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001874/1.185, allocations: 43.94 kB / 0.6057 GB, free: 5.004 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002433/1.186, allocations: 72.61 kB / 0.6057 GB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/1.186, allocations: 40 kB / 0.6058 GB, free: 4.891 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.005395/1.191, allocations: 2.132 MB / 0.6079 GB, free: 2.773 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.007417/1.199, allocations: 0.8172 MB / 0.6087 GB, free: 1.961 MB / 346.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.0007133/1.199, allocations: 139 kB / 0.6088 GB, free: 1.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.2/1.399, allocations: 4.564 MB / 0.6132 GB, free: 96.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/1.399, allocations: 0 / 0.6132 GB, free: 96.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001849/1.401, allocations: 1.325 MB / 0.6145 GB, free: 95.95 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/1.403, allocations: 303.1 kB / 0.6148 GB, free: 95.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01696/1.42, allocations: 7.228 MB / 0.6219 GB, free: 94.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005389/1.426, allocations: 3.583 MB / 0.6254 GB, free: 93.75 MB / 346.7 MB Notification: Performance of SimCode: time 2.074e-06/1.426, allocations: 9.422 kB / 0.6254 GB, free: 93.75 MB / 346.7 MB Notification: Performance of Templates: time 0.0746/1.5, allocations: 32.92 MB / 0.6575 GB, free: 92.08 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1)