Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001905/0.001905, allocations: 170 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.225/1.225, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001626/0.001626, allocations: 103.5 kB / 223.2 MB, free: 4.051 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1622/0.1622, allocations: 37.99 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.39e-05/3.392e-05, allocations: 4 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07497/0.07501, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3259/0.401, allocations: 95.69 MB / 0.4896 GB, free: 16.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.4012, allocations: 79.08 kB / 0.4897 GB, free: 16.53 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5962/0.9974, allocations: 147.6 MB / 0.6338 GB, free: 65.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.9975, allocations: 0 / 0.6338 GB, free: 65.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.00049/0.998, allocations: 144 kB / 0.634 GB, free: 65.31 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2272 * Number of variables: 2272 Notification: Performance of Generate backend data structure: time 0.03508/1.033, allocations: 8.562 MB / 0.6423 GB, free: 62.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/1.033, allocations: 11.72 kB / 0.6424 GB, free: 62.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05696/1.09, allocations: 16.68 MB / 0.6587 GB, free: 62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03204/1.122, allocations: 13.3 MB / 0.6716 GB, free: 60.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004333/1.123, allocations: 0.4891 MB / 0.6721 GB, free: 60.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003004/1.126, allocations: 0.663 MB / 0.6728 GB, free: 60.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03605/1.162, allocations: 16.77 MB / 0.6891 GB, free: 56.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003076/1.162, allocations: 106.9 kB / 0.6892 GB, free: 56.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001043/1.163, allocations: 322.6 kB / 0.6896 GB, free: 56.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001689/1.165, allocations: 1.464 MB / 0.691 GB, free: 56.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02808/1.193, allocations: 13.48 MB / 0.7041 GB, free: 54.35 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08739/1.28, allocations: 76.74 MB / 0.7791 GB, free: 188 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2826/1.563, allocations: 8.586 MB / 0.7875 GB, free: 74.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00619/1.569, allocations: 4.087 MB / 0.7915 GB, free: 74.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001838/1.571, allocations: 1.347 MB / 0.7928 GB, free: 73.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.523e-05/1.571, allocations: 66.36 kB / 0.7928 GB, free: 73.26 MB / 442.7 MB Notification: Performance of pre-optimization done (n=268): time 7.114e-06/1.571, allocations: 0 / 0.7928 GB, free: 73.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=352): time 0.1302/1.701, allocations: 44.91 MB / 0.8367 GB, free: 68.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001887/1.703, allocations: 3.239 MB / 0.8399 GB, free: 65.47 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01145/1.715, allocations: 6.495 MB / 0.8462 GB, free: 64.94 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001182/1.716, allocations: 77.47 kB / 0.8463 GB, free: 64.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00389/1.72, allocations: 5.197 MB / 0.8514 GB, free: 61.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001886/1.722, allocations: 1.34 MB / 0.8527 GB, free: 60.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006507/1.722, allocations: 196.2 kB / 0.8528 GB, free: 60.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004308/1.723, allocations: 0.7054 MB / 0.8535 GB, free: 60.27 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005705/1.729, allocations: 4.479 MB / 0.8579 GB, free: 58.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007853/1.737, allocations: 9.745 MB / 0.8674 GB, free: 50.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009113/1.746, allocations: 6.524 MB / 0.8738 GB, free: 48.02 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001564/1.746, allocations: 51.81 kB / 0.8738 GB, free: 48.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.06999/1.816, allocations: 31.42 MB / 0.9045 GB, free: 29.04 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001215/1.816, allocations: 85.78 kB / 0.9046 GB, free: 28.96 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04475/1.861, allocations: 20.58 MB / 0.9247 GB, free: 9.688 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04553/1.906, allocations: 16.59 MB / 0.9409 GB, free: 9.055 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2583/2.165, allocations: 2.111 MB / 0.943 GB, free: 77.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04505/2.21, allocations: 33.33 MB / 0.9755 GB, free: 72.65 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009398/2.219, allocations: 0.7731 MB / 0.9763 GB, free: 72.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001983/2.221, allocations: 0.5599 MB / 0.9768 GB, free: 72.65 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 842 * Number of states: 0 () * Number of discrete variables: 60 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],bodyCylinder4.color[3],bodyCylinder4.color[2],bodyCylinder4.color[1],bodyCylinder4.body.sphereColor[3],bodyCylinder4.body.sphereColor[2],bodyCylinder4.body.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],spherical2.sphereColor[3],spherical2.sphereColor[2],spherical2.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1089): * Single equations (assignments): 1076 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 38,(4,100.0%) 41} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.002043/2.223, allocations: 0.8087 MB / 0.9776 GB, free: 72.54 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001407/2.225, allocations: 0.6714 MB / 0.9783 GB, free: 72.54 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01862/2.243, allocations: 10.15 MB / 0.9882 GB, free: 71.58 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01589/2.259, allocations: 8.849 MB / 0.9968 GB, free: 68.61 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-05/2.259, allocations: 17.06 kB / 0.9968 GB, free: 68.61 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-05/2.259, allocations: 21.17 kB / 0.9969 GB, free: 68.61 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04127/2.301, allocations: 23.36 MB / 1.02 GB, free: 60.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.235e-05/2.301, allocations: 3.625 kB / 1.02 GB, free: 60.01 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003014/2.304, allocations: 0.5566 MB / 1.02 GB, free: 60 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01223/2.316, allocations: 4.016 MB / 1.024 GB, free: 59.29 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00082/2.317, allocations: 99 kB / 1.024 GB, free: 59.24 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0261/2.343, allocations: 23.99 MB / 1.048 GB, free: 45.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001461/2.344, allocations: 2.989 MB / 1.051 GB, free: 42.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0236/2.368, allocations: 15.48 MB / 1.066 GB, free: 32.95 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004694/2.373, allocations: 1.385 MB / 1.067 GB, free: 31.67 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001953/2.375, allocations: 86.42 kB / 1.067 GB, free: 31.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005072/2.38, allocations: 359.4 kB / 1.067 GB, free: 31.38 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001046/2.381, allocations: 252.5 kB / 1.068 GB, free: 31.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003403/2.381, allocations: 101.2 kB / 1.068 GB, free: 31.16 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.009188/2.391, allocations: 4.634 MB / 1.072 GB, free: 27.11 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.21e-07/2.391, allocations: 0 / 1.072 GB, free: 27.11 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01203/2.403, allocations: 2.129 MB / 1.074 GB, free: 25 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],fixedRotation1.frame_b.R.w[1],fixedRotation1.frame_b.R.w[2],fixedRotation1.frame_b.R.w[3],revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (244): * Single equations (assignments): 233 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(5,100.0%) 35,(1,100.0%) 1,(3,100.0%) 33,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001136/2.404, allocations: 224.1 kB / 1.075 GB, free: 24.81 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01789/2.422, allocations: 11.81 MB / 1.086 GB, free: 14.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/2.422, allocations: 0 / 1.086 GB, free: 14.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007685/2.429, allocations: 5.156 MB / 1.091 GB, free: 10.02 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006295/2.436, allocations: 0.9482 MB / 1.092 GB, free: 9.23 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04348/2.479, allocations: 16.43 MB / 1.108 GB, free: 10.82 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2681/2.747, allocations: 5.506 MB / 1.114 GB, free: 83.61 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009848/2.757, allocations: 3.167 MB / 1.117 GB, free: 83.55 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002591/2.76, allocations: 450.8 kB / 1.117 GB, free: 83.55 MB / 474.7 MB Notification: Performance of SimCode: time 1.143e-06/2.76, allocations: 3.188 kB / 1.117 GB, free: 83.55 MB / 474.7 MB Notification: Performance of Templates: time 0.1539/2.914, allocations: 98.84 MB / 1.214 GB, free: 56.39 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe 2>&1)