Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_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.2_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.001235/0.001235, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001563/0.001563, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.589/1.589, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3632/0.3632, allocations: 39.99 MB / 310.4 MB, free: 9.727 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.2. 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.0006009/0.000601, allocations: 12 kB / 378.8 MB, free: 12.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1328, allocations: 57.96 MB / 436.8 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.2958/0.4287, allocations: 43.03 MB / 479.8 MB, free: 27.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02499/0.4538, allocations: 10.24 MB / 490 MB, free: 20.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01091/0.4647, allocations: 211.7 kB / 490.2 MB, free: 20.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008714/0.4735, allocations: 2.108 MB / 492.4 MB, free: 20.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02192/0.4955, allocations: 6.21 MB / 498.6 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003171/0.4987, allocations: 0.5188 MB / 499.1 MB, free: 17.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004274/0.503, allocations: 2.12 MB / 0.4895 GB, free: 16.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006335/0.5093, allocations: 4.477 MB / 0.4938 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/0.5114, allocations: 1.002 MB / 0.4948 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002044/0.5135, allocations: 1.363 MB / 0.4961 GB, free: 13.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005555/0.514, allocations: 141.7 kB / 0.4963 GB, free: 13.6 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.516, allocations: 0.7594 MB / 0.497 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001809/0.5178, allocations: 1.549 MB / 0.4985 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009874/0.5188, allocations: 0.8314 MB / 0.4993 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008537/0.5273, allocations: 5.537 MB / 0.5047 GB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5274, allocations: 0 / 0.5047 GB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.5274, allocations: 1.25 kB / 0.5047 GB, free: 10.64 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003166/0.5277, allocations: 0 / 0.5047 GB, free: 10.64 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.02026/0.548, allocations: 4.539 MB / 0.5092 GB, free: 7.664 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.548, allocations: 12.83 kB / 0.5092 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009248/0.5573, allocations: 2.234 MB / 0.5114 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007041/0.5644, allocations: 2.525 MB / 0.5138 GB, free: 4.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/0.5646, allocations: 243.6 kB / 0.5141 GB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001062/0.5657, allocations: 314.1 kB / 0.5144 GB, free: 4.719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02421/0.5899, allocations: 10.79 MB / 0.5249 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001795/0.5902, allocations: 51.58 kB / 0.525 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008683/0.5911, allocations: 151.9 kB / 0.5251 GB, free: 12.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003895/0.595, allocations: 1.982 MB / 0.527 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02231/0.6173, allocations: 9.701 MB / 0.5365 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06183/0.6792, allocations: 39.28 MB / 0.5749 GB, free: 8.297 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01372/0.6929, allocations: 3.974 MB / 0.5788 GB, free: 4.168 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/0.6941, allocations: 0.675 MB / 0.5794 GB, free: 3.383 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.865e-05/0.6941, allocations: 59.48 kB / 0.5795 GB, free: 3.316 MB / 446.1 MB Notification: Performance of pre-optimization done (n=151): time 4.879e-06/0.6941, allocations: 0 / 0.5795 GB, free: 3.316 MB / 446.1 MB Notification: Performance of matching and sorting (n=157): time 0.0489/0.743, allocations: 14.28 MB / 0.5934 GB, free: 4.871 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.7432, allocations: 149.4 kB / 0.5936 GB, free: 4.695 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007675/0.7509, allocations: 4.195 MB / 0.5977 GB, free: 484 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006169/0.7515, allocations: 45.7 kB / 0.5977 GB, free: 432 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003019/0.7546, allocations: 3.129 MB / 0.6008 GB, free: 13.25 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001243/0.7558, allocations: 0.6211 MB / 0.6014 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003022/0.7561, allocations: 116 kB / 0.6015 GB, free: 12.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000437/0.7566, allocations: 0.546 MB / 0.602 GB, free: 11.95 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003691/0.7603, allocations: 2.077 MB / 0.604 GB, free: 9.867 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00582/0.7661, allocations: 5.76 MB / 0.6097 GB, free: 2.246 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005126/0.7713, allocations: 3.38 MB / 0.613 GB, free: 14.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.992e-05/0.7714, allocations: 40 kB / 0.613 GB, free: 14.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=757) (initialization): time 0.01667/0.7881, allocations: 8.354 MB / 0.6212 GB, free: 6.461 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.296e-05/0.7882, allocations: 64.97 kB / 0.6212 GB, free: 6.398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001922/0.7884, allocations: 128 kB / 0.6213 GB, free: 6.273 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002509/0.7909, allocations: 0.9275 MB / 0.6222 GB, free: 5.344 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005164/0.7961, allocations: 1.372 MB / 0.6236 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3408/1.137, allocations: 4.973 MB / 0.6284 GB, free: 105.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006221/1.143, allocations: 326.3 kB / 0.6288 GB, free: 105.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00136/1.145, allocations: 371.6 kB / 0.6291 GB, free: 105.4 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 (718): * Single equations (assignments): 714 * 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.005091/1.15, allocations: 2.084 MB / 0.6311 GB, free: 105.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007825/1.15, allocations: 344.3 kB / 0.6315 GB, free: 105.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005862/1.156, allocations: 3.173 MB / 0.6346 GB, free: 105.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.403e-05/1.156, allocations: 17.78 kB / 0.6346 GB, free: 105.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/1.156, allocations: 9.625 kB / 0.6346 GB, free: 105.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/1.156, allocations: 8.797 kB / 0.6346 GB, free: 105.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01596/1.172, allocations: 7.982 MB / 0.6424 GB, free: 104.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.728e-05/1.172, allocations: 9.547 kB / 0.6424 GB, free: 104.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/1.174, allocations: 306.8 kB / 0.6427 GB, free: 104.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002036/1.176, allocations: 0.7223 MB / 0.6434 GB, free: 104.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001914/1.176, allocations: 38.44 kB / 0.6434 GB, free: 104.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005779/1.182, allocations: 4.53 MB / 0.6479 GB, free: 103.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.182, allocations: 1.281 kB / 0.6479 GB, free: 103.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/1.192, allocations: 5.877 MB / 0.6536 GB, free: 102.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00261/1.195, allocations: 0.6383 MB / 0.6542 GB, free: 102.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005472/1.195, allocations: 29.86 kB / 0.6543 GB, free: 102.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/1.197, allocations: 94.19 kB / 0.6543 GB, free: 102.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003183/1.197, allocations: 111.3 kB / 0.6545 GB, free: 102.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/1.197, allocations: 51.72 kB / 0.6545 GB, free: 102.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005788/1.203, allocations: 2.636 MB / 0.6571 GB, free: 102.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.41e-07/1.203, allocations: 0 / 0.6571 GB, free: 102.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008011/1.211, allocations: 0.9719 MB / 0.658 GB, free: 102.3 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 (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.0006405/1.212, allocations: 185.7 kB / 0.6582 GB, free: 102.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01075/1.223, allocations: 4.984 MB / 0.6631 GB, free: 102.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/1.223, allocations: 4 kB / 0.6631 GB, free: 102.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002429/1.225, allocations: 1.556 MB / 0.6646 GB, free: 102 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/1.228, allocations: 396.7 kB / 0.665 GB, free: 101.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01697/1.245, allocations: 10.63 MB / 0.6754 GB, free: 97.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003242/1.248, allocations: 3.327 MB / 0.6786 GB, free: 96.79 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004365/1.252, allocations: 1.9 MB / 0.6805 GB, free: 96.63 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006326/1.253, allocations: 267.9 kB / 0.6807 GB, free: 96.62 MB / 494.1 MB Notification: Performance of SimCode: time 1.092e-06/1.253, allocations: 0 / 0.6807 GB, free: 96.62 MB / 494.1 MB Notification: Performance of Templates: time 0.05901/1.312, allocations: 35.27 MB / 0.7152 GB, free: 63.79 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) Environment - environmentSimulation: