Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008172/0.000817, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006356/0.006356, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3145/0.3145, allocations: 38.03 MB / 308.8 MB, free: 10.37 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006448/0.0006448, allocations: 20 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1153, allocations: 57.52 MB / 434.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.2535/0.3689, allocations: 48.95 MB / 483.5 MB, free: 25.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02285/0.3918, allocations: 10.28 MB / 493.8 MB, free: 19.44 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.011/0.4028, allocations: 211.5 kB / 494 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.4043, allocations: 430.8 kB / 494.4 MB, free: 19.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004188/0.4085, allocations: 1.764 MB / 496.2 MB, free: 18.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.4097, allocations: 0.5212 MB / 496.7 MB, free: 18.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005804/0.4155, allocations: 5.512 MB / 0.4905 GB, free: 16.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00713/0.4227, allocations: 5.208 MB / 0.4955 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002609/0.4253, allocations: 1.127 MB / 0.4966 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003855/0.4292, allocations: 1.956 MB / 0.4986 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001235/0.4304, allocations: 145.8 kB / 0.4987 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003618/0.4341, allocations: 0.9236 MB / 0.4996 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003198/0.4373, allocations: 1.705 MB / 0.5013 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004469/0.4418, allocations: 2.007 MB / 0.5032 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01047/0.4523, allocations: 6.679 MB / 0.5097 GB, free: 8.941 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.4523, allocations: 4 kB / 0.5097 GB, free: 8.938 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.4523, allocations: 0 / 0.5097 GB, free: 8.938 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002854/0.4526, allocations: 0 / 0.5097 GB, free: 8.938 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01874/0.4714, allocations: 4.386 MB / 0.514 GB, free: 6.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.4715, allocations: 13.67 kB / 0.514 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008522/0.48, allocations: 1.934 MB / 0.5159 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005749/0.4858, allocations: 2.371 MB / 0.5182 GB, free: 3.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002667/0.4861, allocations: 235 kB / 0.5185 GB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001561/0.4876, allocations: 315.3 kB / 0.5188 GB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02442/0.5121, allocations: 10.76 MB / 0.5293 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002156/0.5123, allocations: 43.59 kB / 0.5293 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001596/0.514, allocations: 151.8 kB / 0.5295 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004123/0.5181, allocations: 1.982 MB / 0.5314 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02247/0.5406, allocations: 9.654 MB / 0.5408 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05771/0.5984, allocations: 39.24 MB / 0.5791 GB, free: 6.172 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01416/0.6126, allocations: 3.935 MB / 0.583 GB, free: 2.086 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003108/0.6157, allocations: 1.892 MB / 0.5848 GB, free: 184 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001016/0.6168, allocations: 0.6829 MB / 0.5855 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.6168, allocations: 51.55 kB / 0.5856 GB, free: 15.33 MB / 462.1 MB Notification: Performance of pre-optimization done (n=151): time 4.92e-06/0.6169, allocations: 0 / 0.5856 GB, free: 15.33 MB / 462.1 MB Notification: Performance of matching and sorting (n=157): time 0.04404/0.6609, allocations: 13.93 MB / 0.5992 GB, free: 1.281 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.6611, allocations: 153.5 kB / 0.5993 GB, free: 1.098 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006113/0.6672, allocations: 4.074 MB / 0.6033 GB, free: 12.99 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002274/0.6674, allocations: 49.7 kB / 0.6033 GB, free: 12.94 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002306/0.6697, allocations: 3.125 MB / 0.6064 GB, free: 9.77 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006343/0.6704, allocations: 0.6172 MB / 0.607 GB, free: 9.145 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006098/0.671, allocations: 0.4911 MB / 0.6075 GB, free: 8.645 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6712, allocations: 309.1 kB / 0.6078 GB, free: 8.34 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003066/0.6742, allocations: 2.108 MB / 0.6098 GB, free: 6.227 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005731/0.68, allocations: 5.804 MB / 0.6155 GB, free: 14.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/0.6911, allocations: 8.604 MB / 0.6239 GB, free: 4.125 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001058/0.6912, allocations: 36 kB / 0.6239 GB, free: 4.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=761) (initialization): time 0.2258/0.917, allocations: 8.429 MB / 0.6322 GB, free: 141.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.913e-05/0.9171, allocations: 61.5 kB / 0.6322 GB, free: 141.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000111/0.9172, allocations: 133.7 kB / 0.6323 GB, free: 141.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002075/0.9193, allocations: 0.9076 MB / 0.6332 GB, free: 141.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003609/0.9229, allocations: 1.382 MB / 0.6346 GB, free: 141.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005119/0.9281, allocations: 4.854 MB / 0.6393 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003802/0.9319, allocations: 325.1 kB / 0.6396 GB, free: 140.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004178/0.9323, allocations: 376.1 kB / 0.64 GB, free: 140.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 36 (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.groundColor[3],world.groundColor[2],world.groundColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (722): * Single equations (assignments): 718 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003195/0.9355, allocations: 2.09 MB / 0.642 GB, free: 140.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004545/0.936, allocations: 346.3 kB / 0.6424 GB, free: 140.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004927/0.9409, allocations: 3.174 MB / 0.6455 GB, free: 139.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/0.9409, allocations: 23.34 kB / 0.6455 GB, free: 139.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.669e-06/0.941, allocations: 5.656 kB / 0.6455 GB, free: 139.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.941, allocations: 6.938 kB / 0.6455 GB, free: 139.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/0.9517, allocations: 7.976 MB / 0.6533 GB, free: 136.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.9517, allocations: 0 / 0.6533 GB, free: 136.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/0.953, allocations: 316.6 kB / 0.6536 GB, free: 136.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001855/0.9549, allocations: 0.7144 MB / 0.6543 GB, free: 136.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.955, allocations: 39.78 kB / 0.6543 GB, free: 136.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004915/0.9599, allocations: 4.434 MB / 0.6586 GB, free: 134 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.9599, allocations: 2.25 kB / 0.6587 GB, free: 134 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008051/0.968, allocations: 5.743 MB / 0.6643 GB, free: 131.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001614/0.9696, allocations: 0.6348 MB / 0.6649 GB, free: 131.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004309/0.9701, allocations: 31.95 kB / 0.6649 GB, free: 131.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/0.9714, allocations: 99.69 kB / 0.665 GB, free: 131.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002968/0.9717, allocations: 98.94 kB / 0.6651 GB, free: 131.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.9718, allocations: 53 kB / 0.6651 GB, free: 131.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004295/0.9761, allocations: 2.552 MB / 0.6676 GB, free: 130.6 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.9762, allocations: 0 / 0.6676 GB, free: 130.6 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006148/0.9823, allocations: 0.9555 MB / 0.6686 GB, free: 130.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 122 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004298/0.9828, allocations: 163.5 kB / 0.6687 GB, free: 130.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008144/0.9909, allocations: 5.033 MB / 0.6736 GB, free: 128.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.9909, allocations: 0 / 0.6736 GB, free: 128.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001791/0.9927, allocations: 1.559 MB / 0.6752 GB, free: 128 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003314/0.9961, allocations: 412.8 kB / 0.6756 GB, free: 127.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/1.009, allocations: 11.13 MB / 0.6864 GB, free: 121.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00263/1.012, allocations: 3.242 MB / 0.6896 GB, free: 119.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00382/1.015, allocations: 1.888 MB / 0.6914 GB, free: 118 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006047/1.016, allocations: 269.8 kB / 0.6917 GB, free: 117.7 MB / 494.1 MB Notification: Performance of SimCode: time 7.42e-07/1.016, allocations: 0 / 0.6917 GB, free: 117.7 MB / 494.1 MB Notification: Performance of Templates: time 0.05372/1.07, allocations: 35.39 MB / 0.7263 GB, free: 83.47 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) Environment - environmentSimulation: