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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001624/0.001624, allocations: 182.5 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.386/1.386, allocations: 194.3 MB / 207.5 MB, free: 3.449 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001542/0.001542, allocations: 108.6 kB / 252.6 MB, free: 4.777 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2037/0.2037, allocations: 39.94 MB / 337.5 MB, free: 492 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.389e-05/3.391e-05, allocations: 0 / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 54.85 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4492/0.5625, allocations: 101.9 MB / 0.544 GB, free: 5.941 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.5628, allocations: 78.45 kB / 0.5441 GB, free: 5.902 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.213/0.7759, allocations: 84.03 MB / 0.6261 GB, free: 9.469 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.776, allocations: 0 / 0.6261 GB, free: 9.469 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001866/0.7761, allocations: 80 kB / 0.6262 GB, free: 9.391 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.01931/0.7955, allocations: 4.49 MB / 0.6306 GB, free: 4.84 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/0.7956, allocations: 15.97 kB / 0.6306 GB, free: 4.824 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01081/0.8064, allocations: 2.213 MB / 0.6328 GB, free: 2.602 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0139/0.8203, allocations: 4.5 MB / 0.6372 GB, free: 14.04 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003279/0.8207, allocations: 316.4 kB / 0.6375 GB, free: 13.72 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002154/0.8229, allocations: 427.8 kB / 0.6379 GB, free: 13.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02488/0.8478, allocations: 10.66 MB / 0.6483 GB, free: 1.633 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002092/0.848, allocations: 63.39 kB / 0.6483 GB, free: 1.57 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008855/0.8489, allocations: 211.9 kB / 0.6485 GB, free: 1.363 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001682/0.8506, allocations: 1.007 MB / 0.6495 GB, free: 364 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02125/0.8719, allocations: 8.893 MB / 0.6582 GB, free: 7.438 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4001/1.272, allocations: 47.41 MB / 0.7045 GB, free: 73.94 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/1.282, allocations: 3.566 MB / 0.708 GB, free: 73.27 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002186/1.285, allocations: 1.802 MB / 0.7098 GB, free: 73.24 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00718/1.292, allocations: 4.742 MB / 0.7144 GB, free: 71.6 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/1.292, allocations: 58.53 kB / 0.7144 GB, free: 71.56 MB / 474.7 MB Notification: Performance of pre-optimization done (n=142): time 3.977e-06/1.292, allocations: 0 / 0.7144 GB, free: 71.56 MB / 474.7 MB Notification: Performance of matching and sorting (n=148): time 0.02142/1.313, allocations: 9.883 MB / 0.7241 GB, free: 68.94 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/1.313, allocations: 144.4 kB / 0.7242 GB, free: 68.78 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005491/1.319, allocations: 3.59 MB / 0.7277 GB, free: 68.39 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003785/1.319, allocations: 44.61 kB / 0.7278 GB, free: 68.36 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001834/1.321, allocations: 3.135 MB / 0.7308 GB, free: 66.75 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007086/1.322, allocations: 0.5952 MB / 0.7314 GB, free: 66.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/1.322, allocations: 114.9 kB / 0.7315 GB, free: 66.43 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00026/1.322, allocations: 0.5478 MB / 0.7321 GB, free: 66.11 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002417/1.325, allocations: 1.895 MB / 0.7339 GB, free: 65.86 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004023/1.329, allocations: 5.556 MB / 0.7393 GB, free: 60.27 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003923/1.333, allocations: 3.218 MB / 0.7425 GB, free: 59.39 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.056e-05/1.333, allocations: 38.03 kB / 0.7425 GB, free: 59.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.0123/1.345, allocations: 7.91 MB / 0.7502 GB, free: 57.01 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.307e-05/1.345, allocations: 61.81 kB / 0.7503 GB, free: 57.01 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000138/1.345, allocations: 130.2 kB / 0.7504 GB, free: 57.01 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002099/1.348, allocations: 0.9063 MB / 0.7513 GB, free: 56.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004204/1.352, allocations: 1.351 MB / 0.7526 GB, free: 56.71 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005142/1.357, allocations: 4.777 MB / 0.7573 GB, free: 54.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004994/1.362, allocations: 319.9 kB / 0.7576 GB, free: 54.01 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001188/1.363, allocations: 366.5 kB / 0.758 GB, free: 53.96 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * 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 (711): * Single equations (assignments): 707 * 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.001685/1.365, allocations: 0.5564 MB / 0.7585 GB, free: 53.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001/1.366, allocations: 342.5 kB / 0.7588 GB, free: 53.31 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006271/1.372, allocations: 2.825 MB / 0.7616 GB, free: 52.35 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.28e-05/1.372, allocations: 16.81 kB / 0.7616 GB, free: 52.35 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-05/1.372, allocations: 4.219 kB / 0.7616 GB, free: 52.35 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.657e-05/1.372, allocations: 5.141 kB / 0.7616 GB, free: 52.35 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/1.389, allocations: 7.102 MB / 0.7685 GB, free: 49.85 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.058e-05/1.389, allocations: 3.25 kB / 0.7685 GB, free: 49.85 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/1.39, allocations: 244.5 kB / 0.7688 GB, free: 49.83 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001888/1.392, allocations: 0.7022 MB / 0.7695 GB, free: 49.71 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002303/1.392, allocations: 29.94 kB / 0.7695 GB, free: 49.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004675/1.397, allocations: 4.339 MB / 0.7737 GB, free: 47.23 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.397, allocations: 0 / 0.7737 GB, free: 47.23 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007364/1.404, allocations: 5.133 MB / 0.7787 GB, free: 43.77 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001773/1.406, allocations: 0.6176 MB / 0.7793 GB, free: 43.18 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009081/1.407, allocations: 24.55 kB / 0.7794 GB, free: 43.16 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001924/1.409, allocations: 96.47 kB / 0.7795 GB, free: 43.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002891/1.409, allocations: 84.83 kB / 0.7795 GB, free: 43.05 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/1.41, allocations: 44.33 kB / 0.7796 GB, free: 43.01 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005048/1.415, allocations: 2.496 MB / 0.782 GB, free: 40.78 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.415, allocations: 0 / 0.782 GB, free: 40.78 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006387/1.421, allocations: 0.9495 MB / 0.7829 GB, free: 39.84 MB / 474.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 (117): * Single equations (assignments): 113 * 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.0007148/1.422, allocations: 161.2 kB / 0.7831 GB, free: 39.68 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007565/1.429, allocations: 4.591 MB / 0.7876 GB, free: 35.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.429, allocations: 8.062 kB / 0.7876 GB, free: 35.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00186/1.431, allocations: 1.35 MB / 0.7889 GB, free: 34.27 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002689/1.434, allocations: 390.9 kB / 0.7893 GB, free: 33.94 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01572/1.45, allocations: 7.173 MB / 0.7963 GB, free: 27.55 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004727/1.454, allocations: 3.317 MB / 0.7995 GB, free: 25.03 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004888/1.459, allocations: 1.829 MB / 0.8013 GB, free: 23.87 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009645/1.46, allocations: 237.9 kB / 0.8015 GB, free: 23.64 MB / 474.7 MB Notification: Performance of SimCode: time 2.024e-06/1.46, allocations: 0 / 0.8015 GB, free: 23.64 MB / 474.7 MB Notification: Performance of Templates: time 0.06103/1.521, allocations: 32.72 MB / 0.8335 GB, free: 10.68 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (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)