Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.MovingActuatedDrive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.2.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/Complex 3.2.1+maint.om/package.mo): time 0.004204/0.004204, allocations: 171.7 kB / 7.445 MB, free: 2.508 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.577/1.577, allocations: 170.6 MB / 178.4 MB, free: 15.47 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.00172/0.00172, allocations: 120.4 kB / 217.7 MB, free: 8.238 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.205e-06/8.205e-06, allocations: 0 / 261.7 MB, free: 26.68 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 38.77 MB / 300.5 MB, free: 3.922 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3518/0.4684, allocations: 86.53 MB / 387 MB, free: 14.28 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.4687, allocations: 84.89 kB / 387.1 MB, free: 14.24 MB / 282.7 MB Notification: Performance of FrontEnd: time 0.4751/0.9438, allocations: 93.88 MB / 481 MB, free: 67.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000263/0.9442, allocations: 104 kB / 481.1 MB, free: 67.67 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: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.0216/0.9658, allocations: 5.439 MB / 486.5 MB, free: 65.67 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.9658, allocations: 7.125 kB / 486.6 MB, free: 65.67 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/0.9774, allocations: 1.931 MB / 488.5 MB, free: 65.33 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01432/0.9918, allocations: 4.966 MB / 493.5 MB, free: 64.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000334/0.9922, allocations: 166.7 kB / 493.6 MB, free: 64.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002508/0.9947, allocations: 302.1 kB / 493.9 MB, free: 64.7 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01494/1.01, allocations: 7.983 MB / 0.4901 GB, free: 64.67 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0274/1.037, allocations: 11.74 MB / 0.5016 GB, free: 61.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005469/1.038, allocations: 73.47 kB / 0.5017 GB, free: 61.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003195/1.041, allocations: 33 kB / 0.5017 GB, free: 61.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002437/1.043, allocations: 1.265 MB / 0.5029 GB, free: 61.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08551/1.129, allocations: 55.55 MB / 0.5572 GB, free: 21.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005845/1.135, allocations: 4.452 MB / 0.5615 GB, free: 17.01 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004483/1.139, allocations: 3.319 MB / 0.5648 GB, free: 14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02118/1.161, allocations: 9.99 MB / 0.5745 GB, free: 5.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.199e-05/1.161, allocations: 51.88 kB / 0.5746 GB, free: 5.352 MB / 346.7 MB Notification: Performance of pre-optimization done (n=215): time 1.332e-05/1.161, allocations: 0 / 0.5746 GB, free: 5.352 MB / 346.7 MB Notification: Performance of matching and sorting (n=246): time 0.06404/1.225, allocations: 22.34 MB / 0.5964 GB, free: 2.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.979e-05/1.225, allocations: 151.1 kB / 0.5965 GB, free: 2.074 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1874/1.412, allocations: 3.416 MB / 0.5999 GB, free: 112.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007583/1.413, allocations: 25.7 kB / 0.5999 GB, free: 112.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002084/1.415, allocations: 3.414 MB / 0.6032 GB, free: 111.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001186/1.417, allocations: 0.908 MB / 0.6041 GB, free: 110.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003715/1.417, allocations: 0 / 0.6041 GB, free: 110.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003698/1.417, allocations: 0.6022 MB / 0.6047 GB, free: 110.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004165/1.421, allocations: 2.96 MB / 0.6076 GB, free: 110.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006135/1.428, allocations: 7.125 MB / 0.6146 GB, free: 104.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007163/1.435, allocations: 4.562 MB / 0.619 GB, free: 104.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001615/1.435, allocations: 43.28 kB / 0.6191 GB, free: 104.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=933) (initialization): time 0.02041/1.455, allocations: 10.06 MB / 0.6289 GB, free: 104.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/1.455, allocations: 5.844 kB / 0.6289 GB, free: 104.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002313/1.456, allocations: 149.7 kB / 0.629 GB, free: 104.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002784/1.459, allocations: 1.069 MB / 0.6301 GB, free: 104.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006709/1.465, allocations: 1.742 MB / 0.6318 GB, free: 104.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007677/1.473, allocations: 5.539 MB / 0.6372 GB, free: 102.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006678/1.48, allocations: 251.3 kB / 0.6374 GB, free: 102.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001493/1.481, allocations: 455 kB / 0.6379 GB, free: 102.7 MB / 362.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.001276/1.482, allocations: 473.9 kB / 0.6383 GB, free: 102.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008952/1.483, allocations: 373.7 kB / 0.6387 GB, free: 102.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008552/1.492, allocations: 5.351 MB / 0.6439 GB, free: 101.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.523e-05/1.492, allocations: 22.62 kB / 0.6439 GB, free: 101.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.7e-05/1.492, allocations: 2.812 kB / 0.6439 GB, free: 101.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.231e-05/1.492, allocations: 13.17 kB / 0.6439 GB, free: 101.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0197/1.512, allocations: 10.73 MB / 0.6544 GB, free: 97.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/1.512, allocations: 9.438 kB / 0.6544 GB, free: 97.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002702/1.515, allocations: 461.3 kB / 0.6549 GB, free: 97.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002384/1.517, allocations: 0.8708 MB / 0.6557 GB, free: 97.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003093/1.517, allocations: 10.39 kB / 0.6557 GB, free: 97.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006623/1.524, allocations: 5.246 MB / 0.6608 GB, free: 94.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/1.524, allocations: 3.969 kB / 0.6608 GB, free: 94.71 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01255/1.536, allocations: 9.56 MB / 0.6702 GB, free: 89.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002372/1.539, allocations: 0.8342 MB / 0.671 GB, free: 88.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001321/1.54, allocations: 7.609 kB / 0.671 GB, free: 88.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002744/1.543, allocations: 89.42 kB / 0.6711 GB, free: 88.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004072/1.543, allocations: 131.6 kB / 0.6712 GB, free: 88.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002252/1.544, allocations: 71.75 kB / 0.6713 GB, free: 88.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.004549/1.548, allocations: 2.281 MB / 0.6735 GB, free: 86.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.008451/1.557, allocations: 1.079 MB / 0.6746 GB, free: 85.03 MB / 362.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.001067/1.558, allocations: 153.5 kB / 0.6747 GB, free: 84.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01154/1.569, allocations: 7.004 MB / 0.6816 GB, free: 78.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.569, allocations: 0 / 0.6816 GB, free: 78.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003534/1.573, allocations: 2.635 MB / 0.6841 GB, free: 76.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002668/1.576, allocations: 340.7 kB / 0.6844 GB, free: 75.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02231/1.598, allocations: 10.02 MB / 0.6942 GB, free: 67.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005735/1.604, allocations: 4.235 MB / 0.6984 GB, free: 63.77 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/1.604, allocations: 0 / 0.6984 GB, free: 63.77 MB / 362.7 MB Notification: Performance of Templates: time 0.268/1.872, allocations: 48.32 MB / 0.7456 GB, free: 99.48 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1)